Try in the code below to use create method intention (Alt-Enter
when the cursor near f()). You should get an "Internal error
occurred" dialog and NPE.
Timur Zambalayev
=================================================================
class Foo {
static {
f();
}
}
=================================================================
=================================================================
[ 15953] ERROR - mand.impl.CommandProcessorImpl -
[ 15953] ERROR - mand.impl.CommandProcessorImpl - IntelliJ IDEA (Ariadna)
Bu
ild #616
[ 15953] ERROR - mand.impl.CommandProcessorImpl - JDK: 1.3.1_03
[ 15953] ERROR - mand.impl.CommandProcessorImpl - VM: Java HotSpot(TM)
Client
VM
[ 15953] ERROR - mand.impl.CommandProcessorImpl - Vendor: Sun Microsystems
Inc
.
[ 15953] ERROR - mand.impl.CommandProcessorImpl - OS: Windows 2000
[ 15953] ERROR - mand.impl.CommandProcessorImpl -
java.lang.NullPointerException
at com.intellij.codeInsight.intention.z.b(z.java:96)
at com.intellij.codeInsight.intention.v.b(v.java:19)
at com.intellij.codeInsight.intention.bg.run(bg.java:1)
at com.intellij.openapi.a.a.b.b(b.java:8)
at com.intellij.codeInsight.intention.bf.run(bf.java:2)
at
com.intellij.command.impl.CommandProcessorImpl.a(CommandProcessorImpl
.java:8)
at com.intellij.codeInsight.intention.be.run(be.java:1)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:149)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:332)
at com.intellij.ide.c.dispatchEvent(c.java:26)
at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:126)
at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:93)
at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:88)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:80)
_______________________________________________
Eap-list mailing list
[EMAIL PROTECTED]
http://www.intellij.com/mailman/listinfo/eap-list