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 Dev (Build 201210010929) VM: Java HotSpot(TM) 64-Bit Server VM, 21.0-b17, Java(TM) SE Runtime Environment, 1.7.0-b147 OS: Windows 7 User Comments: mago_ebon: Editing a file. Stacktrace: javax.swing.text.BadLocationException: Invalid offset=6784 > (docLen+1)=6743 at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkOffsetInContent(EditorDocumentContent.java:280) at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.createPosition(EditorDocumentContent.java:192) at javax.swing.text.AbstractDocument.createPosition(AbstractDocument.java:831) at org.netbeans.api.editor.fold.Fold.<init>(Fold.java:145) at org.netbeans.api.editor.fold.FoldHierarchy$ApiPackageAccessorImpl.createFold(FoldHierarchy.java:355) at org.netbeans.modules.editor.fold.FoldOperationImpl.createFold(FoldOperationImpl.java:156)
Created attachment 125259 [details] stacktrace
Created attachment 125777 [details] stacktrace Started typing in a java source file.
Created attachment 125778 [details] stacktrace Java editor is hosed. All edits are bringing up this error dialog.
Looks like JavaElementFoldManager requests invalid fold bounds.
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=183506
Created attachment 125837 [details] stacktrace
Created attachment 125915 [details] stacktrace
Created attachment 126363 [details] stacktrace Edited an existing class by adding a new field
Created attachment 126481 [details] stacktrace undo in java editor
Created attachment 126482 [details] stacktrace undo in java editor
Created attachment 126484 [details] stacktrace undo in java editor
Created attachment 126486 [details] stacktrace undo in java editor
Created attachment 127031 [details] stacktrace BLE when reformatting document
Steps to reproduce: 1) set global indentation setting to Number of space: 5 Tab size:9 2) open attached file and reformat
Created attachment 127032 [details] sample file
Created attachment 127102 [details] stacktrace Typing String message (constant String) in the editor.
Created attachment 127882 [details] stacktrace
Created attachment 127890 [details] stacktrace 1. Wrote a call to a nonexistant method of another object 2. Quick-Fixed the error to let NetBeans implement the nonexistant method 3. Pressed Command-B to go to a newly defined method. 4. BAM! Thanks! Michael
Created attachment 128085 [details] stacktrace pasted a method in a java class
Created attachment 128210 [details] stacktrace
Created attachment 128222 [details] stacktrace Changed the return type for a vunction
This bug already has 50 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=183506
Created attachment 128257 [details] stacktrace Editing a TopComponent subclass while debugging the platform application.
Additional diagnostics added. http://hg.netbeans.org/jet-main/rev/3e3602d3dc71
Created attachment 128262 [details] stacktrace hit ENTER
Created attachment 128263 [details] stacktrace pasted text into editor
Created attachment 128277 [details] stacktrace Code completion after pasting javacode
Integrated into 'main-golden', will be available in build *201211240959* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/3e3602d3dc71 User: Dusan Balek <dbalek@netbeans.org> Log: Diagnostic messages added (see issue #219409).
Created attachment 128387 [details] stacktrace editing mult-line string
Created attachment 128425 [details] stacktrace Typing "distinct" in a JPL query
Integrated into 'main-golden', will be available in build *201211280002* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress) Changeset: http://hg.netbeans.org/main-golden/rev/205ac5774c9b User: Dusan Balek <dbalek@netbeans.org> Log: Additional diagnostic (see issue #219409).
Created attachment 128704 [details] stacktrace past some code in editor
Fixed in jet-main. http://hg.netbeans.org/main-golden/rev/3e3602d3dc71
*** Bug 224394 has been marked as a duplicate of this bug. ***