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 - javax.swing.text.BadLocationException: Wrong insert position -536859921
Summary: javax.swing.text.BadLocationException: Wrong insert position -536859921
Status: RESOLVED WONTFIX
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 8.0
Hardware: All All
: P4 normal (vote)
Assignee: Ralph Ruijs
URL:
Keywords:
Depends on:
Blocks: 215138
  Show dependency tree
 
Reported: 2013-11-30 15:24 UTC by markiewb
Modified: 2016-07-07 07:16 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 205686


Attachments
stacktrace (2.96 KB, text/plain)
2013-11-30 15:24 UTC, markiewb
Details

Note You need to log in before you can comment on or make changes to this bug.
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