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 232118 - ClassNotFoundException: org.netbeans.modules.cnd.api.project.NativeFileItemSet
Summary: ClassNotFoundException: org.netbeans.modules.cnd.api.project.NativeFileItemSet
Status: RESOLVED INVALID
Alias: None
Product: platform
Classification: Unclassified
Component: Module System (show other bugs)
Version: 7.4
Hardware: All All
: P2 normal (vote)
Assignee: Jaroslav Tulach
URL:
Keywords:
Depends on: 232456
Blocks:
  Show dependency tree
 
Reported: 2013-07-01 22:18 UTC by MackSix
Modified: 2013-07-09 17:45 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 201834


Attachments
stacktrace (4.02 KB, text/plain)
2013-07-01 22:18 UTC, MackSix
Details

Note You need to log in before you can comment on or make changes to this bug.
Description MackSix 2013-07-01 22:18:19 UTC
Build: NetBeans IDE Dev (Build 201307011244)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.25-b01, Java(TM) SE Runtime Environment, 1.7.0_25-b16
OS: Windows 7

User Comments:
MackSix: Resizing a JPanel horizontally with mouse in GUI Designer.




Stacktrace: 
java.lang.ClassNotFoundException: org.netbeans.modules.cnd.api.project.NativeFileItemSet
   at java.net.URLClassLoader$1.run(URLClassLoader.java:366)
   at java.net.URLClassLoader$1.run(URLClassLoader.java:355)
   at java.security.AccessController.doPrivileged(AccessController.java:0)
   at java.net.URLClassLoader.findClass(URLClassLoader.java:354)
   at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
   at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
Comment 1 MackSix 2013-07-01 22:18:20 UTC
Created attachment 136569 [details]
stacktrace
Comment 2 Jaroslav Tulach 2013-07-08 15:54:21 UTC
Caused: java.lang.NoClassDefFoundError: org/netbeans/modules/cnd/api/project/NativeFileItemSet
	at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport$ModifiedObjectsChangeListener.editStart(ModelSupport.java:560)
	at org.netbeans.modules.cnd.modelimpl.platform.ModelSupport$ModifiedObjectsChangeListener.stateChanged(ModelSupport.java:660)

Probably needs some evalution by CND guys, I don't see anything wrong in module system from the messages recorded at

http://statistics.netbeans.org/exceptions/messageslog?id=679271
Comment 3 Vladimir Voskresensky 2013-07-09 06:24:58 UTC
Message log shows that 
DataObject$ModifiedRegistry starts to fire change events.

And just before that all cnd modules are turned off

And after DataObject$ModifiedRegistry modify we see that 
module system has problems renaming all-layers.dat and then report about own activity as
Long time unused modules found, disabling.
Most probably turning off and change events are done in parallel, so classes are partialy unloaded.

Any ideas what can be done on CND side?
Comment 4 Jaroslav Tulach 2013-07-09 17:08:14 UTC
But we don't support turning modules off in running IDE! Reporter, what action could trigger turning off the C/C++ support?
Comment 5 Jaroslav Tulach 2013-07-09 17:11:15 UTC
Maybe this is somehow related to bug 232456? Maybe the ISE causes disablement of the modules!?
Comment 6 MackSix 2013-07-09 17:34:26 UTC
Check this out too:

https://netbeans.org/bugzilla/show_bug.cgi?id=232448
Comment 7 MackSix 2013-07-09 17:45:01 UTC
I added this related URL to bug 232456.

https://netbeans.org/bugzilla/show_bug.cgi?id=232367