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 251861 - NullPointerException at org.netbeans.modules.debugger.jpda.models.VariableMirrorTranslator.createValueFromMirror
Summary: NullPointerException at org.netbeans.modules.debugger.jpda.models.VariableMir...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-04-15 15:52 UTC by Martin Entlicher
Modified: 2015-04-22 02:03 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216774


Attachments
stacktrace (5.09 KB, text/plain)
2015-04-15 15:52 UTC, Martin Entlicher
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Martin Entlicher 2015-04-15 15:52:38 UTC
Build: NetBeans IDE Dev (Build 20150409-2183a65cb000)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.60-b10, Java(TM) SE Runtime Environment, 1.8.0_60-ea-b10
OS: Linux

User Comments:
mentlicher: Finishing a debugger session.




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.models.VariableMirrorTranslator.createValueFromMirror(VariableMirrorTranslator.java:499)
   at org.netbeans.modules.debugger.jpda.models.VariableMirrorTranslator.createValueFromMirror(VariableMirrorTranslator.java:441)
   at org.netbeans.modules.debugger.jpda.JPDADebuggerImpl.createMirrorVar(JPDADebuggerImpl.java:2000)
   at org.netbeans.api.debugger.jpda.JPDADebugger.createMirrorVar(JPDADebugger.java:606)
   at org.netbeans.modules.debugger.jpda.js.vars.DebuggerSupport.evaluate(DebuggerSupport.java:241)
   at org.netbeans.modules.debugger.jpda.js.vars.JSEvaluator.evaluateIn(JSEvaluator.java:86)
Comment 1 Martin Entlicher 2015-04-15 15:52:40 UTC
Created attachment 153216 [details]
stacktrace
Comment 2 Martin Entlicher 2015-04-20 11:31:33 UTC
Fixed by changeset:   286999:b885e7d6fc79
http://hg.netbeans.org/core-main/rev/b885e7d6fc79
Comment 3 Quality Engineering 2015-04-22 02:03:34 UTC
Integrated into 'main-silver', will be available in build *201504220001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/b885e7d6fc79
User: mentlicher@netbeans.org
Log: #251861: Detect when VM was disconnected already.