Trying to inline method hello() in Test2 ("This invokation only...") leads
to the appended NPE:
public class Test1 {
protected static final String hello() {
return "Hello";
}
}
public class Test2 extends Test1 {
private static final int hashCode = hello().hashCode();
}
Best regards,
Thomas Singer
[command] IntelliJ IDEA 2.5.1 build #545
[command] JDK: 1.3.1
[command] VM: Java HotSpot(TM) Client VM
[command] Vendor: Sun Microsystems Inc.
[command] OS: Windows NT
[command] java.lang.NullPointerException
[command] at com.intellij.refactoring.g.m.a(m.java:13)
[command] at com.intellij.refactoring.g.m.c(m.java:35)
[command] at com.intellij.refactoring.l.i.run(i.java:19)
[command] at com.intellij.usageView.e.run(e.java:2)
[command] at com.intellij.psi.impl.r.a(r.java:69)
[command] at com.intellij.usageView.d.run(d.java:2)
[command] at com.intellij.command.a.c.a(c.java:61)
[command] at com.intellij.usageView.f.run(f.java:2)
[command] at com.intellij.usageView.h.run(h.java:2)
[command] at
com.intellij.progress.ProgressManager.a(ProgressManager.java:10)
[command] at com.intellij.usageView.c.b(c.java:25)
[command] at com.intellij.usageView.c.c(c.java:4)
[command] at com.intellij.usageView.g.run(g.java:2)
[command] at java.lang.Thread.run(Thread.java:484)
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list