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 250965

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

Description jherkel 2015-03-06 11:14:14 UTC
Build: NetBeans IDE Dev (Build 201503040001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b25
OS: Windows 7

User Comments:
jherkel: I tried to change string variable




Stacktrace: 
java.lang.NullPointerException
   at org.netbeans.modules.debugger.jpda.jdi.VirtualMachineWrapper.mirrorOf(VirtualMachineWrapper.java:2898)
   at org.netbeans.modules.debugger.jpda.models.AbstractVariable.setValue(AbstractVariable.java:211)
   at org.netbeans.modules.debugger.jpda.ui.models.VariablesTableModel.setValueAt(VariablesTableModel.java:414)
   at org.netbeans.spi.viewmodel.Models$DelegatingTableModel.setValueAt(Models.java:2347)
   at org.netbeans.modules.debugger.jpda.ui.models.NumericDisplayFilter.setValueAt(NumericDisplayFilter.java:164)
   at org.netbeans.spi.viewmodel.Models$CompoundTableModel.setValueAt(Models.java:1527)
Comment 1 jherkel 2015-03-06 11:14:15 UTC
Created attachment 152429 [details]
stacktrace
Comment 2 Martin Entlicher 2015-03-06 14:05:05 UTC
Fixed by changeset:   285053:c13dfcc14fa8
http://hg.netbeans.org/core-main/rev/c13dfcc14fa8
Comment 3 Quality Engineering 2015-03-07 08:42:02 UTC
Integrated into 'main-silver', will be available in build *201503070001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)

Changeset: http://hg.netbeans.org/main-silver/rev/c13dfcc14fa8
User: mentlicher@netbeans.org
Log: #250965: Prevent from NPE when VM is null.