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 213222 - StringIndexOutOfBoundsException: String index out of range: 377
Summary: StringIndexOutOfBoundsException: String index out of range: 377
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-30 08:42 UTC by killermosi
Modified: 2012-05-30 10:32 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 188305


Attachments
stacktrace (5.56 KB, text/plain)
2012-05-30 08:42 UTC, killermosi
Details

Note You need to log in before you can comment on or make changes to this bug.
Description killermosi 2012-05-30 08:42:14 UTC
Build: NetBeans IDE 7.2 Beta (Build 201205031832)
VM: Java HotSpot(TM) Client VM, 20.0-b11, Java(TM) SE Runtime Environment, 1.6.0_25-b06
OS: Windows 7

User Comments:
GUEST: Fresh install of 7.2 beta. Began "Scanning Projects" as soon as it started up.

GUEST: Just after installing netbeans 7.2beta from a SSH session (ssh -X) to my laptop machine (Ubuntu 12.04 LTS 64-bit with Java 7 JDK installed from Ubuntu repositories), I started NetBeans from the SSH session and opened a PHP project built with NetBeans 7.1.
No NetBeans options were imported from the existing installation.

killermosi: Opened new project with a large index file

GUEST: Scanning project.




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 377
   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:854)
   at org.netbeans.modules.html.editor.hints.css.CssClassesVisitor$1.accepts(CssClassesVisitor.java:103)
Comment 1 killermosi 2012-05-30 08:42:19 UTC
Created attachment 120051 [details]
stacktrace
Comment 2 Marek Fukala 2012-05-30 10:32:45 UTC

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