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 231339

Summary: javax.swing.text.BadLocationException: Invalid (offset=504 + length=3925)=4429 > (docLen+1)=4399
Product: third-party Reporter: Exceptions Reporter <exceptions_reporter>
Component: -- Other --Assignee: issues@third-party <issues>
Status: NEW ---    
Severity: normal CC: kosmonaffft, sdedic
Priority: P3    
Version: 7.3   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 201464
Attachments: stacktrace
stacktrace

Description Exceptions Reporter 2013-06-17 08:14:00 UTC
This issue was reported manually by sdedic.
It already has 1 duplicates 


Build: NetBeans IDE 7.3 Beta 2 (Build 201211062253)
VM: OpenJDK 64-Bit Server VM, 20.0-b12, OpenJDK Runtime Environment, 1.6.0_27-b27
OS: Linux

Stacktrace: 
javax.swing.text.BadLocationException: Invalid (offset=504 + length=3925)=4429 > (docLen+1)=4399
   at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.checkBoundsInContent(EditorDocumentContent.java:304)
   at org.netbeans.modules.editor.lib2.document.EditorDocumentContent.getChars(EditorDocumentContent.java:225)
   at javax.swing.text.AbstractDocument.getText(AbstractDocument.java:814)
   at org.netbeans.editor.BaseDocument.find(BaseDocument.java:1195)
   at org.netbeans.editor.Utilities.getFirstNonWhiteBwd(Utilities.java:549)
   at org.netbeans.editor.Utilities.getFirstNonWhiteBwd(Utilities.java:535)
Comment 1 Exceptions Reporter 2013-06-17 08:14:02 UTC
Created attachment 135865 [details]
stacktrace
Comment 2 kosmonaffft 2014-02-14 04:37:29 UTC
Created attachment 145173 [details]
stacktrace

Edit CoffeeScript code...