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 207911 - NullPointerException: Null child at index 0, parent: ObjectArrayFieldVariable [0], model: org.netbeans.spi.viewmodel.Models$CompoundModel@45e2c TreeModel = org.netbeans.spi.viewmodel.Models$Compound
Summary: NullPointerException: Null child at index 0, parent: ObjectArrayFieldVariable...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-01-30 13:46 UTC by marco_bresciani
Modified: 2012-01-30 15:23 UTC (History)
4 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 184906


Attachments
stacktrace (1.36 KB, text/plain)
2012-01-30 13:46 UTC, marco_bresciani
Details

Note You need to log in before you can comment on or make changes to this bug.
Description marco_bresciani 2012-01-30 13:46:47 UTC
This bug was originally marked as duplicate of bug 186297, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related.

Build: NetBeans IDE 7.0.1 (Build 201109201739)
VM: Java HotSpot(TM) Client VM, 20.5-b03, Java(TM) SE Runtime Environment, 1.6.0_30-b12
OS: Windows XP

User Comments:
kirkstork: Debugging java code.  Had recently added the "ToString" column to the variable window.  Crash occurred after stopping the debugger.

GUEST: Wanted to save a Java file

mmirilovic: - run one debugging session
- run another one (another project)
- open Loaded CLasses
- switch project in Debugging View
-> exception rises
... reproducible for 100%

GUEST: debugging a python file

alberto_deluca: Right-clicking project name to manually compile.

GUEST: nuffin




Stacktrace: 
java.lang.NullPointerException: Null child at index 0, parent: ObjectArrayFieldVariable [0], model: org.netbeans.spi.viewmodel.Models$CompoundModel@45e2c
  TreeModel = org.netbeans.spi.viewmodel.Models$CompoundTreeModel@9a532e
    org.netbeans.modules.debugger.jpda.models.PendingActionsFilter@1785bc0
      org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter@1bcf215
        org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilterSI@1b97b09
          org.netbeans.spi.viewmodel.Models$DelegatingTreeModel@500905
    org.netbeans.modules.debugger.jpda.models.LocalsTreeModel@6c9744
  NodeModel = org.netbeans.spi.viewmodel.Models$CompoundNodeModel@2f5255
    org.netbeans.modules.debugger.jpda.models.LabelVarsFilter@3ca24c
      org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilter@1bcf215
        org.netbeans.modules.debugger.jpda.ui.models.VariablesTreeModelFilterSI@1b97b09
        org.netbeans.modules.debugger.jpda.ui.models.VariablesNodeModel@8b84dc
  TableModel = or
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.applyChildren(TreeModelNode.java:1418)
   at org.netbeans.modules.viewmodel.TreeModelNode$TreeModelChildren.run(TreeModelNode.java:1302)
   at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:1424)
   at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1968)
Comment 1 marco_bresciani 2012-01-30 13:46:50 UTC
Created attachment 115388 [details]
stacktrace
Comment 2 Exceptions Reporter 2012-01-30 14:07:23 UTC
This bug already has 20 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=184906
Comment 3 Martin Entlicher 2012-01-30 15:23:24 UTC
It's hopefully fixed by changeset:   211811:650a8bf3148a
http://hg.netbeans.org/main/rev/650a8bf3148a