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 157302 - IllegalArgumentException: No highlight contains the caret.
Summary: IllegalArgumentException: No highlight contains the caret.
Status: RESOLVED DUPLICATE of bug 152775
Alias: None
Product: cnd
Classification: Unclassified
Component: -- Other -- (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: Vladimir Voskresensky
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2009-01-22 12:44 UTC by aleder
Modified: 2009-02-19 20:30 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter: 119626


Attachments
stacktrace (2.78 KB, text/plain)
2009-01-22 12:44 UTC, aleder
Details

Note You need to log in before you can comment on or make changes to this bug.
Description aleder 2009-01-22 12:44:21 UTC
Build: NetBeans IDE 6.5 (Build 200811100001)
VM: Java HotSpot(TM) Client VM, 11.0-b12, Java(TM) SE Runtime Environment, 1.6.0_10-beta-b25
OS: Linux, 2.6.24-23-generic, i386

User Comments:
aleder: I used to refactor local variables of a function for a several times.

When I tried to refactor already refactored one variable the NetBeans failed to do this and threw an exception.

aleder: I used to refactor local variables of a function for a several times.

When I tried to refactor already refactored one variable the NetBeans failed to do this and threw an exception.



Stacktrace: 
java.lang.IllegalArgumentException: No highlight contains the caret.
        at org.netbeans.modules.cnd.refactoring.actions.InstantRenamePerformer.<init>(InstantRenamePerformer.java:124)
        at org.netbeans.modules.cnd.refactoring.actions.InstantRenamePerformer.performInstantRename(InstantRenamePerformer.java:233)
        at org.netbeans.modules.cnd.refactoring.actions.InstantRenamePerformer.doInstantRename(InstantRenamePerformer.java:216)
        at org.netbeans.modules.cnd.refactoring.actions.InstantRenamePerformer.invokeInstantRename(InstantRenamePerformer.java:176)
        at org.netbeans.modules.cnd.refactoring.actions.InstantRenameAction.actionPerformed(InstantRenameAction.java:65)
        at org.netbeans.editor.BaseAction.actionPerformed(BaseAction.java:297)
Comment 1 aleder 2009-01-22 12:44:29 UTC
Created attachment 76133 [details]
stacktrace
Comment 2 Vladimir Voskresensky 2009-01-22 12:57:12 UTC
Do you have 6.5 with installed Patch 1? You can attach your messages.log file and I will check if you don't know.

It looks very much as fixed in patch1 IZ#152775
http://www.netbeans.org/issues/show_bug.cgi?id=152775
Comment 3 Vladimir Voskresensky 2009-02-10 16:43:38 UTC

*** This issue has been marked as a duplicate of 152775 ***