Hi Walter,

We have fixed the NPE, but were not able to reproduce the problem with
erroneous rename.

Best regards,
Eugene Zhuravlev
IntelliJ Software, http://www.intellij.com/
"Develop with pleasure!"


----- Original Message -----
From: <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, February 14, 2002 17:57
Subject: [Eap-list] field rename bugs - build 604


> There seems to be a bugs with the variable renaming.
>
> in the following code segment if I try to rename _string to
> _differentString I get the following.
>
> BEFORE :
>
> private String _string = null;
>
> public String getString()
> {
> return _string;
> }
>
> public void setString(String string)
> {
> _string = string;
> }
>
> AFTER :
>
> private String _differentString = null;
>
> public String getDifferentString()
> {
> return differentString;
> }
>
> public void setDifferentString(String differentString)
> {
> differentString = differentString;
> }
>
> Notice that the _ is missing;
>
> Also note that my field and static prefix are set to _
>
> Also when doing the rename it sees that there are getter and setter
> methods and askes if I want to rename them as well.  If you select
> no, nothing is changed at all. but  I do get this exception on the
> console :
> Exception occurred during event dispatching:
> java.lang.NullPointerException
>         at com.intellij.refactoring.k.q.e(q.java:169)
>         at com.intellij.refactoring.k.q.a(q.java:43)
>         at com.intellij.refactoring.k.k.run(k.java:10)
>         at
> java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
>         at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
>         at
> java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
> read.java:131)
>         at
> java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
> ad.java:98)
>         at
> java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
>         at
> java.awt.EventDispatchThread.run(EventDispatchThread.java:85)
>
>
>
>
>
> Walt
> *****************************************************
> Walter Szewelanczyk
> IS Director
> M.W. Sewall & CO.        email : [EMAIL PROTECTED]
> 259 Front St.            Phone : (207) 442-7994 x 128
> Bath, ME 04530           Fax   : (207) 443-6284
> *****************************************************
>
>
> _______________________________________________
> Eap-list mailing list
> [EMAIL PROTECTED]
> http://www.intellij.com/mailman/listinfo/eap-list


_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list

Reply via email to