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 6.9.1 (Build 201008030030) VM: Java HotSpot(TM) Client VM, 17.0-b16, Java(TM) SE Runtime Environment, 1.6.0_21-b06 OS: Windows XP User Comments: GUEST: typed in a jsp comment GUEST: Editing an inline javascript function in a JSP page GUEST: started typing the jsp comment tag: <%-- Stacktrace: java.lang.IndexOutOfBoundsException: Invalid index=6; foldCount=6 component=10894526 [root-fold] E <0,1372>, hash=0x1367658, [0, 1372] {0, 1372} [0]: [javadoc] E0 <39,134>, desc='...', hash=0x1331b54, [42, 132] {42, 132} [1]: [tag] E0 <464,1372>, desc='<.../>', hash=0x109872c, [464, 1372] {465, 1371} [0]: [tag] E0 <494,776>, desc='<.../>', hash=0x58cb26, [494, 776] {495, 775} [1]: [tag] E0 <832,905>, desc='<.../>', hash=0x5cae45, [832, 905] {833, 904} [2]: [tag] E0 <918,987>, desc='<.../>', hash=0xafb5e7, [918, 987] {919, 986} [3]: [tag] E0 <1000,1070>, desc='<.../>', hash=0x1a852ba, [1000, 1070] {1001, 1069} [4]: [tag] E0 <1083,1157>, desc='<.../>', hash=0xebfac3, [1083, 1157] {1084, 1156} [5]: [javadoc] E0 <1252,1372>, desc='...', hash=0x1c27df1, [1252, 1370] {1252, 1370} BLOCKED [tag] E0 <1170,1372>, desc='<.../>', hash=0x3e994c, [1170, 1372] {1171, 1371} blocked-by [jsp-tag] E1 <135,1371>, desc='<jsp:root>...</jsp:root>', hash=0x131d76d, [135, 1 at org.netbeans.modules.editor.fold.FoldChildren.getFold(FoldChildren.java:118) at org.netbeans.api.editor.fold.Fold.getFold(Fold.java:324) at org.netbeans.api.editor.fold.Fold.replaceByChildren(Fold.java:375) at org.netbeans.api.editor.fold.FoldHierarchy$ApiPackageAccessorImpl.foldReplaceByChildren(FoldHierarchy.java:382) at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.removeFoldFromHierarchy(FoldHierarchyTransactionImpl.java:944) at org.netbeans.modules.editor.fold.FoldHierarchyTransactionImpl.removeOverlap(FoldHierarchyTransactionImpl.java:934)
Created attachment 101437 [details] stacktrace
Created attachment 104342 [details] stacktrace
Created attachment 104406 [details] stacktrace Exception occured while editing on a jsp-file.
Created attachment 104586 [details] stacktrace
Created attachment 105974 [details] stacktrace Editing a jsp page
Created attachment 106102 [details] stacktrace
Created attachment 106208 [details] stacktrace just opened scriplet tag...
Created attachment 106767 [details] stacktrace
Created attachment 107062 [details] stacktrace
Created attachment 107314 [details] stacktrace
119 dups ... reported also for 7.0.1
Cannot reproduce in dev build 20110903; tried: * editing inline JSTL expressions, * JSTL expressions in tag attributes, * adding closed or unclosed HTML and JSP comments * some small scriptlets * <%= scriptlet no exception happened, sadly. It would be great to have a precise text whose modification will produce the error.