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 221847 - StringIndexOutOfBoundsException: String index out of range: -44
Summary: StringIndexOutOfBoundsException: String index out of range: -44
Status: RESOLVED FIXED
Alias: None
Product: profiler
Classification: Unclassified
Component: Base (show other bugs)
Version: 7.3
Hardware: All All
: P3 normal (vote)
Assignee: issues@profiler
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-09 16:41 UTC by Petr Cyhelsky
Modified: 2012-12-27 10:13 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 194840


Attachments
stacktrace (1.70 KB, text/plain)
2012-11-09 16:41 UTC, Petr Cyhelsky
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Petr Cyhelsky 2012-11-09 16:41:19 UTC
Build: NetBeans IDE Dev (Build 201211050001)
VM: Java HotSpot(TM) 64-Bit Server VM, 23.6-b03, Java(TM) SE Runtime Environment, 1.7.0_10-ea-b09
OS: Linux

Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -44
   at java.lang.String.substring(String.java:1875)
   at org.netbeans.modules.profiler.oql.language.KeywordCompletionItem$1.run(KeywordCompletionItem.java:96)
   at org.netbeans.editor.GuardedDocument.runAtomicAsUser(GuardedDocument.java:347)
   at org.netbeans.modules.profiler.oql.language.KeywordCompletionItem.defaultAction(KeywordCompletionItem.java:90)
   at org.netbeans.modules.profiler.oql.language.KeywordCompletionItem.instantSubstitution(KeywordCompletionItem.java:127)
   at org.netbeans.modules.editor.completion.CompletionImpl$7.run(CompletionImpl.java:1004)
Comment 1 Petr Cyhelsky 2012-11-09 16:41:28 UTC
Created attachment 127497 [details]
stacktrace
Comment 2 Tomas Hurka 2012-11-09 21:19:09 UTC
This is no longer reproducible after fix of issue #221503.