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.0 Beta (Build 201401141042) VM: Java HotSpot(TM) 64-Bit Server VM, 24.45-b08, Java(TM) SE Runtime Environment, 1.7.0_45-b18 OS: Windows 7 User Comments: GUEST: trying to edit the file, got a popup that it's locked, then tried to cancel background scanning of project aquaglia: Java editing during debugging GUEST: save file GUEST: during control+Z GUEST: Typing a line of code with a string concatenated by + in a java file Stacktrace: javax.swing.text.BadLocationException: Invalid offset=-1 < 0; docLen=96423 at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkOffsetNonNegative(EditorDocumentContent.java:270) at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkOffsetInContent(EditorDocumentContent.java:284) at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.createPosition(EditorDocumentContent.java:198) at javax.swing.text.AbstractDocument.createPosition(AbstractDocument.java:831) at org.netbeans.modules.editor.java.JavaBracesMatcher$1.run(JavaBracesMatcher.java:330) at org.netbeans.modules.editor.java.JavaBracesMatcher$1.run(JavaBracesMatcher.java:268)
Created attachment 144550 [details] stacktrace
Created attachment 144783 [details] stacktrace Exception occured while editing a Java-File.
Created attachment 146913 [details] stacktrace Editing java code
This bug already has 10 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=203421
Created attachment 153097 [details] stacktrace noticed later
Created attachment 159556 [details] stacktrace Hard to tell when it happened.