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 219867 - StringIndexOutOfBoundsException: String index out of range: 456
Summary: StringIndexOutOfBoundsException: String index out of range: 456
Status: RESOLVED FIXED
Alias: None
Product: web
Classification: Unclassified
Component: HTML Editor (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Marek Fukala
URL:
Keywords:
: 224604 224641 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-10-11 02:35 UTC by herent
Modified: 2013-01-09 13:40 UTC (History)
2 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 192173


Attachments
stacktrace (2.71 KB, text/plain)
2012-10-11 02:35 UTC, herent
Details

Note You need to log in before you can comment on or make changes to this bug.
Description herent 2012-10-11 02:35:51 UTC
Build: NetBeans IDE Dev (Build 201210100002)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.3-b01, Java(TM) SE Runtime Environment, 1.7.0_07-b10
OS: Linux

User Comments:
GUEST: i write <br

herent: I was just adding a label tag and when I typed for="" it launched the error.

herent: I just opened the application.  There were several other errors before, it seems like it's still caching whatever problem there was in the last time it was run?  Don't know, but it seems like I can't really try to do anything with it since there are constant errors popping up.

GUEST: Just typing.




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 456
   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.value(ElementsFactory.java:975)
   at org.netbeans.modules.html.editor.gsf.HtmlElementHandle.computeAttributesHash(HtmlElementHandle.java:88)
Comment 1 herent 2012-10-11 02:35:54 UTC
Created attachment 125736 [details]
stacktrace
Comment 2 Marek Fukala 2012-10-11 09:15:31 UTC
fixed in web-main#2bf35df2044d
Comment 3 Quality Engineering 2012-10-12 02:05:02 UTC
Integrated into 'main-golden', will be available in build *201210120002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/2bf35df2044d
User: Marek Fukala <mfukala@netbeans.org>
Log: #219867 - StringIndexOutOfBoundsException: String index out of range: 456
Comment 4 Marek Fukala 2013-01-08 13:44:38 UTC
*** Bug 224604 has been marked as a duplicate of this bug. ***
Comment 5 Marian Mirilovic 2013-01-09 13:40:50 UTC
*** Bug 224641 has been marked as a duplicate of this bug. ***