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 256934 - IllegalArgumentException: len=-1 < 0
Summary: IllegalArgumentException: len=-1 < 0
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
Depends on:
Reported: 2015-12-02 16:23 UTC by Exceptions Reporter
Modified: 2016-11-28 10:27 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 221470

stacktrace (4.02 KB, text/plain)
2015-12-02 16:23 UTC, Exceptions Reporter

Note You need to log in before you can comment on or make changes to this bug.
Description Exceptions Reporter 2015-12-02 16:23:57 UTC
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:

java.lang.IllegalArgumentException: len=-1 < 0
   at org.netbeans.editor.BaseDocument.handleRemove(
   at org.netbeans.editor.BaseDocument$FilterBypassImpl.remove(
   at javax.swing.text.DocumentFilter.remove(
   at org.openide.text.CloneableEditorSupport$DocFilter.remove(
   at org.netbeans.editor.BaseDocument.remove(
   at org.netbeans.modules.web.core.syntax.completion.api.JspCompletionItem$
Comment 1 Exceptions Reporter 2015-12-02 16:23:58 UTC
Created attachment 157619 [details]
Comment 2 soldatov 2016-05-04 15:06:05 UTC
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
Comment 3 Exceptions Reporter 2016-11-28 10:27:04 UTC
This bug already has 5 duplicates