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 135486 - NullPointerException at org.netbeans.modules.refactoring.java.plugins.RenameTransformer.getOldSimpleName
Summary: NullPointerException at org.netbeans.modules.refactoring.java.plugins.RenameT...
Status: RESOLVED DUPLICATE of bug 120577
Alias: None
Product: java
Classification: Unclassified
Component: Refactoring (show other bugs)
Version: 6.x
Hardware: All All
: P3 blocker (vote)
Assignee: issues@java
URL: http://statistics.netbeans.org/except...
Keywords:
Depends on:
Blocks:
 
Reported: 2008-05-21 12:19 UTC by arulraj1985
Modified: 2009-04-22 14:34 UTC (History)
8 users (show)

See Also:
Issue Type: DEFECT
Exception Reporter: 40495


Attachments
stacktrace (1.85 KB, text/plain)
2008-05-21 12:19 UTC, arulraj1985
Details
messages.log (67.27 KB, text/plain)
2008-12-09 06:38 UTC, _ gtzabari
Details

Note You need to log in before you can comment on or make changes to this bug.
Description arulraj1985 2008-05-21 12:19:23 UTC
Build: NetBeans IDE 6.0 (Build 200711261600)
VM: Java HotSpot(TM) Client VM, 1.6.0-b105
OS: Windows XP, 5.1, x86

User Comments:
Comment 1 arulraj1985 2008-05-21 12:19:36 UTC
Created attachment 61673 [details]
stacktrace
Comment 2 Jan Becicka 2008-05-28 15:25:54 UTC
Already fixed.
Comment 3 Exceptions Reporter 2008-10-20 16:59:03 UTC
Reopening - reproduced in NetBeans IDE Dev (Build 200810170201)
http://statistics.netbeans.org/exceptions/detail.do?id=131044
Comment 4 Jiri Prox 2008-10-21 16:13:55 UTC
Can you provide any steps to reproduce, please?
Comment 5 rdelaplante 2008-10-23 17:21:00 UTC
I have a maven2 project that has a UserInfo object, and many places in the code that use it.

In the test sources part of my Maven2 project I created a new class in the same package as UserInfo, called UserInfo.  I
realized that I should have called this class UserInfoTest so I used the rename refactoring to rename the class.  It
ended up changing my main project sources, not just the test sources.  Everywhere in the main project that used UserInfo
now was using UserInfoTest which does not exist.. causing lots of errors.   That is when this exception happened.



Comment 6 _ gtzabari 2008-12-09 06:38:56 UTC
Created attachment 74731 [details]
messages.log
Comment 7 Jan Pokorsky 2009-04-22 14:34:28 UTC
It is known problem of failing ElementHandle.resolve.

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