Btw, I noticed it created XField class which extends XField! That's probably what caused it to break.
Anyway, I really think you should make the light bulb more general. For example say I type ResourceManager which I intend to create a class for when the bulb appears, but it happens that somewhere in JDK a class named ResourceManager is already defined, so no bulb appears and it suggests to import that class,so I have to go select the package and add this class manually. You should consolidate all these smart actions in the bulb imho, or maybe that's what you're working on currently? :o) Ara. > -----Original Message----- > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] On > Behalf Of Mike Aizatsky > Sent: Saturday, February 16, 2002 4:33 PM > To: [EMAIL PROTECTED] > Subject: RE: [Eap-list] create class internal error > > Ara, > > It will be fixed in one of the nearest builds. > > Best regards, > Mike Aizatsky. > ------------------------------ > IntelliJ Software, "Develop with pleasure!" http://www.intellij.com > > > > -----Original Message----- > > From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED]] > On > > Behalf Of Ara Abrahamian > > Sent: Friday, February 15, 2002 9:58 PM > > To: [EMAIL PROTECTED] > > Subject: [Eap-list] create class internal error > > > > Happened while I was typing: > > public final static XField[] ZERO_FIELDS = new XField[0]; > > And the light bulb came and suggested to create class XField and I > > accepted! I have two source paths, I selected the right one and this > > internal error happened: > > > > 2002-02-15 22:24:57,938 [14978475] ERROR - > > com.intellij.command.a.b - > > java.lang.NullPointerException > > at com.intellij.codeInsight.intention.m.a(m.java:12) > > at com.intellij.codeInsight.intention.t.b(t.java:1) > > at com.intellij.codeInsight.intention.s.b(s.java:51) > > at com.intellij.codeInsight.intention.ba.run(ba.java:2) > > at com.intellij.psi.impl.o.run(o.java:16) > > at > > com.intellij.vfs.VirtualFileManager.b(VirtualFileManager.java:18) > > at com.intellij.psi.impl.v.c(v.java:310) > > at com.intellij.codeInsight.intention.z.run(z.java:1) > > at com.intellij.command.a.b.a(b.java:32) > > at com.intellij.codeInsight.intention.y.run(y.java:2) > > at > > java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:154) > > at java.awt.EventQueue.dispatchEvent(EventQueue.java:337) > > at > > > java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThrea > > d.java: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) > > > > Ara. > > > > > > > > _________________________________________________________ > > Do You Yahoo!? > > Get your free @yahoo.com address at http://mail.yahoo.com > > > > > > _______________________________________________ > > 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 _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com _______________________________________________ Eap-list mailing list [EMAIL PROTECTED] http://www.intellij.com/mailman/listinfo/eap-list
