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 199733 - IllegalArgumentException: LOCAL_VARIABLE
Summary: IllegalArgumentException: LOCAL_VARIABLE
Status: RESOLVED FIXED
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 7.0
Hardware: All All
: P2 normal (vote)
Assignee: Jan Becicka
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2011-06-27 13:59 UTC by Ralph Ruijs
Modified: 2013-05-21 12:25 UTC (History)
1 user (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 179583


Attachments
stacktrace (5.89 KB, text/plain)
2011-06-27 13:59 UTC, Ralph Ruijs
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Ralph Ruijs 2011-06-27 13:59:13 UTC
Build: NetBeans IDE Dev (Build 20110627-a30c779aa91e)
VM: Java HotSpot(TM) 64-Bit Server VM, 19.1-b02, Java(TM) SE Runtime Environment, 1.6.0_24-b07
OS: Linux

User Comments:
ralphbenjamin: Rename a local variable using the rename dialog (Refactor->Rename).




Stacktrace: 
java.lang.IllegalArgumentException: LOCAL_VARIABLE
   at org.netbeans.api.java.source.ElementHandle.createImpl(ElementHandle.java:443)
   at org.netbeans.api.java.source.ElementHandle.create(ElementHandle.java:387)
   at org.netbeans.modules.refactoring.java.ui.RenameRefactoringUI.<init>(RenameRefactoringUI.java:101)
   at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$1.createRefactoringUI(RefactoringActionsProvider.java:161)
   at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.java:831)
   at org.netbeans.modules.refactoring.java.ui.RefactoringActionsProvider$TextComponentTask.run(RefactoringActionsProvider.java:754)
Comment 1 Ralph Ruijs 2011-06-27 13:59:16 UTC
Created attachment 109128 [details]
stacktrace
Comment 2 Ralph Ruijs 2011-06-27 14:06:10 UTC
Also happens when trying to rename a parameter.
Comment 3 Jan Becicka 2011-06-30 12:34:21 UTC
Changeset: http://hg.netbeans.org/jet-main/rev/5a022c9c3302
Author:    Jan Becicka <jbecicka@netbeans.org>
Date:      2011-06-30 14:31
Message:   
Issue #199733 - IllegalArgumentException: LOCAL_VARIABLE
Comment 4 Quality Engineering 2011-07-01 14:02:55 UTC
Integrated into 'main-golden', will be available in build *201107010600* on http://bits.netbeans.org/dev/nightly/ (upload may still be in progress)
Changeset: http://hg.netbeans.org/main/rev/5a022c9c3302
User: Jan Becicka <jbecicka@netbeans.org>
Log: Issue #199733 - IllegalArgumentException: LOCAL_VARIABLE