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 171740 - NullPointerException at com.sun.tools.debugger.dbxgui.debugger.DebuggerManager.debuggerType
Summary: NullPointerException at com.sun.tools.debugger.dbxgui.debugger.DebuggerManage...
Status: RESOLVED FIXED
Alias: None
Product: third-party
Classification: Unclassified
Component: DBX-Gui (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Egor Ushakov
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-09-08 17:03 UTC by Egor Ushakov
Modified: 2009-10-05 15:10 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 158076


Attachments
stacktrace (2.35 KB, text/plain)
2009-09-08 17:03 UTC, Egor Ushakov
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Egor Ushakov 2009-09-08 17:03:11 UTC
Build: NetBeans IDE Dev (Build 090908)
VM: Java HotSpot(TM) Server VM, 14.1-b02, Java(TM) SE Runtime Environment, 1.6.0_15-b03
OS: SunOS, 5.11, x86

User Comments:
gorrus: finished dbx session from the sessions view



Stacktrace: 
java.lang.NullPointerException
        at com.sun.tools.debugger.dbxgui.debugger.DebuggerManager.debuggerType(DebuggerManager.java:798)
        at com.sun.tools.debugger.dbxgui.debugger.actions.RerunAction.update(RerunAction.java:105)
        at com.sun.tools.debugger.dbxgui.debugger.ActionEnabler.update(ActionEnabler.java:71)
        at com.sun.tools.debugger.dbxgui.debugger.NativeDebuggerImpl.updateActions(NativeDebuggerImpl.java:271)
        at com.sun.tools.debugger.dbxgui.debugger.NativeDebuggerImpl.stateSetRunning(NativeDebuggerImpl.java:309)
        at com.sun.tools.debugger.dbxgui.debugger.dbx.Dbx.proc_gone(Dbx.java:1098)
Comment 1 Egor Ushakov 2009-09-08 17:03:33 UTC
Created attachment 87302 [details]
stacktrace
Comment 2 Egor Ushakov 2009-09-22 16:23:09 UTC
steps to reproduce:
- create two debugger sessions (gdb and dbx)
- finish dbx session from the sessions view
Comment 3 Egor Ushakov 2009-09-22 16:28:01 UTC
fixed in:
http://elif.russia.sun.com/hg/toolshg/rev/c92ba581eb86
Comment 4 Egor Ushakov 2009-09-23 11:52:54 UTC
fixed in cnd-main:
http://hg.netbeans.org/cnd-main/rev/1735565e9a3a
Comment 5 Quality Engineering 2009-09-25 09:15:25 UTC
Integrated into 'main-golden', will be available in build *200909241442* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1735565e9a3a
User: Egor Ushakov <gorrus@netbeans.org>
Log: fixed IZ#171740 (NPE in DebuggerManager.debuggerType)
Comment 6 Vladimir Voskresensky 2009-10-05 13:34:16 UTC
move dbx related issues into dbx-gui component