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 20070923163726) VM: Java HotSpot(TM) Client VM, 1.6.0_01-b06 OS: Linux, 2.6.21-1.3228.fc7, i386 User Comments: [html/editor]
Created attachment 49359 [details] stacktrace
steps to reproduce: Create new HTML file paste this code inside: ------------------------ <!-- Document : stranka3 Created on : 24.9.2007, 14:36:33 Author : jindra --> <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> <html> <head> <title></title> <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> </head> <!-- comment --><body> </body> </html> ------------------------ wait for folds use body fold to fold the body area ArrayIndexOutOfBounds is thrown, code is not folded, but fold mark is changed to "+" exception doesn't stop throwing till I unfold body area
I can't reproduce this. Did you make change any settings or anything else? Is this reproducible with fresh userdir?
Btw. I've turned the collapse of many folds by default. And got similar exception.
I'm able to reproduce it with fresh userdir, but it's quit random, try to add few tabs in front of the line containg comment line or to remove them.
Happens to me all the time, when I have "collaps methods". Once it appears, it never stops and I have to restart the IDE.
What build are you guys using? I fixed issue #116670 yesteday, the problem could be the same.
I can't reproduce it in a dev build and I believe this was fixed with issue #116670. Please reopen if it happens again.
verified NetBeans IDE Dev (Build 200710290000)
Created attachment 132997 [details] java.lang.ArrayIndexOutOfBoundsException: 21