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.

Bug 192871

Summary: [70cat] NullPointerException: #120577: Cannot resolve ElementHandle[kind=CLASS; sigs=com.westdata.gwtmvp.cmvp.client.GwtTestCRUDEditComposite$3 ]; file: MasterFileObject[C:\clean\randy\gwtmvp\cmvp\src\test\ja
Product: java Reporter: rkamradt <rkamradt>
Component: RefactoringAssignee: Jan Becicka <jbecicka>
Status: RESOLVED DUPLICATE    
Severity: normal CC: ahmadnazif, aldobrucale, matthies, simpatico, tboudreau
Priority: P3    
Version: 7.0   
Hardware: All   
OS: All   
Issue Type: DEFECT Exception Reporter: 174676
Attachments: stacktrace

Description rkamradt 2010-12-04 14:44:41 UTC
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 7.0 Beta (Build 201011152355)
VM: Java HotSpot(TM) Client VM, 16.0-b13, Java(TM) SE Runtime Environment, 1.6.0_18-b07
OS: Windows XP

User Comments:
GUEST: Refactoring

aldobrucale: Method rename

GUEST: I was renaming a function.

GUEST: renaming method which was overriden, but overriding methods have had wrong number of arguments (not corresponding with this one)

GUEST: Java source file no longer exists!

ahmadnazif: I can't refactor some variable.

tboudreau: Tried to refactor rename

rkamradt: rename refactor

matthies: Refactor rename on a method.

GUEST: Refactoring the name of an Interface-method.

GUEST: Another attempt to rename the same method, this time from the interface instead of the implementing class, and after ensuring that the whole project is built and restarting the IDE.




Stacktrace: 
java.lang.NullPointerException: #120577: Cannot resolve ElementHandle[kind=CLASS; sigs=com.westdata.gwtmvp.cmvp.client.GwtTestCRUDEditComposite$3 ]; file: MasterFileObject[C:\clean\randy\gwtmvp\cmvp\src\test\java\com\westdata\gwtmvp\cmvp\client\GwtTestCRUDEditComposite.java@1424d53:1fa4961,valid=true]
   at org.netbeans.modules.refactoring.java.RetoucheUtils.getOverridingMethods(RetoucheUtils.java:230)
   at org.netbeans.modules.refactoring.java.plugins.RenameRefactoringPlugin$2.run(RenameRefactoringPlugin.java:414)
   at org.netbeans.modules.refactoring.java.plugins.RenameRefactoringPlugin$2.run(RenameRefactoringPlugin.java:375)
   at org.netbeans.api.java.source.JavaSource$MultiTask.run(JavaSource.java:483)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:154)
   at org.netbeans.modules.parsing.api.ParserManager$UserTaskAction.run(ParserManager.java:138)
Comment 1 rkamradt 2010-12-04 14:44:45 UTC
Created attachment 103593 [details]
stacktrace
Comment 2 Jan Becicka 2010-12-06 07:46:53 UTC

*** This bug has been marked as a duplicate of bug 120577 ***