Eclipse IDF install appears ok but Create IDF Project does nothing

wpkeenan
Posts: 5
Joined: Mon Dec 25, 2023 11:46 am

Eclipse IDF install appears ok but Create IDF Project does nothing

Postby wpkeenan » Mon Dec 25, 2023 10:16 pm

Hi All,
Thanks in advance for any help.
I have installed eclipse and espressif idf on windows 10 Home. All appears ok, a list of installed tools looks good, but when i select to create a new idf project it is like I didn't even click the button.
I ran consolelog and got the following:

!ENTRY org.eclipse.ui 4 0 2023-12-26 09:01:10.671
!MESSAGE Unhandled event loop exception
!STACK 0
java.lang.NoClassDefFoundError: org/eclipse/tools/templates/core/IGenerator
at com.espressif.idf.ui.handlers.NewProjectHandler.execute(NewProjectHandler.java:25)
at com.espressif.idf.ui.wizard.NewIdfProjectMainWizard$1.run(NewIdfProjectMainWizard.java:34)
at org.eclipse.swt.widgets.RunnableLock.run(RunnableLock.java:40)
at org.eclipse.swt.widgets.Synchronizer.runAsyncMessages(Synchronizer.java:132)
at org.eclipse.swt.widgets.Display.runAsyncMessages(Display.java:4046)
at org.eclipse.swt.widgets.Display.readAndDispatch(Display.java:3662)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine$5.run(PartRenderingEngine.java:1155)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.e4.ui.internal.workbench.swt.PartRenderingEngine.run(PartRenderingEngine.java:1046)
at org.eclipse.e4.ui.internal.workbench.E4Workbench.createAndRunUI(E4Workbench.java:155)
at org.eclipse.ui.internal.Workbench.lambda$3(Workbench.java:648)
at org.eclipse.core.databinding.observable.Realm.runWithDefault(Realm.java:342)
at org.eclipse.ui.internal.Workbench.createAndRunWorkbench(Workbench.java:555)
at org.eclipse.ui.PlatformUI.createAndRunWorkbench(PlatformUI.java:173)
at org.eclipse.ui.internal.ide.application.IDEApplication.start(IDEApplication.java:152)
at org.eclipse.equinox.internal.app.EclipseAppHandle.run(EclipseAppHandle.java:208)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.runApplication(EclipseAppLauncher.java:136)
at org.eclipse.core.runtime.internal.adaptor.EclipseAppLauncher.start(EclipseAppLauncher.java:104)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:402)
at org.eclipse.core.runtime.adaptor.EclipseStarter.run(EclipseStarter.java:255)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:77)
at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.base/java.lang.reflect.Method.invoke(Method.java:568)
at org.eclipse.equinox.launcher.Main.invokeFramework(Main.java:651)
at org.eclipse.equinox.launcher.Main.basicRun(Main.java:588)
at org.eclipse.equinox.launcher.Main.run(Main.java:1459)
Caused by: java.lang.ClassNotFoundException: org.eclipse.tools.templates.core.IGenerator cannot be found by com.espressif.idf.ui_1.0.1.202310270725
at org.eclipse.osgi.internal.loader.BundleLoader.generateException(BundleLoader.java:541)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass0(BundleLoader.java:536)
at org.eclipse.osgi.internal.loader.BundleLoader.findClass(BundleLoader.java:416)
at org.eclipse.osgi.internal.loader.ModuleClassLoader.loadClass(ModuleClassLoader.java:168)
at java.base/java.lang.ClassLoader.loadClass(ClassLoader.java:525)
... 27 more

List of installed components is :
Executing C:\Python310\python.exe D:\Espressif\esp-idf-v5.1.2\tools\idf_tools.py list
* xtensa-esp-elf-gdb: GDB for Xtensa
- 12.1_20221002 (recommended, installed)
* riscv32-esp-elf-gdb: GDB for RISC-V
- 12.1_20221002 (recommended, installed)
* xtensa-esp32-elf: Toolchain for Xtensa (ESP32) based on GCC
- esp-12.2.0_20230208 (recommended, installed)
* xtensa-esp32s2-elf: Toolchain for Xtensa (ESP32-S2) based on GCC
- esp-12.2.0_20230208 (recommended, installed)
* xtensa-esp32s3-elf: Toolchain for Xtensa (ESP32-S3) based on GCC
- esp-12.2.0_20230208 (recommended, installed)
* esp-clang: Toolchain for all Espressif chips based on clang (optional)
- 15.0.0-23786128ae (recommended, installed)
* riscv32-esp-elf: Toolchain for 32-bit RISC-V based on GCC
- esp-12.2.0_20230208 (recommended, installed)
* esp32ulp-elf: Toolchain for ESP32 ULP coprocessor
- 2.35_20220830 (recommended, installed)
* cmake: CMake build system
WARNING: tool cmake version 3.16.3 is installed, but has reported version 3.24.0
- 3.24.0 (recommended, installed)
- 3.16.3 (supported)
* openocd-esp32: OpenOCD for ESP32
- v0.12.0-esp32-20230921 (recommended, installed)
* ninja: Ninja build system
- 1.10.2 (recommended, installed)
* idf-exe: IDF wrapper tool for Windows
- 1.0.3 (recommended, installed)
* ccache: Ccache (compiler cache)
- 4.8 (recommended, installed)
* dfu-util: dfu-util (Device Firmware Upgrade Utilities)
- 0.11 (recommended)
* esp-rom-elfs: ESP ROM ELFs
- 20230320 (recommended, installed)
OK

It is my first time with eclipse. Any help would be appreciated.
Thanks
Bill

wpkeenan
Posts: 5
Joined: Mon Dec 25, 2023 11:46 am

Re: Eclipse IDF install appears ok but Create IDF Project does nothing

Postby wpkeenan » Thu Dec 28, 2023 1:30 pm

Hi All,
I found another post that indicated that there is an issue with 5.1.2 relating to No Dialog for IDF Project : No dialog to create an Espressif IDF project after installing esp-idf-v5.1.2 at Eclipse 2023-12 (IEP-1129) #867
I did Help->Check for Updates and did an update and it solved this problem, it seems this must have been solved within the last few days. I don't know who solved it, but to that person, thanks very much. Also the New IDF Project Dialog Box has an issue, there is a drop down list to select the ESP32 device, but the list is empty.
Thanks
Regards
Bill

Who is online

Users browsing this forum: atx823, Bing [Bot], Majestic-12 [Bot] and 232 guests