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 Dev (Build 200807101204) VM: Java HotSpot(TM) Client VM, 11.0-b13, Java(TM) SE Runtime Environment, 1.6.0_10-rc-b26 OS: Linux, 2.6.24-19-generic, i386 User Comments: I invoked "Change method parameters" inside the protected constructor with no parameters - inside of the brackets of: protected Bean(/*CARET WAS HERE*/) {/**/}
Created attachment 64515 [details] stacktrace
To reproduce the issue: Download a sample project called "Default" from http://wiki.netbeans.org/TS_60_Refactoring, extract it to /home/tester/Desktop (required due to userdir) and try to invoke Change Method Parameters for the constructor of Bean class (Bean.java)... Start IDE with a userdir I will send you...
Created attachment 64516 [details] Userdir where the exception occured, created using normal work...
Created attachment 64520 [details] .... Sorry, I didn't set the correct mime-type before...
There is a class/filename name typo class: org.netbeans.tests.examples.packb.BeanD file: /home/tester/Desktop/default/src/org/netbeans/tests/examples/packb/BeansD.java according to messages.log from your userdir. Anyway it appears to be another case of issue 120577. *** This issue has been marked as a duplicate of 120577 ***
Hi! No, there is NOT a typo in the description! The class name is Bean (no letters appended), file is bean.java.... This class file is located under "Source Packages > org.netbeans.tests.examples" in the project "default" (http://wiki.netbeans.org/TS_60_Refactoring). Just place the caret between brackets of the constructor of Bean class and invoke Change Method Parameters... (Possibly an IDE log shows something about BeanD... I don't know...) (Is this issue really duplicate? That one speaks about rename (Ctrl+R).)
There is a name inconsistence according to your messages.log as I wrote before. The log shows the situation from javac perspective. Javac cannot resolve the ElementHandle. The reason of both issues seems to be the same, type element/file name. Therefore it is a duplicate.
OK, I see - VERIFIED (just - to reproduce the issue, do it with the Bean class:), not BeanD class - I do not make anz tzpos;))...