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 201204080400) VM: Java HotSpot(TM) 64-Bit Server VM, 20.6-b01-414, Java(TM) SE Runtime Environment, 1.6.0_31-b04-414-11M3626 OS: Mac OS X Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: 53 at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:879) at java.lang.StringBuilder.substring(StringBuilder.java:55) at java.lang.AbstractStringBuilder.subSequence(AbstractStringBuilder.java:858) at java.lang.StringBuilder.subSequence(StringBuilder.java:55) at org.netbeans.modules.html.parser.ElementsFactory$CommonAttribute.name(ElementsFactory.java:854) at org.netbeans.modules.html.parser.ElementsFactory$EmptyOpenTag.getAttribute(ElementsFactory.java:274)
Created attachment 118020 [details] stacktrace
Not clear to me how exactly the situation happens so I've added some diagnostic code and will close the issue as fixed. It will be automatically reopened or new one created next time the problem happens. changeset: 219483:93305870588d summary: #210976 - StringIndexOutOfBoundsException: String index out of range: 399; #210909 - StringIndexOutOfBoundsException: String index out of range: 53 - adding some diagnostic code, not real fix!
Integrated into 'main-golden', will be available in build *201204120400* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/93305870588d User: Marek Fukala <mfukala@netbeans.org> Log: #210976 - StringIndexOutOfBoundsException: String index out of range: 399; #210909 - StringIndexOutOfBoundsException: String index out of range: 53 - adding some diagnostic code, not real fix!
*** Bug 211085 has been marked as a duplicate of this bug. ***
Created attachment 118261 [details] stacktrace
Created attachment 118273 [details] stacktrace