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 196989 - NullPointerException: Null child at index 1, parent: Root, model: org.netbeans.spi.viewmodel.Models$CompoundModel@aa900d TreeModel = org.netbeans.spi.viewmodel.Models$DelegatingTreeModel@1d76fe1
Summary: NullPointerException: Null child at index 1, parent: Root, model: org.netbean...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-22 22:39 UTC by etienne3d
Modified: 2011-03-25 09:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 177813


Attachments
stacktrace (1.47 KB, text/plain)
2011-03-22 22:39 UTC, etienne3d
Details

Note You need to log in before you can comment on or make changes to this bug.
Description etienne3d 2011-03-22 22:39:32 UTC
This bug was originally marked as duplicate of bug 195306, 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 201103210400)
VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows XP

User Comments:
etienne3d: debugging php project, try to open variables window, error in treeview??




Stacktrace: 
java.lang.NullPointerException: Null child at index 1, parent: Root, model: org.netbeans.spi.viewmodel.Models$CompoundModel@aa900d
  TreeModel = org.netbeans.spi.viewmodel.Models$DelegatingTreeModel@1d76fe1
    org.netbeans.modules.web.client.javascript.debugger.models.NbJSVariablesModel@c6b514
  NodeModel = org.netbeans.spi.viewmodel.Models$CompoundNodeModel@3fe217
    org.netbeans.modules.web.client.javascript.debugger.models.NbJSVariablesNodeModelFilter@19a67bc
      org.netbeans.modules.web.client.javascript.debugger.models.NbJSVariablesModel@c6b514
  TableModel = org.netbeans.spi.viewmodel.Models$CompoundTableModel@691918
    org.netbeans.modules.web.client.javascript.debugger.models.BoldVariablesTableModelFilterFirst@334d37
      org.netbeans.modules.web.client.javascript.debugger.models.NbJSVariablesModel@c6b514
  NodeActionsProvider = org.netbeans.spi.viewmodel.Models$DelegatingNodeActionsProvider@f23b78
    org.netbeans.modules.debugger.ui.models.VariablesActionsProvider@d0738
  ColumnsModel = [org.n
   at org.netbeans.modules.debugger.ui.views.ViewModelListener$3.getChildren(ViewModelListener.java:373)
   at org.netbeans.modules.viewmodel.TreeModelHyperNode$HyperModelChildren.getModelChildren(TreeModelHyperNode.java:241)
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.run(TreeModelNode.java:1269)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Comment 1 etienne3d 2011-03-22 22:39:35 UTC
Created attachment 107202 [details]
stacktrace
Comment 2 Martin Entlicher 2011-03-23 16:31:31 UTC
Probably a bug in NbJSVariablesModel.
Comment 3 Martin Entlicher 2011-03-24 16:08:33 UTC
Fixed by changeset:   191515:a45fefa5c293
http://hg.netbeans.org/main/rev/a45fefa5c293
Comment 4 Quality Engineering 2011-03-25 09:53:52 UTC
Integrated into 'main-golden', will be available in build *201103250400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/a45fefa5c293
User: mentlicher@netbeans.org
Log: #196989 Check for null this.