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 162510

Summary: ClassNotFoundException: org.netbeans.junit.NbModuleLogHandler
Product: ide Reporter: Oleg Khokhlov <ovk>
Component: Features On DemandAssignee: Jaroslav Tulach <jtulach>
Status: RESOLVED INVALID    
Severity: blocker CC: issues, jglick
Priority: P3 Keywords: ERGONOMICS
Version: 6.x   
Hardware: All   
OS: All   
URL: http://statistics.netbeans.org/exceptions/detail.do?id=149405
Issue Type: DEFECT Exception Reporter: 149405
Attachments: stacktrace

Description Oleg Khokhlov 2009-04-13 14:55:44 UTC
Build: NetBeans IDE Dev (Build 200904120201)
VM: Java HotSpot(TM) Client VM, 1.5.0_15-b04, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_15-b04
OS: SunOS, 5.10, sparc

User Comments:
ovk: activated nbmodule development in new IDE



Stacktrace: 
java.lang.ClassNotFoundException: org.netbeans.junit.NbModuleLogHandler starting from SystemClassLoader[351 modules] with possible defining loaders [ModuleCL@87ad67[org.netbeans.modules.nbjunit]] and declared parents [ModuleCL@1388e5e[org.netbeans.modules.versioning], ModuleCL@ef22c9[org.netbeans.modules.profiler.j2se], ModuleCL@14fd55e[org.netbeans.modules.profiler.j2ee.weblogic], ModuleCL@1f7abae[org.netbeans.modules.localhistory], ModuleCL@15a2dc4[org.netbeans.modules.properties], ModuleCL@ac4d3b[org.netbeans.modules.xml.schema.completion], ModuleCL@17d7c7f[org.netbeans.lib.cvsclient], ModuleCL@1b0889a[org.netbeans.modules.editor.structure], ModuleCL@996b65[org.netbeans.modules.ide.branding], ModuleCL@fd899[org.netbeans.api.debugger.jpda], ...336 more]
        at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:259)
        at java.lang.ClassLoader.loadClass(ClassLoader.java:251)
        at java.lang.ClassLoader.loadClassInternal(ClassLoader.java:319)
        at java.lang.Class.forName0(Class.java:0)
        at java.lang.Class.forName(Class.java:242)
        at org.openide.util.lookup.MetaInfServicesLookup.search(MetaInfServicesLookup.java:266)
Comment 1 Oleg Khokhlov 2009-04-13 14:55:49 UTC
Created attachment 79979 [details]
stacktrace
Comment 2 Jesse Glick 2009-05-04 23:21:23 UTC
The nbjunit module is supposed to be a disabled autoload. It is shipped in the harness cluster just for use from tests;
should never actually be turned on. Sounds like an ergonomics issue.
Comment 3 Jaroslav Tulach 2009-05-05 14:38:47 UTC
Oleg, where the nbjunit module comes from? Look at the messages.log:
	org.netbeans.libs.junit4 [1.4 200904120201]
	org.netbeans.modules.nbjunit/1 [1.58 090412]
It is definitely not from the same build. It is some kind manually built/downloaded module. Probably also incorrectly 
built module.