Hani, This is fixed in build #616.
Best regards, Mike Aizatsky. ------------------------------ JetBrains, Inc / IntelliJ Software http://www.intellij.com "Develop with pleasure!" > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On > Behalf Of Hani Suleiman > Sent: Monday, April 08, 2002 9:24 PM > To: [EMAIL PROTECTED] > Subject: [Eap-list] Error with codeinsight create field > > 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.ja va > :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(EventDispatchThrea d. > ja > va:131) > at > java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread. ja > va > :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 _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
