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 misterm. It already has 3 duplicates Build: NetBeans IDE Dev (Build 20151001-0d7f258dfba2) VM: Java HotSpot(TM) 64-Bit Server VM, 25.40-b25, Java(TM) SE Runtime Environment, 1.8.0_40-b26 OS: Windows 8 User Comments: clinuxrulz: using alt+enter to include an import GUEST: I don't know what happened. misterm: . Stacktrace: javax.swing.text.BadLocationException: Invalid offset=-536863206 not within <0, 26825> at org.netbeans.api.editor.document.LineDocumentUtils.checkOffsetValid(LineDocumentUtils.java:420) at org.netbeans.api.editor.document.LineDocumentUtils.checkOffsetValid(LineDocumentUtils.java:415) at org.netbeans.api.editor.document.LineDocumentUtils.getLineIndex(LineDocumentUtils.java:339) at org.netbeans.editor.Utilities.getLineOffset(Utilities.java:563) at org.netbeans.modules.editor.hints.AnnotationHolder$11.run(AnnotationHolder.java:1474) at org.netbeans.editor.BaseDocument.render(BaseDocument.java:1386)
Created attachment 156568 [details] stacktrace
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=218772
Created attachment 158371 [details] stacktrace I try to delete the <g:submitButton> and I can't