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 77194 - NPE disconnecting the debugger
Summary: NPE disconnecting the debugger
Status: CLOSED DUPLICATE of bug 88247
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 5.x
Hardware: All All
: P4 blocker (vote)
Assignee: issues@debugger
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-06-01 01:54 UTC by _ pcw
Modified: 2010-04-29 09:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description _ pcw 2006-06-01 01:54:15 UTC
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)
Comment 1 Martin Entlicher 2006-06-28 13:29:14 UTC
It's caused by the fact that the debugger has finished before it fully started.
There need to be some checks or synchronizations....
Comment 2 Martin Entlicher 2007-01-08 16:10:16 UTC
This is a duplicate of issue #88247. It's already fixed in trunk.

*** This issue has been marked as a duplicate of 88247 ***
Comment 3 Quality Engineering 2010-04-29 09:29:10 UTC
Verified ... and Closing all issues resolved into NetBeans 6.7 and earlier.