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.
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)
Created attachment 76133 [details] stacktrace
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
*** This issue has been marked as a duplicate of 152775 ***