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.
This bug was originally marked as duplicate of bug 191620, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 7.0 (Build 201104080000) VM: Java HotSpot(TM) Client VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07 OS: Windows XP User Comments: GUEST: expanding/collapsing code folds adam_myatt: editting a JSP file in the Source Editor Stacktrace: java.lang.IllegalStateException: prevViewEndOffset=-1 < 0 at org.netbeans.modules.editor.lib2.view.ViewBuilder.createNextView(ViewBuilder.java:396) at org.netbeans.modules.editor.lib2.view.ViewBuilder.createViews(ViewBuilder.java:336) at org.netbeans.modules.editor.lib2.view.ViewUpdates.buildViews(ViewUpdates.java:182) at org.netbeans.modules.editor.lib2.view.ViewUpdates.checkRebuild(ViewUpdates.java:597) at org.netbeans.modules.editor.lib2.view.ViewUpdates.syncViewsRebuild(ViewUpdates.java:544) at org.netbeans.modules.editor.lib2.view.DocumentView.syncViewsRebuild(DocumentView.java:373)
Created attachment 108009 [details] stacktrace
*** This bug has been marked as a duplicate of bug 198719 ***