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.
Appeared in build 200209090100. Exception is thrown during IDE startup. Build 200209060100 with the same xtest works. java.lang.reflect.InvocationTargetException: java.lang.NullPointerException at org.netbeans.core.modules.Module.findExtensionsAndVariants(Module.java:589) at org.netbeans.core.modules.Module.<init>(Module.java:138) at org.netbeans.core.modules.ModuleManager.create(ModuleManager.java:380) at org.netbeans.core.modules.ModuleList.scanDir(ModuleList.java:182) at org.netbeans.core.modules.ModuleList.scan(ModuleList.java:162) at org.netbeans.core.modules.ModuleSystem.scanForNewAndRestore(ModuleSystem.java:257) at org.netbeans.core.NonGui.run(NonGui.java:466) at org.netbeans.core.Main.run(Main.java:237) at org.openide.TopManager.initializeTopManager(TopManager.java:122) at org.openide.TopManager.getDefault(TopManager.java:83) at org.netbeans.xtest.ide.Main.main(Main.java:267) at java.lang.reflect.Method.invoke(Native Method) at org.netbeans.Main.main(Main.java:75)
This is not bug in openidex tests. All tests which use own classloader doesn't work. Bug could be in core.
just saw Jesse fix it today User: jglick Date: 02/09/10 08:14:15 Modified: src/org/netbeans/core/modules Module.java Log: Fixing NPE that was (apparently) causing problems for openidex tests. Revision Changes Path 1.36 +3 -0 core/src/org/netbeans/core/modules/Module.java http://core.netbeans.org/source/browse/core/src/org/netbeans/core/modules/Module.java.diff?r1=1.35&r2=1.36
Ah, didn't even know it was filed already. You could just assign straight to core/modules BTW since the NPE was there. I noticed the problem only after a couple of days - when XTest failed to run the openidex tests, it did not list them in Failed Tests in the results summary! It mentioned that the tests were not run in small print somewhere else on the page. You might want to call attention to such errors more clearly in the results summary.
verified