Please use the Apache issue tracking system for new NetBeans issues ( !!

Bug 177212

Summary: Refactor/Rename doesn't work within overriden function
Product: javafx Reporter: Andrei Chistiakov <ca-nb>
Component: UnsupportedAssignee: J Bachorik <yardus>
Status: VERIFIED FIXED QA Contact: issues <>
Priority: P3 CC: sustaining
Version: 6.xKeywords: RELNOTE
Target Milestone: 6.x   
Hardware: PC   
OS: Windows XP   
Whiteboard: 68patch1-verified
Issue Type: DEFECT Exception Report:
Attachments: sample app

Description Andrei Chistiakov 2009-11-19 08:24:05 UTC
Created attachment 91356 [details]
sample app

Product Version: NetBeans IDE Dev (Build 200911190201)
Java: 1.6.0_16; Java HotSpot(TM) Client VM 14.2-b01
System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb)

To reproduce:
- open the attached project
- open NewJavaDXClass.fx
- refactor/rename NewJavaFXClass class name to NewJavaFXClass1
- build the project

C:\MyProjects\JavaFXApplication3\src\javafxapplication3\Main.fx:14: cannot find symbol
symbol  : class NewJavaFXClass
location: class NewJavaFXClass1$anon1
                    var d = NewJavaFXClass {};
1 error
ERROR: javafxc execution failed, exit code: 1
C:\MyProjects\JavaFXApplication3\nbproject\build-impl.xml:143: exec returned: -1
BUILD FAILED (total time: 0 seconds)
Comment 1 Lukas Hasik 2009-11-26 06:41:48 UTC
Jardo, it seems that the "Find Usages" and "Refactor > Rename" isn't reliable in some cases. It's worth to include some message about it in release notes. Easily reproducible when I verified #148890
Comment 2 J Bachorik 2009-12-10 03:04:56 UTC
fixed by dropping TreePathHandle abstraction (
Comment 3 Alexandr Scherbatiy 2009-12-14 02:28:21 UTC
verified in NetBeans-JavaFX-Soma:  #65
Comment 4 rbalada 2010-01-27 07:21:14 UTC
The changeset has been ported into release68_fixes branch as
Comment 5 Alexandr Scherbatiy 2010-01-28 03:35:38 UTC
Verified in NB 6.8 Patch1 2010-01-28_00-36-51
By use of this website, you agree to the NetBeans Policies and Terms of Use. © 2014, Oracle Corporation and/or its affiliates. Sponsored by Oracle logo