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.
This happen in prj40_prototype branch and is due to some incorrect package name in file: projects/ide/src/org/netbeans/modules/projects/ide/resources/layer.xml
Could you please attach whole stacktrace of this CNFE and describe a bit when it occures. Thank you.
I got this stack when trying to add an archive to the Sample project. Relizing the package name is wrong, I just get around for now by editing the mentioned layer.xml. ------------------------------------------------------------ java.lang.ClassNotFoundException: org.netbeans.modules.projects.DefaultContainer at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:141) at java.lang.ClassLoader.loadClass(ClassLoader.java:255) at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:315) at java.lang.Class.forName0(Native Method) at java.lang.Class.forName(Class.java:217) at org.openide.filesystems.ExternalUtil.findClass(ExternalUtil.java:84) at org.openide.filesystems.XMLMapAttr$Attr.methodValue(XMLMapAttr.java:695) at org.openide.filesystems.XMLMapAttr$Attr.getObject(XMLMapAttr.java:654) at org.openide.filesystems.XMLMapAttr$Attr.get(XMLMapAttr.java:474) at org.openide.filesystems.XMLMapAttr$Attr.access$000(XMLMapAttr.java:300) at org.openide.filesystems.XMLMapAttr.getAttribute(XMLMapAttr.java:149) [catch] at org.openide.filesystems.XMLMapAttr.get(XMLMapAttr.java:124) at org.openide.filesystems.XMLFileSystem$FileObjRef.readAttribute(XMLFileSystem.java:850) at org.openide.filesystems.XMLFileSystem$Impl.readAttribute(XMLFileSystem.java:718) at org.openide.filesystems.AbstractFileObject.getAttribute(AbstractFileObject.java:266) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:715) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:685) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:713) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:685) at org.openide.filesystems.MultiFileObject.getAttribute(MultiFileObject.java:614) at org.openide.loaders.InstanceDataObject.storeThroughConvertor(InstanceDataObject.java:1407) at org.openide.loaders.InstanceDataObject.storeSettings(InstanceDataObject.java:318) at org.openide.loaders.InstanceDataObject.access$800(InstanceDataObject.java:67) at org.openide.loaders.InstanceDataObject$Creator.run(InstanceDataObject.java:1374) at org.openide.filesystems.EventControl.runAtomicAction(EventControl.java:89) at org.openide.filesystems.FileSystem.runAtomicAction(FileSystem.java:419) at org.openide.loaders.InstanceDataObject$Creator.createInstanceDataObject(InstanceDataObject.java:1388) at org.openide.loaders.InstanceDataObject.create(InstanceDataObject.java:304) at org.openide.loaders.InstanceDataObject.create(InstanceDataObject.java:280) at org.netbeans.modules.projects.ide.wizards.AddToProjectAction.performAction(AddToProjectAction.java:101) at org.openide.util.actions.NodeAction.performAction(NodeAction.java:179) at org.openide.util.actions.NodeAction.actionPerformed(NodeAction.java:170) at org.netbeans.core.ModuleActions$1.run(ModuleActions.java:100) at org.openide.util.Task.run(Task.java:136) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:603)
It was caused by splitting the project module into projects/core and projects/ide. The package name is fixed in ide/src/org/netbeans/modules/projects/ide/resources/layer.xml new revision: 1.1.2.9 Thanks for report
VERIFIED
As described in http://www.netbeans.org/servlets/ReadMsg?msgId=619519&listName=nbdiscuss the current work on projects prototype has been stopped. Marking issue as CLOSED.