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 212572 - StringIndexOutOfBoundsException: String index out of range: 779
Summary: StringIndexOutOfBoundsException: String index out of range: 779
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-16 10:21 UTC by augcampos
Modified: 2012-05-24 19:20 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 187681


Attachments
stacktrace (5.76 KB, text/plain)
2012-05-16 10:21 UTC, augcampos
Details
stacktrace (5.57 KB, text/plain)
2012-05-19 22:42 UTC, Exceptions Reporter
Details
stacktrace (5.76 KB, text/plain)
2012-05-21 13:51 UTC, augcampos
Details

Note You need to log in before you can comment on or make changes to this bug.
Description augcampos 2012-05-16 10:21:39 UTC
Build: NetBeans IDE Dev (Build 201205150400)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.0-b21, Java(TM) SE Runtime Environment, 1.7.0_04-b20
OS: Linux

User Comments:
enriqueplace: download (sync) remote project via sftp

GUEST: I just created a new project. NetBeans was scanning the source files when the error popped up.




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 779
   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:860)
   at org.netbeans.modules.html.editor.hints.css.CssClassesVisitor$1.accepts(CssClassesVisitor.java:103)
Comment 1 augcampos 2012-05-16 10:21:45 UTC
Created attachment 119515 [details]
stacktrace
Comment 2 Exceptions Reporter 2012-05-19 22:42:08 UTC
Created attachment 119651 [details]
stacktrace
Comment 3 Marek Fukala 2012-05-21 13:07:12 UTC

*** This bug has been marked as a duplicate of bug 211792 ***
Comment 4 augcampos 2012-05-21 13:51:08 UTC
Created attachment 119692 [details]
stacktrace