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 202366

Summary: [71cat] NullPointerException: Null child at index 0, parent: ObjectArrayFieldVariable [ 0], model: org.netbeans.spi.viewmodel.Models$CompoundModel@633db8f2 TreeModel = org.netbeans.spi.viewmodel.Models$Comp
Product: debugger Reporter: stefan79 <stefan79>
Component: CodeAssignee: Martin Entlicher <mentlicher>
Status: RESOLVED DUPLICATE    
Severity: normal Keywords: RANDOM
Priority: P4    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 146277
Attachments: stacktrace

Description stefan79 2011-09-20 15:41:08 UTC
Build: NetBeans IDE Dev (Build 201109180600)
VM: Java HotSpot(TM) 64-Bit Server VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows 7

User Comments:
GUEST: While debugging J2ME application in WTK 2.5.2 emulator an exception occured on midlet relaunch in midlet suite.
Sorry for my bad English.
Michael

GUEST: Was stopping debuggee

GUEST: I had pressed the button "Finish debugging session"

stefan79: Stopped Debugging.




Stacktrace: 
java.lang.NullPointerException: Null child at index 0, parent: ObjectArrayFieldVariable [ 0], model: org.netbeans.spi.viewmodel.Models$CompoundModel@633db8f2
  TreeModel = org.netbeans.spi.viewmodel.Models$CompoundTreeModel@63c5e316
    org.netbeans.modules.debugger.jpda.models.PendingActionsFilter@5b00de4f
      org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter@56dc785a
        org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilterSI@24618943
          org.netbeans.spi.viewmodel.Models$DelegatingTreeModel@73ca9392
    org.netbeans.modules.debugger.jpda.models.LocalsTreeModel@431fd172
  NodeModel = org.netbeans.spi.viewmodel.Models$CompoundNodeModel@4417ce2
    org.netbeans.modules.debugger.jpda.models.LabelVarsFilter@7f7aa05d
      org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter@56dc785a
        org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilterSI@24618943
        org.netbeans.modules.debugger.jpda.ui.models.VariablesNodeModel@5b6784
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.applyChildren(TreeModelNode.java:1418)
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.refreshLazyChildren(TreeModelNode.java:1395)
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.refreshChildren(TreeModelNode.java:1250)
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.addNotify(TreeModelNode.java:1238)
   at org.openide.nodes.Children.callAddNotify(Children.java:568)
   at org.openide.nodes.EntrySupport$Default.getArray(EntrySupport.java:770)
Comment 1 stefan79 2011-09-20 15:41:11 UTC
Created attachment 110922 [details]
stacktrace
Comment 2 Martin Entlicher 2011-09-21 12:31:50 UTC
This must be very random - I'm not able to reproduce this issue.
From the code it's very hard to find out where the null value comes from.
Changing priority to P4 - since it occurs during finish of debugger session, it does not have any negative impact.
Please provide steps to reproduce if there are some.
Comment 3 Martin Entlicher 2015-09-04 13:19:46 UTC

*** This bug has been marked as a duplicate of bug 217921 ***