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

Summary: NullPointerException at org.netbeans.modules.debugger.jpda.models.VariableMirrorTranslator.createValueFromMirror
Product: debugger Reporter: Martin Entlicher <mentlicher>
Component: JavaAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED FIXED    
Severity: normal    
Priority: P3    
Version: 8.1   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 216774
Attachments: stacktrace

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.