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 200901120201) VM: Java HotSpot(TM) Server VM, 1.5.0_14-b03, Java(TM) 2 Runtime Environment, Standard Edition, 1.5.0_14-b03 OS: Windows XP, 5.1, x86 User Comments: kaa: 1. opned Core.ide project 2. install/reload in dev ide 3. cancel the process Stacktrace: java.lang.ClassCastException: org.netbeans.modules.profiler.NetBeansProfiler at org.netbeans.modules.profiler.NetBeansProfiler.getDefaultNB(NetBeansProfiler.java:623) at org.netbeans.modules.profiler.ppoints.ProfilingPointsManager$2.run(ProfilingPointsManager.java:340) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:573) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1005)
Created attachment 75836 [details] stacktrace
According to jglick: "...module reloading is generally not very reliable. If it works, great, if not, don't use it: shut down the tested platform, then F6 to rebuild the module and restart." It seems that the profiler class is being loaded by 2 different classloaders. The workaround would be not to use install/reload or disable profiler and hope no other module will have such problems.