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 253509 - StringIndexOutOfBoundsException: String index out of range: 4286
Summary: StringIndexOutOfBoundsException: String index out of range: 4286
Status: NEW
Alias: None
Product: java
Classification: Unclassified
Component: Editor (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Dusan Balek
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2015-07-16 08:44 UTC by terje7601
Modified: 2015-10-09 21:04 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 216818


Attachments
stacktrace (2.13 KB, text/plain)
2015-07-16 08:44 UTC, terje7601
Details
stacktrace (2.13 KB, text/plain)
2015-10-09 21:04 UTC, Exceptions Reporter
Details

Note You need to log in before you can comment on or make changes to this bug.
Description terje7601 2015-07-16 08:44:53 UTC
This issue was reported manually by terje7601.
It already has 3 duplicates 


Build: NetBeans IDE Dev (Build 201507150001)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.51-b03, Java(TM) SE Runtime Environment, 1.8.0_51-b16
OS: Windows 7

User Comments:
terje7601: Working on a Java file

terje7601: Using auto-completion for a Java method

terje7601: Working on a Java file with lambdas & Stream API




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: 4286
   at java.lang.String.substring(String.java:1951)
   at org.netbeans.modules.java.completion.BaseTask.getEnvImpl(BaseTask.java:366)
   at org.netbeans.modules.java.completion.BaseTask.getCompletionEnvironment(BaseTask.java:265)
   at org.netbeans.modules.java.completion.JavaTooltipTask.resolve(JavaTooltipTask.java:111)
   at org.netbeans.modules.java.completion.BaseTask.run(BaseTask.java:92)
   at org.netbeans.modules.java.completion.JavaTooltipTask.run(JavaTooltipTask.java:74)
Comment 1 terje7601 2015-07-16 08:44:55 UTC
Created attachment 154671 [details]
stacktrace
Comment 2 Dusan Balek 2015-07-17 08:32:50 UTC
Do you have a reproducible test case? Thanks.
Comment 3 terje7601 2015-07-17 09:39:00 UTC
No sorry, at the moment I don't.
Comment 4 Exceptions Reporter 2015-09-23 18:30:38 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=216818
Comment 5 Exceptions Reporter 2015-10-09 21:04:04 UTC
Created attachment 156646 [details]
stacktrace

Autocompletion on microsoft ews api