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 221762 - StringIndexOutOfBoundsException: String index out of range: -1
Summary: StringIndexOutOfBoundsException: String index out of range: -1
Status: RESOLVED FIXED
Alias: None
Product: utilities
Classification: Unclassified
Component: Jump To (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: Tomas Zezula
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-08 19:41 UTC by Michel Graciano
Modified: 2012-11-10 03:27 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 192804


Attachments
stacktrace (8.26 KB, text/plain)
2012-11-08 19:41 UTC, Michel Graciano
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Michel Graciano 2012-11-08 19:41:36 UTC
Build: NetBeans IDE Dev (Build 20121106-41a1f4643cd7)
VM: Java HotSpot(TM) Client VM, 23.5-b02, Java(TM) SE Runtime Environment, 1.7.0_09-b05
OS: Linux

User Comments:
hmichel: 1. Open Go to Type;

hmichel: Open Go to Type and type *

hmichel: 1. Open Go to Type;




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
   at java.lang.String.substring(String.java:1911)
   at java.lang.String.subSequence(String.java:1946)
   at org.netbeans.modules.java.source.ui.OpenProjectFastIndex$NameIndex.getFilename(OpenProjectFastIndex.java:583)
   at org.netbeans.modules.java.source.ui.FastTypeProvider.computeTypeNames(FastTypeProvider.java:174)
   at org.netbeans.modules.jumpto.type.GoToTypeAction$Worker.getTypeNames(GoToTypeAction.java:591)
   at org.netbeans.modules.jumpto.type.GoToTypeAction$Worker.run(GoToTypeAction.java:485)
Comment 1 Michel Graciano 2012-11-08 19:41:38 UTC
Created attachment 127425 [details]
stacktrace
Comment 2 Michel Graciano 2012-11-08 19:55:28 UTC
To reproduce:
1. Open the Go to Type view;
2. Type *
Comment 3 Tomas Zezula 2012-11-09 09:26:01 UTC
Fixed jet-main 1111d2e3fd72
Comment 4 Quality Engineering 2012-11-10 03:27:43 UTC
Integrated into 'main-golden', will be available in build *201211100001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main-golden/rev/1111d2e3fd72
User: Tomas Zezula <tzezula@netbeans.org>
Log: #221762:StringIndexOutOfBoundsException: String index out of range: -1