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
URL:
Keywords:
Depends on:
Blocks:
 
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


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

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: .




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)
Comment 1 misterm 2015-10-06 18:22:14 UTC
Created attachment 156568 [details]
stacktrace
Comment 2 Exceptions Reporter 2016-02-02 11:00:44 UTC
This bug already has 5 duplicates 
see http://statistics.netbeans.org/exceptions/detail.do?id=218772
Comment 3 Exceptions Reporter 2016-02-04 12:49:48 UTC
Created attachment 158371 [details]
stacktrace

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