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 201208290001) VM: Java HotSpot(TM) 64-Bit Server VM, 23.1-b03, Java(TM) SE Runtime Environment, 1.7.0_05-b30 OS: Windows 7 User Comments: mkhramov: Once I Deactivated JUnit tests module via Module Manager I see this exception Stacktrace: java.lang.ClassNotFoundException: org.netbeans.modules.debugger.jpda.visual.JavaComponentInfo$Stack at java.net.URLClassLoader$1.run(URLClassLoader.java:366) at java.net.URLClassLoader$1.run(URLClassLoader.java:355) at java.security.AccessController.doPrivileged(AccessController.java:0) at java.net.URLClassLoader.findClass(URLClassLoader.java:354) at java.lang.ClassLoader.loadClass(ClassLoader.java:423) at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:308)
Created attachment 123701 [details] stacktrace
Right, the log seems to indicate use of org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean.doDisable(ModuleBean.java:736) org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean.access$900(ModuleBean.java:363) org.netbeans.modules.modulemanager.ModuleBean$AllModulesBean$Updater.run(ModuleBean.java:621) that is something that does not apply to production version. Up to Martin to decide whether he wants to do something with it.
Deactivation of JUnit deactivates java.kit? Why? And whan java.kit is deactivated, what does it mean for all other Java-related modules?
Furthemore, IMHO this is a defect in the Class class, because Class.getDeclaredMethods0() throws ClassNotFoundException, but does not declare it.
Due to that defect, I'm not able to add a catch for ClassNotFoundException!
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.