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.
This issue was reported manually by sdedic. It already has 1 duplicates Build: NetBeans IDE Dev (Build 201404130001) VM: Java HotSpot(TM) 64-Bit Server VM, 25.0-b70, Java(TM) SE Runtime Environment, 1.8.0-b132 OS: Windows 8 User Comments: kosmonaFFFt: Invoke build... Stacktrace: java.lang.IndexOutOfBoundsException: Invalid line index=-1 < 0 at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(LineRootElement.java:80) at org.openide.text.NbDocument$DocumentRenderer.run(NbDocument.java:923) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1391) at org.openide.text.NbDocument$DocumentRenderer.renderToInt(NbDocument.java:898) at org.openide.text.NbDocument.findLineOffset(NbDocument.java:201) at org.netbeans.modules.editor.hints.HintsControllerImpl.computeLineSpan(HintsControllerImpl.java:145)
Created attachment 148002 [details] stacktrace
The OutputListenerImpl seems to pass -1 as line index, which will eventually cause the IOOBE. Please investigate.
fixed, change set: http://hg.netbeans.org/cnd-main/rev/c51f6cdca101
Integrated into 'main-silver', will be available in build *201408130001* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-silver/rev/c51f6cdca101 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #245596 IndexOutOfBoundsException: Invalid line index=-1 < 0
Integrated into 'releases/release801', will be available in build *201409171118* or newer. Wait for official and publicly available build. Changeset: http://hg.netbeans.org/releases/rev/3e12846892c7 User: Alexander Simon <alexvsimon@netbeans.org> Log: fixed Bug #245596 IndexOutOfBoundsException: Invalid line index=-1 < 0 (transplanted from c51f6cdca10149dddea00729d80efc739de4473d)