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.
Build: NetBeans IDE 8.1 (Build 201510222201) VM: Java HotSpot(TM) 64-Bit Server VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17 OS: Windows 7 User Comments: javatlacati: Double clicked File to open GUEST: when refactoring javatlacati: Openes a Java File from Typescript File GUEST: it appears again GUEST: not again!!! javatlacati: Double Clicked Java File from Another project to open Stacktrace: java.lang.StringIndexOutOfBoundsException: String index out of range: -2 at java.lang.String.substring(String.java:1967) at eu.hlavki.netbeans.editor.unicode.Native2AsciiHint.run(Native2AsciiHint.java:55) at sun.reflect.GeneratedMethodAccessor114.invoke(GeneratedMethodAccessor114.java:0) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:497) at org.netbeans.modules.java.hints.providers.code.CodeHintProviderImpl$WorkerImpl.createErrors(CodeHintProviderImpl.java:339)
Created attachment 161397 [details] stacktrace
Caused by native2ascii 3rd party plugin. Possibly provoked by some changes in compiler which reports positions differently. Based on code, I've tried to reproduce the defect with 1-char String -- but everything worked OK for me. Pls. include examples.
Created attachment 161468 [details] stacktrace No idea