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.
Build: NetBeans IDE Dev (Build 200911161401) VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Windows XP, 5.1, x86 User Comments: Liko: Created new project and open the __init__.py file in <Top Level> package od Django lib directory. Stacktrace: java.lang.ClassNotFoundException: org.netbeans.spi.java.project.support.ui.PackageViewChildren$PackageNode at java.net.URLClassLoader$1.run(URLClassLoader.java:0) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.net.URLClassLoader.findClass(URLClassLoader.java:0) at java.lang.ClassLoader.loadClass(ClassLoader.java:0) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:0) at java.lang.ClassLoader.loadClass(ClassLoader.java:0)
Created attachment 91174 [details] stacktrace
ClassNotFoundException: org.netbeans.spi.java.project.support.ui.PackageViewChildren$PackageNode starting from ModuleCL@871e65[org.netbeans.modules.python.project] with possible defining loaders null and declared parents [ModuleCL@15118a7[org.netbeans.modules.projectapi], ModuleCL@1a5e65f[org.netbeans.modules.python.debugger], ModuleCL@12ca580[org.jdesktop.layout], org.netbeans.MainImpl$BootClassLoader@df8f5e, ModuleCL@1d81ec9[org.openide.nodes], ModuleCL@fc9d2b[org.netbeans.modules.python.core], ModuleCL@19c9f16[org.openide.awt], ModuleCL@8d3d62[org.openidex.util], ModuleCL@c3e967[org.openide.actions], ModuleCL@1f1e39b[org.netbeans.modules.python.editor], ...10 more]
This is clearly a combination of Features on Demand and the fact that the python.project module doesn't declare a dependency on the particular java module it borrows the class from: http://hg.netbeans.org/main/file/8b6d119843cd/python.project/src/org/netbeans/modules/python/project/ui/PackageViewChildren.java#l126
Ah, now I see. It is actually no missing dependency but rather wrong class being requested. Python seems to have its own copy of PackageNode....
Cannot reproduce with either ant or setuptools project. I guess this has been fix some time ago. Downgrading priority to P4. This should be close with the next release of nbpython.
Presumed fixed in Python .151118 (for IDE 8.1)