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.

Bug 255746 - javax.swing.text.BadLocationException: Invalid offset=-536863206 not within <0, 26825>
Summary: javax.swing.text.BadLocationException: Invalid offset=-536863206 not within <...
Status: NEW
Alias: None
Product: editor
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 8.1
Hardware: All All
: P3 normal (vote)
Assignee: Milutin Kristofic
Depends on:
Reported: 2015-10-06 18:22 UTC by misterm
Modified: 2017-06-01 21:46 UTC (History)
5 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 218772

stacktrace (1.08 KB, text/plain)
2015-10-06 18:22 UTC, misterm
stacktrace (4.44 KB, text/plain)
2016-02-04 12:49 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description misterm 2015-10-06 18:22:13 UTC
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: .

javax.swing.text.BadLocationException: Invalid offset=-536863206 not within <0, 26825>
   at org.netbeans.api.editor.document.LineDocumentUtils.checkOffsetValid(
   at org.netbeans.api.editor.document.LineDocumentUtils.checkOffsetValid(
   at org.netbeans.api.editor.document.LineDocumentUtils.getLineIndex(
   at org.netbeans.editor.Utilities.getLineOffset(
   at org.netbeans.modules.editor.hints.AnnotationHolder$
   at org.netbeans.editor.BaseDocument.render(
Comment 1 misterm 2015-10-06 18:22:14 UTC
Created attachment 156568 [details]
Comment 2 Exceptions Reporter 2016-02-02 11:00:44 UTC
This bug already has 5 duplicates 
Comment 3 Exceptions Reporter 2016-02-04 12:49:48 UTC
Created attachment 158371 [details]

I try to delete the <g:submitButton> and I can't