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 176998 - ClassNotFoundException: org.netbeans.spi.java.project.support.ui.PackageViewChildren$PackageNode
Summary: ClassNotFoundException: org.netbeans.spi.java.project.support.ui.PackageViewC...
Status: VERIFIED FIXED
Alias: None
Product: python
Classification: Unclassified
Component: Projects (show other bugs)
Version: 6.x
Hardware: All All
: P4 normal (vote)
Assignee: Jenselme
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2009-11-17 07:12 UTC by Liko
Modified: 2015-11-27 22:18 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 162300


Attachments
stacktrace (5.00 KB, text/plain)
2009-11-17 07:12 UTC, Liko
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Liko 2009-11-17 07:12:47 UTC
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)
Comment 1 Liko 2009-11-17 07:12:51 UTC
Created attachment 91174 [details]
stacktrace
Comment 2 Jesse Glick 2009-11-17 08:36:31 UTC
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]
Comment 3 Petr Nejedly 2009-11-19 03:47:43 UTC
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
Comment 4 Petr Nejedly 2009-11-19 08:16:19 UTC
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....
Comment 5 Jenselme 2015-10-02 16:25:41 UTC
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.
Comment 6 Jenselme 2015-11-27 16:50:43 UTC
Presumed fixed in Python .151118 (for IDE 8.1)