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 217579 - CNFE: org.netbeans.modules.debugger.jpda.visual.JavaComponentInfo$Stack on uninstallation
Summary: CNFE: org.netbeans.modules.debugger.jpda.visual.JavaComponentInfo$Stack on un...
Status: RESOLVED WORKSFORME
Alias: None
Product: java
Classification: Unclassified
Component: JUnit (show other bugs)
Version: 7.3
Hardware: All All
: P4 normal (vote)
Assignee: Theofanis Oikonomou
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-08-29 12:56 UTC by Maksim Khramov
Modified: 2015-02-04 03:29 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 191947


Attachments
stacktrace (5.46 KB, text/plain)
2012-08-29 12:56 UTC, Maksim Khramov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Maksim Khramov 2012-08-29 12:56:29 UTC
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)
Comment 1 Maksim Khramov 2012-08-29 12:56:32 UTC
Created attachment 123701 [details]
stacktrace
Comment 2 Jaroslav Tulach 2012-10-22 09:13:13 UTC
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.
Comment 3 Martin Entlicher 2012-10-22 12:39:03 UTC
Deactivation of JUnit deactivates java.kit? Why? And whan java.kit is deactivated, what does it mean for all other Java-related modules?
Comment 4 Martin Entlicher 2012-10-22 12:43:24 UTC
Furthemore, IMHO this is a defect in the Class class, because Class.getDeclaredMethods0() throws ClassNotFoundException, but does not declare it.
Comment 5 Martin Entlicher 2012-10-22 12:44:35 UTC
Due to that defect, I'm not able to add a catch for ClassNotFoundException!
Comment 6 Quality Engineering 2015-02-04 03:29:26 UTC
Reported for 7.3.x or earlier, no new info since then -> closing as worksforme, please reopen in case you see it.