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.
Steps to reproduce: - Copy the code to the editor: ------------------------------------------------- var radius = 20.0; ------------------------------------------------- - Rename the varibale name to 'a' The exception pops up: java.io.IOException at org.netbeans.modules.javafx.refactoring.impl.RenameRefactoringElement.init(RenameRefactoringElement.java:176) at org.netbeans.modules.javafx.refactoring.impl.RenameRefactoringElement.<init>(RenameRefactoringElement.java:81) at org.netbeans.modules.javafx.refactoring.impl.RenameRefactoringElement.create(RenameRefactoringElement.java:69) at org.netbeans.modules.javafx.refactoring.impl.RenameRefactoringPlugin.prepare(RenameRefactoringPlugin.java:238) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare2(AbstractRefactoring.java:419) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:403) at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:214) at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:803) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:602) [catch] at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:1070)
Created attachment 87583 [details] IDE log file
netbeans-trunk-nightly-200909132344-javafx-full.zip 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.
Should be fixed in http://hg.netbeans.org/javafx/rev/3817b2819103
The issue is still reproduced in the netbeans-trunk-nightly-200909201401-javafx-full.zip
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 - http://hg.netbeans.org/javafx/rev/dce2fce5385a
verified in netbeans-6.8beta-200909281634-javafx-full.zip