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 202657 - NullPointerException: Null child at index 8, parent: swingListeners, model: org.netbeans.spi.viewmodel.Models$CompoundModel@281b48b4 TreeModel = org.netbeans.spi.viewmodel.Models$DelegatingTreeModel
Summary: NullPointerException: Null child at index 8, parent: swingListeners, model: o...
Status: RESOLVED FIXED
Alias: None
Product: debugger
Classification: Unclassified
Component: Code (show other bugs)
Version: 7.1
Hardware: All All
: P3 normal (vote)
Assignee: Martin Entlicher
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-09-26 09:44 UTC by Jiri Kovalsky
Modified: 2011-10-11 14:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 181401


Attachments
stacktrace (5.17 KB, text/plain)
2011-09-26 09:44 UTC, Jiri Kovalsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jiri Kovalsky 2011-09-26 09:44:49 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.1 Beta (Build 201109252201)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
jkovalsky: I was debugging Anagram Game project. I made a GUI Snapshot, displayed listeners on some component, then setup component breakpoint on another component and then clicked into the white space below the GUI snapshot in Editor.




Stacktrace: 
java.lang.NullPointerException: Null child at index 8, parent: swingListeners, model: org.netbeans.spi.viewmodel.Models$CompoundModel@281b48b4
  TreeModel = org.netbeans.spi.viewmodel.Models$DelegatingTreeModel@66b378c2
    org.netbeans.modules.debugger.jpda.visual.models.EventsModel@222f2421
  NodeModel =     org.netbeans.modules.debugger.jpda.visual.models.EventsModel@222f2421
  TableModel = org.netbeans.spi.viewmodel.Models$DelegatingTableModel@4a55ac8e

  NodeActionsProvider = org.netbeans.spi.viewmodel.Models$DelegatingNodeActionsProvider@10bd3d3b
    org.netbeans.modules.debugger.jpda.visual.models.EventsModel@222f2421
  ColumnsModel = [org.netbeans.modules.debugger.ui.registry.ColumnModelContextAware@44ed040f]
   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:1973)
Comment 1 Jiri Kovalsky 2011-09-26 09:44:53 UTC
Created attachment 111176 [details]
stacktrace
Comment 2 Martin Entlicher 2011-09-30 15:21:52 UTC
Some problem in Events view.
Comment 3 Martin Entlicher 2011-09-30 18:41:48 UTC
Fixed by changeset:   203323:e8b1a64f6fec
http://hg.netbeans.org/main/rev/e8b1a64f6fec
Comment 4 Quality Engineering 2011-10-05 14:14:54 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/e8b1a64f6fec
User: mentlicher@netbeans.org
Log: #202657 Prevent from partially initialized lists.
Comment 5 Quality Engineering 2011-10-11 14:16:39 UTC
Integrated into 'main-golden'
Changeset: http://hg.netbeans.org/main-golden/rev/a8cf2c4c711d
User: mentlicher@netbeans.org
Log: #202657 Correct the listener lists assignments.