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 200718 - ClassNotFoundException: org.netbeans.lib.profiler.common.Profiler
Summary: ClassNotFoundException: org.netbeans.lib.profiler.common.Profiler
Status: VERIFIED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Tomas Hurka
URL:
Keywords: REGRESSION
: 200697 200705 200719 200723 (view as bug list)
Depends on:
Blocks:
 
Reported: 2011-08-06 08:33 UTC by pavelvesely
Modified: 2011-09-26 11:24 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 180418


Attachments
stacktrace (3.20 KB, text/plain)
2011-08-06 08:33 UTC, pavelvesely
Details
stacktrace (3.12 KB, text/plain)
2011-08-06 08:45 UTC, pavelvesely
Details

Note You need to log in before you can comment on or make changes to this bug.
Description pavelvesely 2011-08-06 08:33:32 UTC
Build: NetBeans IDE Dev (Build nbms-and-javadoc-7655-on-20110805)
VM: Java HotSpot(TM) Client VM, 20.1-b02, Java(TM) SE Runtime Environment, 1.6.0_26-b03
OS: Windows Vista

User Comments:
GUEST: closing netbeans

lefty298: Pressed X to exit app.

GUEST: trying to close netbeans for the third time, using xkill to terminate

GUEST: closing netbeans, again




Stacktrace: 
java.lang.InternalError: Should never happen
   at org.netbeans.lib.profiler.common.Profiler.getDefault(Profiler.java:125)
   at org.netbeans.modules.profiler.NetBeansProfiler.getDefaultNB(NetBeansProfiler.java:654)
   at org.netbeans.modules.profiler.NetBeansProfiler.isInitialized(NetBeansProfiler.java:660)
   at org.netbeans.modules.profiler.ProfilerModule.closing(ProfilerModule.java:83)
   at org.netbeans.core.startup.NbInstaller.closing(NbInstaller.java:667)
   at org.netbeans.ModuleManager.shutDown(ModuleManager.java:1740)
Comment 1 pavelvesely 2011-08-06 08:33:36 UTC
Created attachment 109824 [details]
stacktrace
Comment 2 pavelvesely 2011-08-06 08:45:14 UTC
Created attachment 109825 [details]
stacktrace
Comment 3 Tomas Hurka 2011-08-06 09:07:47 UTC
The real problem is here:

java.lang.ClassNotFoundException: org.netbeans.lib.profiler.common.Profiler
	at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:306)
	at sun.misc.Launcher$AppClassLoader.loadClass(Launcher.java:301)
	at java.lang.ClassLoader.loadClass(ClassLoader.java:247)
	at org.netbeans.ProxyClassLoader.loadClass(ProxyClassLoader.java:262)
Comment 4 Tomas Hurka 2011-08-06 09:09:40 UTC
It is caused by updating old daily build from plugin center. The workaround is to download latest daily build.
Comment 5 Tomas Hurka 2011-08-06 09:21:02 UTC
The messages.log shows that the following modules:

	org.netbeans.lib.profiler.common/1 [1.15 201108040600]
	org.netbeans.lib.profiler/1 [1.11 201108040600]
	org.netbeans.lib.profiler.ui/1 [1.14 201108040600]

were not updated, while other modules are from
nbms-and-javadoc-7651-on-20110805
The problem should be fixed by the following changesets:

http://hg.netbeans.org/main-silver/rev/4a89e9541697
http://hg.netbeans.org/main-silver/rev/1c061c501b18
http://hg.netbeans.org/main-silver/rev/1ff2983273df
Comment 6 Tomas Hurka 2011-08-06 09:25:56 UTC
*** Bug 200719 has been marked as a duplicate of this bug. ***
Comment 7 Tomas Hurka 2011-08-07 09:05:43 UTC
*** Bug 200723 has been marked as a duplicate of this bug. ***
Comment 8 Tomas Hurka 2011-08-08 17:40:26 UTC
*** Bug 200705 has been marked as a duplicate of this bug. ***
Comment 9 Tomas Hurka 2011-08-15 13:18:06 UTC
*** Bug 200697 has been marked as a duplicate of this bug. ***
Comment 10 Petr Cyhelsky 2011-09-26 11:24:04 UTC
unable to reproduce on:
Product Version: NetBeans IDE 7.1 Beta (Build 201109252201)
Java: 1.7.0; Java HotSpot(TM) 64-Bit Server VM 21.0-b18
System: Linux version 2.6.38-11-generic running on amd64; UTF-8; en_US (nb)