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 172152 - AssertionError: visnodes.size()=8 snapshot.size()=7
Summary: AssertionError: visnodes.size()=8 snapshot.size()=7
Status: RESOLVED DUPLICATE of bug 158328
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-09-14 10:32 UTC by aethersg
Modified: 2009-09-14 13:53 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 158430


Attachments
stacktrace (4.61 KB, text/plain)
2009-09-14 10:32 UTC, aethersg
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aethersg 2009-09-14 10:32:42 UTC
This issue was originally marked as duplicate of issue 160431, that is already resolved. This issue is still valid, so this seems to be another issue, but it might be related.

Build: NetBeans IDE Dev (Build 200908022240)
VM: Java HotSpot(TM) Client VM, 14.0-b16, Java(TM) SE Runtime Environment, 1.6.0_14-b08
OS: Windows Vista, 6.0, x86

User Comments:
aethersg: i was editing my drop down menu in nb6.8 when this error happened. i reckon that 6.8m1 still has issues with the visual template as this has happened a few time already.it seems this only occurs when the preview or "design" mode is have problems making the preview for this.

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

GUEST: Error is throws when i mark text, when i delete text, when i write new text....

GUEST: Comenting out html nodes

GUEST: undoing text writing



Stacktrace: 
java.lang.AssertionError: visnodes.size()=8 snapshot.size()=7
        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:289)
        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 aethersg 2009-09-14 10:32:48 UTC
Created attachment 87585 [details]
stacktrace
Comment 2 t_h 2009-09-14 13:53:47 UTC
Caused by #158328

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