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 172145 - [Refactoring] renaming variable name throws IOException
Summary: [Refactoring] renaming variable name throws IOException
Alias: None
Product: javafx
Classification: Unclassified
Component: Unsupported (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: J Bachorik
Depends on:
Blocks: 173077
  Show dependency tree
Reported: 2009-09-14 10:05 UTC by Alexandr Scherbatiy
Modified: 2009-09-29 10:29 UTC (History)
0 users

See Also:
Issue Type: DEFECT
Exception Reporter:

IDE log file (51.70 KB, text/plain)
2009-09-14 10:05 UTC, Alexandr Scherbatiy

Note You need to log in before you can comment on or make changes to this bug.
Description Alexandr Scherbatiy 2009-09-14 10:05:19 UTC
Steps to reproduce:

- Copy the code to the editor:
var radius = 20.0;

- Rename the varibale name to 'a'

The exception pops up:
	at org.netbeans.modules.javafx.refactoring.impl.RenameRefactoringElement.init(
	at org.netbeans.modules.javafx.refactoring.impl.RenameRefactoringElement.<init>(
	at org.netbeans.modules.javafx.refactoring.impl.RenameRefactoringElement.create(
	at org.netbeans.modules.javafx.refactoring.impl.RenameRefactoringPlugin.prepare(
	at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(
	at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(
	at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(
	at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$
	at org.openide.util.RequestProcessor$
[catch] at org.openide.util.RequestProcessor$
Comment 1 Alexandr Scherbatiy 2009-09-14 10:05:51 UTC
Created attachment 87583 [details]
IDE log file
Comment 2 Alexandr Scherbatiy 2009-09-14 10:06:28 UTC 

  Product Version         = NetBeans IDE Dev (Build 200909132344) (#a16a818453db)
  Operating System        = Windows XP version 5.1 running on x86
  Java; VM; Vendor        = 1.6.0_15; Java HotSpot(TM) Client VM 14.1-b02; Sun Microsystems Inc.
Comment 3 J Bachorik 2009-09-15 10:57:30 UTC
Should be fixed in
Comment 4 Alexandr Scherbatiy 2009-09-21 09:15:21 UTC
The issue is still reproduced in the 
Comment 5 J Bachorik 2009-09-25 08:56:32 UTC
It is necessary to mention that this problem occurs only when invoking rename from the popup menu - otherwise the
instant rename is used which doesn't cause this exception.

fixing -
Comment 6 Alexandr Scherbatiy 2009-09-29 10:29:54 UTC
verified in