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 217921 - NullPointerException: Null child at index 0, parent: Root, model: org.netbeans.spi.viewmodel.Models$CompoundModel@1a873070 TreeModel = org.netbeans.spi.viewmodel.Models$DelegatingTreeModel@402f71b7
Summary: NullPointerException: Null child at index 0, parent: Root, model: org.netbean...
Status: RESOLVED FIXED
Alias: None
Product: javascript
Classification: Unclassified
Component: Debugger (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
: 202366 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-09-06 01:26 UTC by David Konecny
Modified: 2015-09-04 13:19 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192158


Attachments
stacktrace (3.05 KB, text/plain)
2012-09-06 01:26 UTC, David Konecny
Details

Note You need to log in before you can comment on or make changes to this bug.
Description David Konecny 2012-09-06 01:26:38 UTC
This bug was originally marked as duplicate of bug 196553, 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 20120905-f70331372981)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b10
OS: Linux

User Comments:
GUEST: Debugging to wrong remote host.

GUEST: debugging

narve: Debugging my Swing GUI

phill84: deploying a webapp in tomcat

GUEST: was viewing variables and then stopped debugging

GUEST: simply stopped debugging now -.-

dkonecny: debugging js

GUEST: fast single stepping during debug session

GUEST: Hi, during a "Clean and build" the system showed me this problem... fortunately it hasn't crush the system.

GUEST: Don't know exactly when the problem occured.

milinkp: I dont know when its comes.. Its happened when i try to execute the program ,

GUEST: debuging

artisan: This happens once in while during testing. 

Don't know to reproduce.

GUEST: Stop debug program and see problem.

GUEST: Debuging web application

GUEST: I was debugging and clicked the "STOP"-button when this error occured

GUEST: debugging a test

mmirilovic: Switch to Loaded classes

GUEST: trying to debug .. debug failing to stop at breakpoints

artisan: running a unit test

GUEST: Noticed this after debugging my program

GUEST: stopped debugging




Stacktrace: 
java.lang.NullPointerException: Null child at index 0, parent: Root, model: org.netbeans.spi.viewmodel.Models$CompoundModel@1a873070
  TreeModel = org.netbeans.spi.viewmodel.Models$DelegatingTreeModel@402f71b7
    org.netbeans.modules.web.javascript.debugger.annotation.ToolTipModel@376b6a01
  NodeModel =     org.netbeans.modules.web.javascript.debugger.annotation.ToolTipModel@376b6a01
  TableModel = org.netbeans.spi.viewmodel.Models$DelegatingTableModel@50a6db59
    org.netbeans.modules.web.javascript.debugger.annotation.ToolTipModel@376b6a01
  NodeActionsProvider = org.netbeans.spi.viewmodel.Models$DelegatingNodeActionsProvider@6ad2c64c

  ColumnsModel = [org.netbeans.modules.debugger.ui.models.ColumnModels$AbstractColumn@58944820, org.netbeans.modules.debugger.ui.models.ColumnModels$AbstractColumn@6f0b5a4e, org.netbeans.modules.debugger.ui.models.ColumnModels$AbstractColumn@5255efd6, org.netbeans.modules.debugger.ui.models.ColumnModels$AbstractColumn@7f4f4d5]
All children are: [null]
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.applyChildren(TreeModelNode.java:1536)
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.refreshLazyChildren(TreeModelNode.java:1513)
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.refreshChildren(TreeModelNode.java:1368)
   at org.netbeans.modules.viewmodel.TreeModelNode.refreshTheChildren(TreeModelNode.java:975)
   at org.netbeans.modules.viewmodel.TreeModelNode.refreshTheChildren(TreeModelNode.java:958)
   at org.netbeans.modules.viewmodel.TreeModelNode$5.run(TreeModelNode.java:592)
Comment 1 David Konecny 2012-09-06 01:26:41 UTC
Created attachment 123970 [details]
stacktrace
Comment 2 Martin Entlicher 2012-09-10 13:57:24 UTC
Fixed by changeset:   232477:af524cbd95d2
http://hg.netbeans.org/web-main/rev/af524cbd95d2
Comment 3 Quality Engineering 2012-09-11 02:19:51 UTC
Integrated into 'main-golden', will be available in build *201209110001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/af524cbd95d2
User: mentlicher@netbeans.org
Log: #217921: Prevent from providing a null child.
Comment 4 Martin Entlicher 2015-09-04 13:19:46 UTC
*** Bug 202366 has been marked as a duplicate of this bug. ***