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 196553 - [70cat] NullPointerException: Null child at index 0, parent: Root, model: org.netbeans.spi.viewmodel.Models$CompoundModel@2e3bfd TreeModel = org.netbeans.spi.viewmodel.Models$CompoundTreeModel@154c01b o
Summary: [70cat] NullPointerException: Null child at index 0, parent: Root, model: org...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Java (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-03-10 16:04 UTC by Exceptions Reporter
Modified: 2011-03-10 16:15 UTC (History)
9 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 177274


Attachments
stacktrace (2.69 KB, text/plain)
2011-03-10 16:04 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2011-03-10 16:04:17 UTC
This issue was reported manually by gorrus.
It already has 65 duplicates 


Build: NetBeans IDE 6.9 (Build 201006101454)
VM: Java HotSpot(TM) Client VM, 16.2-b04, Java(TM) SE Runtime Environment, 1.6.0_19-b04
OS: Windows XP

User Comments:
narve: Debugging my Swing GUI

artisan: running a unit test

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: stopped debugging

mmirilovic: Switch to Loaded classes

mmirilovic: Steps to reproduce:
- I had opened MemoryView project
- CLass breakpoint in group 'xxxx' and another line breakpoint inside constructor
- started debugger
- slected Breakpoint's group node 'xxx' and pushed 'Delete All' from context menu
- continue in debugging

GUEST: debuging

GUEST: was viewing variables and then stopped debugging

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

GUEST: Debuging web application

GUEST: Noticed this after debugging my program

GUEST: debugging

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

GUEST: Debugging to wrong remote host.

artisan: This happens once in while during testing. 

Don't know to reproduce.

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

GUEST: Stop debug program and see problem.

phill84: deploying a webapp in tomcat

GUEST: simply stopped debugging now -.-




Stacktrace: 
java.lang.NullPointerException: Null child at index 0, parent: Root, model: org.netbeans.spi.viewmodel.Models$CompoundModel@2e3bfd
  TreeModel = org.netbeans.spi.viewmodel.Models$CompoundTreeModel@154c01b
    org.netbeans.modules.debugger.jpda.projects.ToolTipTreeModelFilter@4bd577
      org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter@382a2a
        org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilterSI@1584d5c
          org.netbeans.spi.viewmodel.Models$DelegatingTreeModel@16474ad
    org.netbeans.modules.debugger.jpda.models.LocalsTreeModel@7af492
  NodeModel = org.netbeans.spi.viewmodel.Models$CompoundNodeModel@185e463
    org.netbeans.modules.debugger.jpda.projects.ToolTipNodeModelFilter@ab8417
      org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter@382a2a
        org.netbeans.modules.debugger.jpda.ui.models.VariablesNodeModel@16329ac
        org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilterSI@1584d5c
  TableModel = org.netbean
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.applyChildren(TreeModelNode.java:1380)
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.refreshLazyChildren(TreeModelNode.java:1356)
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.refreshChildren(TreeModelNode.java:1216)
   at org.netbeans.modules.viewmodel.TreeModelNode.refreshTheChildren(TreeModelNode.java:823)
   at org.netbeans.modules.viewmodel.TreeModelNode.refreshTheChildren(TreeModelNode.java:806)
   at org.netbeans.modules.viewmodel.TreeModelNode$5.run(TreeModelNode.java:549)
Comment 1 Exceptions Reporter 2011-03-10 16:04:22 UTC
Created attachment 106885 [details]
stacktrace
Comment 2 Martin Entlicher 2011-03-10 16:15:08 UTC
This is a bug in ToolTipTreeModelFilter, already fixed in NB 7.0.