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.
This bug was originally marked as duplicate of bug 225026, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE 8.1 (Build 201510222201) VM: Java HotSpot(TM) Client VM, 25.65-b01, Java(TM) SE Runtime Environment, 1.8.0_65-b17 OS: Windows 8.1 User Comments: GUEST: . Stacktrace: java.lang.IllegalArgumentException: len=-1 < 0 at org.netbeans.editor.BaseDocument.handleRemove(BaseDocument.java:945) at org.netbeans.editor.BaseDocument$FilterBypassImpl.remove(BaseDocument.java:2583) at javax.swing.text.DocumentFilter.remove(DocumentFilter.java:79) at org.openide.text.CloneableEditorSupport$DocFilter.remove(CloneableEditorSupport.java:2387) at org.netbeans.editor.BaseDocument.remove(BaseDocument.java:931) at org.netbeans.modules.web.core.syntax.completion.api.JspCompletionItem$1.run(JspCompletionItem.java:241)
Created attachment 157619 [details] stacktrace
Stable scenario: - Create empty C++ file - type cls and press TAB - Press Ctrl+R - Type new class name and press Refactor button ==> java.lang.IllegalArgumentException
This bug already has 5 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=221470