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 238399 - NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.assembly.Disassembly.close
Summary: NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.as...
Status: RESOLVED FIXED
Alias: None
Product: cnd
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 8.0
Hardware: All All
: P3 normal (vote)
Assignee: ilia
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-11-15 05:42 UTC by Mingun
Modified: 2014-04-24 02:14 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 205281


Attachments
stacktrace (1.48 KB, text/plain)
2013-11-15 05:42 UTC, Mingun
Details
Gdb Log (41.61 KB, text/plain)
2013-11-15 05:44 UTC, Mingun
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Mingun 2013-11-15 05:42:50 UTC
This bug was originally marked as duplicate of bug 226045, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE Dev (Build 201311130002)
VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18
OS: Linux

User Comments:
Mingun: On C++ project select in context menu "Debug". After debugging completed this exception occurs.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.cnd.debugger.common2.debugger.assembly.Disassembly.close(Disassembly.java:220)
   at org.netbeans.modules.cnd.debugger.common2.debugger.NativeDebuggerImpl.preKill(NativeDebuggerImpl.java:1140)
   at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.kill(GdbDebuggerImpl.java:623)
   at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.postKill(GdbDebuggerImpl.java:698)
   at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.noteProcGone(GdbDebuggerImpl.java:1595)
   at org.netbeans.modules.cnd.debugger.gdb2.GdbDebuggerImpl.genericStoppedWithSrc(GdbDebuggerImpl.java:3175)
Comment 1 Mingun 2013-11-15 05:42:52 UTC
Created attachment 142205 [details]
stacktrace
Comment 2 Mingun 2013-11-15 05:44:36 UTC
Created attachment 142206 [details]
Gdb Log
Comment 3 ilia 2014-04-11 07:26:47 UTC
There were gdb module infrastructure improvements since this issue appeared, so it could be fixed during this process. 

I added more logging, so in case of this exception will occur again I'll take a look at it with more info.
Comment 4 Quality Engineering 2014-04-18 02:41:11 UTC
Integrated into 'main-silver', will be available in build *201404180001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/e1e0d06d9408
User: Ilia Gromov <ilia@netbeans.org>
Log: fixed Bug #238399 - NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.assembly.Disassembly.close
Comment 5 Quality Engineering 2014-04-24 02:14:54 UTC
Integrated into 'releases/release80', will be available in build *201404240045* or newer. Wait for official and publicly available build.

Changeset: http://hg.netbeans.org/releases/rev/144a7d35019e
User: Ilia Gromov <ilia@netbeans.org>
Log: fixed Bug #238399 - NullPointerException at org.netbeans.modules.cnd.debugger.common2.debugger.assembly.Disassembly.close
(transplanted from e1e0d06d94089d9abef3da2434121a8ebab0eeaf)