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 161302 - AssertionError: visnodes.size()=2 snapshot.size()=1
Summary: AssertionError: visnodes.size()=2 snapshot.size()=1
Status: RESOLVED DUPLICATE of bug 160431
Alias: None
Product: platform
Classification: Unclassified
Component: Explorer (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: t_h
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-03-26 19:36 UTC by terje
Modified: 2009-04-29 11:42 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 148350


Attachments
stacktrace (4.61 KB, text/plain)
2009-03-26 19:36 UTC, terje
Details

Note You need to log in before you can comment on or make changes to this bug.
Description terje 2009-03-26 19:36:45 UTC
Build: NetBeans IDE Dev (Build 200903250219)
VM: Java HotSpot(TM) Client VM, 11.2-b01, Java(TM) SE Runtime Environment, 1.6.0_12-b04
OS: Windows XP, 5.1, x86

User Comments:
terje: Netbeans 7 Dev 200903250219
 
Editing in an editor window.

java.lang.AssertionError: visnodes.size()=2 snapshot.size()=1
	at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:87)
	at org.openide.explorer.view.VisualizerChildren.getIndex(VisualizerChildren.java:153)
	at org.openide.explorer.view.VisualizerNode.getIndex(VisualizerNode.java:291)
	at javax.swing.tree.DefaultTreeModel.getIndexOfChild(DefaultTreeModel.java:142)
	at javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.createChildFor(FixedHeightLayoutCache.java:953)
	at javax.swing.tree.FixedHeightLayoutCache.getNodeForPath(FixedHeightLayoutCache.java:701)
	at javax.swing.tree.FixedHeightLayoutCache.ensurePathIsExpanded(FixedHeightLayoutCache.java:639)
	at javax.swing.tree.FixedHeightLayoutCache.setExpandedState(FixedHeightLayoutCache.java:282)
	at javax.swing.plaf.basic.BasicTreeUI.updateExpandedDescendants(BasicTreeUI.java:1648)
	at javax.swing.plaf.basic.BasicTreeUI$Handler.treeExpand



Stacktrace: 
java.lang.AssertionError: visnodes.size()=2 snapshot.size()=1
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:87)
        at org.openide.explorer.view.VisualizerChildren.getIndex(VisualizerChildren.java:153)
        at org.openide.explorer.view.VisualizerNode.getIndex(VisualizerNode.java:291)
        at javax.swing.tree.DefaultTreeModel.getIndexOfChild(DefaultTreeModel.java:142)
        at javax.swing.tree.FixedHeightLayoutCache$FHTreeStateNode.createChildFor(FixedHeightLayoutCache.java:953)
        at javax.swing.tree.FixedHeightLayoutCache.getNodeForPath(FixedHeightLayoutCache.java:701)
Comment 1 terje 2009-03-26 19:36:58 UTC
Created attachment 78933 [details]
stacktrace
Comment 2 t_h 2009-04-29 11:42:29 UTC

*** This issue has been marked as a duplicate of 160431 ***