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.
AIOOBE when any tag have attribute that starts with 'on' without value or tag 'a' have attribute 'href' without value, for example: <input onclick> or <a href></a>
java.lang.StringIndexOutOfBoundsException: String index out of range: 0 at java.lang.String.charAt(String.java:687) at org.netbeans.modules.html.editor.coloring.EmbeddingUpdater.createEmbedding(EmbeddingUpdater.java:239) at org.netbeans.modules.html.editor.coloring.EmbeddingUpdater.startTag(EmbeddingUpdater.java:153) at org.netbeans.modules.html.editor.coloring.EmbeddingUpdater.parsingFinished(EmbeddingUpdater.java:120) at org.netbeans.editor.ext.html.parser.SyntaxParser.notifyParsingFinished(SyntaxParser.java:238) at org.netbeans.editor.ext.html.parser.SyntaxParser.parse(SyntaxParser.java:222) at org.netbeans.editor.ext.html.parser.SyntaxParser.access$200(SyntaxParser.java:69) at org.netbeans.editor.ext.html.parser.SyntaxParser$4.run(SyntaxParser.java:151) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:561) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:986)
Created attachment 59367 [details] Patch
*** Issue 131666 has been marked as a duplicate of this issue. ***
fixed in revision c2761c392358, thanks for the patch!
the fix's revision is b7fd605c1ec5
Annoying issue with trivial fix. Marking as release61 stopper. Verified in trunk. Marku please transplant the fix into release61 branch.
Fix is very simple and doesn't seem to break anything.
Fixed in release61 by revision 9e6a312a4f1d.
*** Issue 132907 has been marked as a duplicate of this issue. ***
*** Issue 132601 has been marked as a duplicate of this issue. ***
verified. NetBeans IDE 6.1 (Build 200804210003)