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 212937 - StringIndexOutOfBoundsException: String index out of range: 3590
Summary: StringIndexOutOfBoundsException: String index out of range: 3590
Status: RESOLVED DUPLICATE of bug 211792
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-05-24 09:11 UTC by kaes1977
Modified: 2012-05-24 10:42 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 187794


Attachments
stacktrace (2.82 KB, text/plain)
2012-05-24 09:11 UTC, kaes1977
Details

Note You need to log in before you can comment on or make changes to this bug.
Description kaes1977 2012-05-24 09:11:24 UTC
Build: NetBeans IDE Dev (Build 201205200400)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Windows 7

User Comments:
GUEST: I was about to save a document

kaes1977: after input text <hr/ in tpl file

GUEST: typing in <di for a div in a php editor

larsomat: Was typing this inside twig file:
<div style?




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 3590
   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:860)
   at org.netbeans.modules.html.parser.ElementsFactory$EmptyOpenTag.getAttribute(ElementsFactory.java:274)
Comment 1 kaes1977 2012-05-24 09:11:31 UTC
Created attachment 119804 [details]
stacktrace
Comment 2 Marek Fukala 2012-05-24 10:42:08 UTC

*** This bug has been marked as a duplicate of bug 211792 ***