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 156362 - [test] AssertionError: visnodes.size()=0 snapshot.size()=2
Summary: [test] AssertionError: visnodes.size()=0 snapshot.size()=2
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-01-06 16:06 UTC by Jan Horvath
Modified: 2009-04-29 12:18 UTC (History)
6 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 138832


Attachments
stacktrace (3.17 KB, text/plain)
2009-01-06 16:06 UTC, Jan Horvath
Details
stacktrace (3.45 KB, text/plain)
2009-04-01 23:34 UTC, big_al
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Jan Horvath 2009-01-06 16:06:33 UTC
Build: NetBeans IDE Dev (Build 090105)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments:
jhorvath: writing javascript code embedded in the JSP

GUEST: editing PHP/HTML

GUEST: Copying and pasting

jhorvath: writing javascript code embedded in the JSP



Stacktrace: 
java.lang.AssertionError: visnodes.size()=0 snapshot.size()=2
        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 Jan Horvath 2009-01-06 16:06:45 UTC
Created attachment 75499 [details]
stacktrace
Comment 2 t_h 2009-01-06 17:00:57 UTC
Can you try to reproduce after a4ff22e34c71? If the problem still exists please attach finer log
(-J-Dorg.openide.nodes.level=100 -J-Dorg.openide.explorer.level=100 as command line parameters)
Comment 3 big_al 2009-04-01 23:34:35 UTC
Build: NetBeans IDE Dev (Build 200903310200)
VM: Java HotSpot(TM) 64-Bit Server VM, 1.6.0_07-b06-57, Java(TM) SE Runtime Environment, 1.6.0_07-b06-153
OS: Mac OS X, 10.5.6, x86_64

User Comments: 
Editing a mixed JSF / JSPX / HTML page

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: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 4 big_al 2009-04-01 23:34:39 UTC
Created attachment 79250 [details]
stacktrace
Comment 5 t_h 2009-04-29 12:18:56 UTC

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