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.72-b15, Java(TM) SE Runtime Environment, 1.8.0_72-b15 OS: Linux User Comments: GUEST: Silent Exception GUEST: Mercurial push GUEST: Auto-format (on save) of a Java source file with some syntax errors. GUEST: erqwew GUEST: whats this? GUEST: <Please provide a description of the problem or the steps to reproduce> I restarted netbeans after update and this happened GUEST: Sorry, no details here. GUEST: Unknown GUEST: it just appeared mjr_1974: editing a file GUEST: Exception thrown afte rdoing auto-format-on-save of a Java file (a TopComponent, specifically) Stacktrace: java.lang.IndexOutOfBoundsException: Invalid line index=204 >= lineCount=204 at org.netbeans.modules.editor.lib2.document.LineRootElement.getElement(LineRootElement.java:91) at bluej.editor.moe.MoePlainView.paint(MoePlainView.java:232) at bluej.editor.moe.NaviviewView.paint(NaviviewView.java:165) at javax.swing.plaf.basic.BasicTextUI$RootView.paint(BasicTextUI.java:1434) at bluej.editor.moe.NaviView.paintImgBuffer(NaviView.java:421) at bluej.editor.moe.NaviView.paintComponent(NaviView.java:498)
Created attachment 158405 [details] stacktrace