Hello,
 
As the attached screen snapshot shows, I hit alt-enter next to an undefined method, in order to define it.
I get an internal error with the early access version of IDEA 3. (I think this happens with 2.5 also).
 
This happens only with methods to be defined in another class; fields are OK. Also, methods in the same class are defined fine.
 

Sriram.
------------------------------------------------------------------------------------------------------------------------------------------------------

[1514208]  ERROR -       com.intellij.command.a.b -
[1514208]  ERROR -       com.intellij.command.a.b - IntelliJ IDEA (Ariadna)   Bu
ild #610
[1514208]  ERROR -       com.intellij.command.a.b - JDK: 1.3.1_03
[1514208]  ERROR -       com.intellij.command.a.b - VM: Java HotSpot(TM) Server
VM
[1514208]  ERROR -       com.intellij.command.a.b - Vendor: Sun Microsystems Inc
.
[1514208]  ERROR -       com.intellij.command.a.b - OS: Windows 2000
[1514228]  ERROR -       com.intellij.command.a.b -
java.lang.IllegalArgumentException
        at com.intellij.psi.impl.source.i.b(i.java:136)
        at com.intellij.codeInsight.intention.t.b(t.java:35)
        at com.intellij.codeInsight.intention.p.b(p.java:75)
        at com.intellij.codeInsight.intention.z.run(z.java:3)
        at com.intellij.psi.impl.o.run(o.java:4)
        at com.intellij.vfs.VirtualFileManager.b(VirtualFileManager.java:8)
        at com.intellij.psi.impl.v.c(v.java:58)
        at com.intellij.codeInsight.intention.y.run(y.java)
        at com.intellij.command.a.b.a(b.java:2)
        at com.intellij.codeInsight.intention.x.run(x.java:1)
        at java.awt.event.InvocationEvent.dispatch(Unknown Source)
        at java.awt.EventQueue.dispatchEvent(Unknown Source)
        at com.intellij.ide.c.dispatchEvent(c.java)
        at java.awt.EventDispatchThread.pumpOneEventForHierarchy(Unknown Source)

        at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
        at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
        at java.awt.EventDispatchThread.run(Unknown Source)

Attachment: screen.gif
Description: GIF image

Reply via email to