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.
I was using NetBeans instance A to debug NetBeans instance B. B was started at the console with server=y,suspend=n. I attached A while B was starting up. I detached A while B was still starting up (ie my system was a bit sluggish). At the point where I detached, the debugger UI had been displayed (windows, breakpoints, etc.), but the "attaching debugger" progress display was still active. I immediately received this exception in the debugger instance of NetBeans: java.lang.NullPointerException at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.setRunning(JPDADebuggerImpl.java:788) at org.netbeans.modules.debugger.jpda.actions.StartActionProvider.doStartDebugger(StartActionProvider.java:162) at org.netbeans.modules.debugger.jpda.actions.StartActionProvider.access$100(StartActionProvider.java:45) at org.netbeans.modules.debugger.jpda.actions.StartActionProvider$1.run(StartActionProvider.java:130) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:493) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:926)
It's caused by the fact that the debugger has finished before it fully started. There need to be some checks or synchronizations....
This is a duplicate of issue #88247. It's already fixed in trunk. *** This issue has been marked as a duplicate of 88247 ***
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.