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 191855 - StringIndexOutOfBoundsException: String index out of range: 4939
Summary: StringIndexOutOfBoundsException: String index out of range: 4939
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P3 normal (vote)
Assignee: Jan Lahoda
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-11-11 14:44 UTC by misterm
Modified: 2010-11-16 06:13 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 173320


Attachments
stacktrace (2.50 KB, text/plain)
2010-11-11 14:44 UTC, misterm
Details

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2010-11-11 14:44:25 UTC
This issue was reported manually by misterm.
It already has 42 duplicates 


Build: NetBeans IDE Dev (Build 101110-542c809fd5ba)
VM: Java HotSpot(TM) Client VM, 16.2-b04, Java(TM) SE Runtime Environment, 1.6.0_19-b04
OS: Windows 7

User Comments:
GUEST: I tried to select in "Navigator" the "Trees (NetBeans Development)" when the error occured. I did nothing else.




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 4939
   at java.lang.String.substring(String.java:1934)
   at org.netbeans.modules.java.debug.TreeNode.<init>(TreeNode.java:175)
   at org.netbeans.modules.java.debug.TreeNode$FindChildrenTreeVisitor.visitClass(TreeNode.java:384)
   at org.netbeans.modules.java.debug.TreeNode$FindChildrenTreeVisitor.visitClass(TreeNode.java:228)
   at com.sun.tools.javac.tree.JCTree$JCClassDecl.accept(JCTree.java:621)
   at com.sun.source.util.TreePathScanner.scan(TreePathScanner.java:67)
Comment 1 misterm 2010-11-11 14:44:29 UTC
Created attachment 102915 [details]
stacktrace
Comment 3 Quality Engineering 2010-11-16 06:13:24 UTC
Integrated into 'main-golden', will be available in build *201011160001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/d1cbe87260c5
User: Jan Lahoda <jlahoda@netbeans.org>
Log: #191855: preventing SIOOBE.