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.
Profiler 070321 NetBeans IDE Dev (Build 200703201900) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 Steps to reproduce: - Insert some profiling points - Switch between different windows - RESULT: The following exception is often thrown: java.lang.IllegalStateException: [Winsys] TopComponent org.netbeans.modules.java.JavaDataObject$JavaEditor[Certificate.java [r/o],0,0,766x377,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=256,maximumSize=,minimumSize=,preferredSize=] throws runtime exception from its componentShowing() method. Repair it! at org.openide.windows.WindowManager.componentShowing(WindowManager.java:322) ... Caused by: java.lang.NullPointerException at org.netbeans.modules.profiler.ppoints.ProfilingPointsManager.documentOpened(ProfilingPointsManager.java:331)
Created attachment 39773 [details] Exception
I cannot reproduce it on todays build. Please provide more detailed steps how to reproduce it.
Try the following steps: - Insert three different profiling points in Anagram Game - Close all editor windows - Open attached snapshot - Try Go To Source action for different classes - RESULT: When new editor window is opened the exception is thrown
Created attachment 40615 [details] CPU snapshot
Created attachment 40616 [details] Exception
fixed in trunk
Still reproducible with Profiler 070425 NetBeans IDE Dev (Build 070426) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251 The stack trace has been changed slightly: java.lang.NullPointerException at org.netbeans.modules.profiler.ppoints.ProfilingPointsManager.documentOpened(ProfilingPointsManager.java:341) at org.netbeans.modules.profiler.ppoints.ProfilingPointsAnnotationProvider.annotate(ProfilingPointsAnnotationProvider.java:22) at org.openide.text.CloneableEditorSupport.ensureAnnotationsLoaded(CloneableEditorSupport.java:340) at org.openide.text.CloneableEditor.initialize(CloneableEditor.java:251) at org.openide.text.CloneableEditor.componentShowing(CloneableEditor.java:149) at org.openide.windows.WindowManager.componentShowing(WindowManager.java:320) Caused: java.lang.IllegalStateException: [Winsys] TopComponent org.netbeans.modules.java.JavaDataObject$JavaEditor[Bidi.java [r/o],0,0,902x462,invalid,layout=java.awt.BorderLayout,alignmentX=0.0,alignmentY=0.0,border=,flags=256,maximumSize=,minimumSize=,preferredSize=] throws runtime exception from its componentShowing() method. Repair it! at org.openide.windows.WindowManager.componentShowing(WindowManager.java:322) ...
Created attachment 41800 [details] Exception
fixed in trunk. please, be noticed that since M9 has already been branched and the issue is not a showstopper it can't be incoroporated into JavaOne preview
Verified with Profiler 070504 NetBeans IDE Dev (Build 070507) 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 Windows XP version 5.1 running on x86 ru_RU (nb); Cp1251