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.
Product Version: NetBeans IDE Dev (Build 070702) Java: 1.6.0; Java HotSpot(TM) Client VM 1.6.0-b105 System: Windows XP version 5.1 running on x86; Cp1251; ru_RU (nb) Userdir: C:\Documents and Settings\Manowar\.netbeans\dev NPE during rename of interface method implemented in other classes.
Created attachment 44667 [details] exception stacktrace
Cannot reproduce, please provide steps to reproduce.
Yes. Rename refactoring works fine in relative simple situations like inside one class. It seems doesn't work for inheritance. I have interface and a lot of implementations of it. I need to rename method name in the interface and all implementations accordingly. Please open mobility/designer2/midp project and try to rename PropertyEditorElement.setText() to new name setTextForPropertyValue() . This is exactly what I need.
Works for me. I opened PropertyEditorElement, its project, and all dependent projects and I renamed setText to setTextForPropertyValue. I requested preview and I see 21 occurrences. But I didn't push refactor. Doesn't seem to be reproducible.
I can reproduce it. In the preview i've got only 20 occurrences found and after performing all usages in org.netbeans.modules.vmd.midp.propertyeditors.eventhandler packages stays unchanged. During the preparation of preview there was exception logged into console, but I'm not user if its somehow related. Product Version: NetBeans IDE Dev (Build 200707040327) Java: 1.5.0_12; Java HotSpot(TM) Client VM 1.5.0_12-b04 System: Linux version 2.6.5-1.358 running on i386; UTF-8; en_US (nb) Userdir: /space/u6 Full installation java.lang.NullPointerException at org.netbeans.modules.websvc.wsitconf.wsdlmodelext.WSITModelSupport.getModelForServiceFromJava(WSITModelSupport.java:369) at org.netbeans.modules.websvc.wsitconf.refactoring.WSITRefactoringPlugin$1.run(WSITRefactoringPlugin.java:115) at org.netbeans.modules.websvc.wsitconf.refactoring.WSITRefactoringPlugin$1.run(WSITRefactoringPlugin.java:99) at org.netbeans.api.java.source.JavaSource.runUserActionTask(JavaSource.java:563) at org.netbeans.modules.websvc.wsitconf.refactoring.WSITRefactoringPlugin.prepare(WSITRefactoringPlugin.java:93) at org.netbeans.modules.refactoring.api.AbstractRefactoring.pluginsPrepare(AbstractRefactoring.java:327) at org.netbeans.modules.refactoring.api.AbstractRefactoring.prepare(AbstractRefactoring.java:177) at org.netbeans.modules.refactoring.spi.impl.ParametersPanel$Prepare.run(ParametersPanel.java:724) at org.openide.util.RequestProcessor$Task.run(RequestProcessor.java:539) at org.openide.util.RequestProcessor$Processor.run(RequestProcessor.java:964)
Please fix this NPE. Your refactoring plugin should not be enabled in this case I guess.
This has been fixed some time ago.
*** Issue 114313 has been marked as a duplicate of this issue. ***