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 262521 - StringIndexOutOfBoundsException: String index out of range: -2
Summary: StringIndexOutOfBoundsException: String index out of range: -2
Status: NEW
Alias: None
Product: third-party
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: issues@third-party
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-06-22 05:54 UTC by javatlacati
Modified: 2017-05-23 17:25 UTC (History)
3 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221613


Attachments
stacktrace (6.83 KB, text/plain)
2016-06-22 05:54 UTC, javatlacati
Details

Note You need to log in before you can comment on or make changes to this bug.
Description javatlacati 2016-06-22 05:54:44 UTC
This issue was reported manually by javatlacati.
It already has 3 duplicates 


Build: NetBeans IDE 8.1 (Build 201511021428)
VM: Java HotSpot(TM) 64-Bit Server VM, 25.45-b02, Java(TM) SE Runtime Environment, 1.8.0_45-b15
OS: Windows 8

User Comments:
yinzara: I have no idea

javatlacati: I think the error showed on opening the IDE

jiai: Starting Netbeans.




Stacktrace: 
java.lang.StringIndexOutOfBoundsException: String index out of range: -2
   at java.lang.String.substring(String.java:1955)
   at eu.hlavki.netbeans.editor.unicode.Native2AsciiHint.run(Native2AsciiHint.java:55)
   at sun.reflect.NativeMethodAccessorImpl.invoke0(NativeMethodAccessorImpl.java:0)
   at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
   at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
   at java.lang.reflect.Method.invoke(Method.java:497)
Comment 1 javatlacati 2016-06-22 05:54:46 UTC
Created attachment 160119 [details]
stacktrace
Comment 2 Svata Dedic 2016-06-22 07:30:20 UTC
NPE comes from Native2Ascii plugin; reassigning.
Comment 3 Exceptions Reporter 2017-05-23 17:22:22 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=221613
Comment 4 Exceptions Reporter 2017-05-23 17:25:20 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=221613