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 148319 - AssertionError: visnodes.size()=6 snapshot.size()=7
Summary: AssertionError: visnodes.size()=6 snapshot.size()=7
Status: RESOLVED DUPLICATE of bug 148168
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: 2008-09-25 08:46 UTC by esmithbss
Modified: 2008-12-22 13:41 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 118212


Attachments
Log file from exception (101.05 KB, text/plain)
2008-09-25 08:47 UTC, esmithbss
Details

Note You need to log in before you can comment on or make changes to this bug.
Description esmithbss 2008-09-25 08:46:13 UTC
Build: NetBeans IDE Dev (Build 200809240201)
VM: Java HotSpot(TM) Client VM, 11.0-b15, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b28
OS: Linux, 2.6.24-21-generic, i386
User comments: Copied and Pasted a rails partial within the same folder.  I expected the new partial with a _1 tacked
onto the end of the name.  Instead, I received this exception and the project panel is only partially painted.
STACKTRACE: (first 10 lines)
java.lang.AssertionError: visnodes.size()=6 snapshot.size()=7
        at org.openide.explorer.view.VisualizerChildren.recomputeIndexes(VisualizerChildren.java:88)
        at org.openide.explorer.view.VisualizerChildren.getIndex(VisualizerChildren.java:155)
        at org.openide.explorer.view.VisualizerNode.getIndex(VisualizerNode.java:286)
        at javax.swing.tree.DefaultTreeModel.nodeChanged(DefaultTreeModel.java:256)
        at org.openide.explorer.view.NodeTreeModel$Listener.update(NodeTreeModel.java:266)
        at org.openide.explorer.view.VisualizerNode.run(VisualizerNode.java:491)
        at org.openide.util.Mutex.readAccess(Mutex.java:362)
        at org.openide.explorer.view.VisualizerNode$QP.run(VisualizerNode.java:708)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:597)
Comment 1 esmithbss 2008-09-25 08:47:07 UTC
Created attachment 70546 [details]
Log file from exception
Comment 2 esmithbss 2008-09-25 08:48:47 UTC
Following exception, the Project explorer is only partially painted.
Comment 3 t_h 2008-09-27 08:12:35 UTC

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