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 239005

Summary: javax.swing.text.BadLocationException: Wrong insert position -536859921
Product: java Reporter: markiewb
Component: RefactoringAssignee: Ralph Ruijs <ralphbenjamin>
Status: RESOLVED WONTFIX    
Severity: normal    
Priority: P4    
Version: 8.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 205686
Bug Depends on:    
Bug Blocks: 215138    
Attachments: stacktrace

Description markiewb 2013-11-30 15:24:06 UTC
Build: NetBeans IDE Dev (Build 201311280002)
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:
markiewb: I pressed ENTER too fast while instant renaming a method argument




Stacktrace: 
javax.swing.text.BadLocationException: Wrong insert position -536859921
   at org.netbeans.editor.BaseDocument.handleInsertString(BaseDocument.java:771)
   at org.netbeans.editor.BaseDocument$FilterBypassImpl.insertString(BaseDocument.java:2497)
   at javax.swing.text.DocumentFilter.insertString(DocumentFilter.java:100)
   at org.openide.text.CloneableEditorSupport$DocFilter.insertString(CloneableEditorSupport.java:2321)
   at org.netbeans.editor.BaseDocument.insertString(BaseDocument.java:755)
   at org.netbeans.api.java.source.ModificationResult.processDocumentLocked(ModificationResult.java:437)
Comment 1 markiewb 2013-11-30 15:24:08 UTC
Created attachment 142745 [details]
stacktrace
Comment 2 Ralph Ruijs 2014-01-22 10:27:16 UTC
The instant rename popup has been disabled in 8.0 (bug 215138, comment 7)
Comment 3 Martin Balin 2016-07-07 07:16:46 UTC
This old bug may not be relevant anymore. If you can still reproduce it in 8.2 development builds please reopen this issue.

Thanks for your cooperation,
NetBeans IDE 8.2 Release Boss