Hi,

Inline method:

    public static int method(){
        //TODO: bla, bla, bla
        return 1;
    }

with only one usage:

    private static final int FIELD_NAME = ClassName.method();

produces the following stacktrace:

[command] IntelliJ IDEA 2.5 build #536
[command] JDK: 1.3.1
[command] VM: Java HotSpot(TM) Client VM
[command] Vendor: Sun Microsystems Inc.
[command] OS: Windows 98
[command] java.lang.NullPointerException
[command]       at com.intellij.refactoring.g.m.a(m.java:225)
[command]       at com.intellij.refactoring.g.m.c(m.java:72)
[command]       at com.intellij.refactoring.l.i.run(i.java:7)
[command]       at com.intellij.usageView.e.run(e.java)
[command]       at com.intellij.psi.impl.r.a(r.java:420)
[command]       at com.intellij.usageView.d.run(d.java:2)
[command]       at com.intellij.command.a.c.a(c.java:9)
[command]       at com.intellij.usageView.f.run(f.java:1)
[command]       at com.intellij.usageView.h.run(h.java)
[command]       at
com.intellij.progress.ProgressManager.a(ProgressManager.java:10)
[command]       at com.intellij.usageView.c.b(c.java:6)
[command]       at com.intellij.usageView.c.c(c.java:14)
[command]       at com.intellij.usageView.g.run(g.java)
[command]       at java.lang.Thread.run(Thread.java:484)


Best Regards,
Rodolfo Toledo.




---------------------------------------------------------
This message sent using EMUmail -- http://www.emumail.com
---------------------------------------------------------

Jumping through hoops to get E-mail on the road? 
You've got two choices: Join the circus, or use MollyMail.

Molly Mail -- http://www.mollymail.com



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

Reply via email to