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.

Bug 211223 - StringIndexOutOfBoundsException: String index out of range: 4092
Summary: StringIndexOutOfBoundsException: String index out of range: 4092
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.2
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-04-16 07:35 UTC by troodon
Modified: 2012-04-16 11:07 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 186694


Attachments
stacktrace (5.16 KB, text/plain)
2012-04-16 07:36 UTC, troodon
Details

Note You need to log in before you can comment on or make changes to this bug.
Description troodon 2012-04-16 07:35:56 UTC
Build: NetBeans IDE Dev (Build 201204150400)
VM: Java HotSpot(TM) 64-Bit Server VM, 22.1-b02, Java(TM) SE Runtime Environment, 1.7.0_03-b04
OS: Linux

Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 4092
   at java.lang.AbstractStringBuilder.substring(AbstractStringBuilder.java:870)
   at java.lang.StringBuilder.substring(StringBuilder.java:72)
   at java.lang.AbstractStringBuilder.subSequence(AbstractStringBuilder.java:849)
   at java.lang.StringBuilder.subSequence(StringBuilder.java:72)
   at org.netbeans.modules.html.parser.ElementsFactory$CommonAttribute.name(ElementsFactory.java:854)
   at org.netbeans.modules.html.editor.indexing.HtmlFileModel$ReferencesSearch.visit(HtmlFileModel.java:200)
Comment 1 troodon 2012-04-16 07:36:01 UTC
Created attachment 118303 [details]
stacktrace
Comment 2 Marek Fukala 2012-04-16 11:07:15 UTC
fixed in web-main#213b508e7b3a