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.
This bug was originally marked as duplicate of bug 120577, that is already resolved. This bug is still valid, so this seems to be another bug, but it might be related. Build: NetBeans IDE Dev (Build 091216-e04e6ba23600) VM: Java HotSpot(TM) Client VM, 14.3-b01, Java(TM) SE Runtime Environment, 1.6.0_17-b04 OS: Linux, 2.6.31-16-generic, i386 User Comments: mjr_1974: Renaming a method of an implemented interface. The message of the exception refers to a file I deleted. I cleaned and compiled everything before retrying, but the message refering to this file still exists. jglick: Trying to rename a method in a nested interface. hellochar: renaming interface method GUEST: Trying to rename a method which. GUEST: Tried to rename public abstract API method in a public package which is implemented in another module matthies: Attempting to refactor-renam an interface method. mikemaughan: Refactoring a method that is protected and overridden in multiple classes. The class that the error seems to point to has given multiple errors in the past. Merely scrolling through the file has thrown errors in previous netbeans versions. jonast: Refactoring a function in an interface Stacktrace: java.lang.NullPointerException: #120577: Cannot resolve ElementHandle[kind=OTHER; sigs=org.netbeans.modules.apisupport.project.queries.ClassPathProviderImpl$1 ]; file: /space/src/nb/core-main/apisupport.project/src/org/netbeans/modules/apisupport/project/queries/ClassPathProviderImpl.java at org.netbeans.modules.refactoring.java.RetoucheUtils.getOverridingMethods(RetoucheUtils.java:222) at org.netbeans.modules.refactoring.java.plugins.RenameRefactoringPlugin$2.run(RenameRefactoringPlugin.java:402) at org.netbeans.modules.refactoring.java.plugins.RenameRefactoringPlugin$2.run(RenameRefactoringPlugin.java:369) at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:471) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:129) at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:113)
Created attachment 92731 [details] stacktrace
Created attachment 93577 [details] stacktrace Renamed a method called addChild to add (ValidationItem item, boolean disableUI). Refactored an existing method add(ValidationItem) to add boolean parameter disableUI - so it would have exactly the same signature as the previously renamed method (i.e. I *wanted* uncompilable code, so that I would actually refactor all calls to add(ValidationItem) to now call the newly changed method. Tried to rename *another* method, addWithDisabledUI(ValidationItem item) to "add". Exception was thrown.
Created attachment 93924 [details] stacktrace Exception is referring to a class I deleted several hours ago. Attempting to refactor a package-private method name in the same package as the one I deleted (WrapTransaction). I have done considerable renaming and moving of classes since that time (including several renames of classes from and back to the same name)
Created attachment 96248 [details] stacktrace Refactor rename.
This bug already has 20 duplicates see http://statistics.netbeans.org/exceptions/detail.do?id=163736
Created attachment 97472 [details] stacktrace
*** Bug 181408 has been marked as a duplicate of this bug. ***
*** Bug 181621 has been marked as a duplicate of this bug. ***
Precise steps to reproduce will be needed, IMO.
Created attachment 99798 [details] stacktrace Tried to refactor rename
Created attachment 101977 [details] stacktrace Method rename
*** This bug has been marked as a duplicate of bug 120577 ***