This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 268476

Summary: NoClassDefFoundError: org/netbeans/modules/javame/profiler/j2me/J2MEProjectProfilingSupportProvider$J2MEAntProjectSupportProvider
Product: javame Reporter: kanafa
Component: ProjectAssignee: Roman Svitanic <rsvitanic>
Status: NEW ---    
Severity: normal CC: ayaniaNB, dominikm86, hubaz, jimmykhuang, masalem, savvas.andreas
Priority: P1    
Version: 8.2   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 226707
Attachments: stacktrace

Description kanafa 2016-10-12 09:58:46 UTC
Build: NetBeans IDE 8.2 (Build 201609300101)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.101-b13, Java(TM) SE Runtime Environment, 1.8.0_101-b13
OS: Windows 7

User Comments:
kanafa: Installed all java for first time NetBeans use.
Installed SKD for Java ME.
Try to build example programs. This lead to no reaction of NetBeans. Project is not build. Project is not found on 'recent projects' when NetBeans started again.




Stacktrace: 
java.lang.NoClassDefFoundError: org/netbeans/modules/javame/profiler/j2me/J2MEProjectProfilingSupportProvider$J2MEAntProjectSupportProvider
   at org.netbeans.modules.javame.profiler.j2me.MESDKProfilerFactory.createAntProjectSupportProvider(MESDKProfilerFactory.java:14)
   at org.netbeans.modules.javame.toolbar.MESDKProjectLookupProvider.createAdditionalLookup(MESDKProjectLookupProvider.java:18)
   at org.netbeans.spi.project.support.DelegatingLookupImpl.doDelegate(DelegatingLookupImpl.java:139)
   at org.netbeans.spi.project.support.DelegatingLookupImpl.<init>(DelegatingLookupImpl.java:91)
   at org.netbeans.spi.project.support.LookupProviderSupport.createCompositeLookup(LookupProviderSupport.java:95)
   at org.netbeans.modules.j2me.project.J2MEProject.createLookup(J2MEProject.java:356)
Comment 1 kanafa 2016-10-12 09:58:48 UTC
Created attachment 162461 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-12-13 00:03:47 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=226707
Comment 3 savvas.andreas 2017-01-09 13:44:23 UTC
Just a note to say that I have also stumbled across that very same bug using the following profile:

NetBeans 8.2 (with latest ME plugins)
Oracle JDK 1.8
Java ME 8.3
Ubuntu 14.04 LTS

The NetBeans log file shows the exact same stack trace as already reported.

All other project types can be created fine.

Thanks,
Savvas
Comment 4 savvas.andreas 2017-01-17 20:00:28 UTC
Is anyone aware of any workarounds for this, by any chance?

The same problem also happens when trying to open an existing Java ME project.

Thanks
Comment 5 dominikm86 2017-11-28 19:01:07 UTC
After spending a lot of time uninstalling and installing different versions I realized that the Oracle Java ME SDK 8.3 Plugins says "for NetBeans 8.1". I uninstalled 8.2 and installed 8.1 and so far I am able to open the project which I was not able to do before.
Comment 6 savvas.andreas 2017-11-30 22:21:18 UTC
For some bizarre reason this started working for me too....but that was many months ago so don't really remember what I did to make that work...