I add the following line:

this.actions = null;

Where actions is not defined, clicking alt-enter on actions gives the
exception below, it should either not offer to autocreate a field if it has
no idea what type it is, or just have no suggested types and allow me to
enter one in the field declaration.

com.intellij.util.p: Cannot create field with type "null".
        at com.intellij.psi.impl.l.a(l.java:252)
        at com.intellij.codeInsight.intention.x.b(x.java:1)
        at com.intellij.codeInsight.intention.v.b(v.java:15)
        at com.intellij.codeInsight.intention.bg.run(bg.java:2)
        at com.intellij.openapi.c.a.b.b(b.java:160)
        at com.intellij.codeInsight.intention.bf.run(bf.java:4)
        at 
com.intellij.command.impl.CommandProcessorImpl.a(CommandProcessorImpl.java:2
)
        at com.intellij.codeInsight.intention.be.run(be.java)
        at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:337)
        at com.intellij.ide.c.dispatchEvent(c.java:40)
        at 
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.ja
va:131)
        at 
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java
:98)
        at 
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)



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

Reply via email to