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.
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)
Created attachment 75499 [details] stacktrace
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)
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)
Created attachment 79250 [details] stacktrace
*** This issue has been marked as a duplicate of 160431 ***