Hi

Got this occasionally yesterday but couldn't reproduce it consistently.

I highlighted a line of code using the mouse and the pressed CTRL-ALT-T for
the surround with menu, on pressing "A" for {} I got an internal error and
the following in the console.

I think I also got it yesterday with the try{}catch{} option.

regards

kevin

[3228612]  ERROR -       com.intellij.command.a.b -
java.lang.NullPointerException
        at com.intellij.codeInsight.generation.surroundWith.u.a(u.java:32)
        at com.intellij.codeInsight.generation.surroundWith.c.a(c.java:0)
        at com.intellij.codeInsight.generation.surroundWith.h.a(h.java:8)
        at com.intellij.codeInsight.bb.run(bb.java:2)
        at com.intellij.psi.impl.o.run(o.java:0)
        at com.intellij.vfs.VirtualFileManager.b(VirtualFileManager.java:17)
        at com.intellij.psi.impl.v.c(v.java:324)
        at com.intellij.codeInsight.ba.run(ba.java:1)
        at com.intellij.command.a.b.a(b.java:24)
        at com.intellij.codeInsight.z.actionPerformed(z.java:3)
        at com.intellij.codeInsight.d.keyPressed(d.java:8)
        at
java.awt.AWTEventMulticaster.keyPressed(AWTEventMulticaster.java:191)

        at java.awt.Component.processKeyEvent(Component.java:3677)
        at javax.swing.JComponent.processKeyEvent(JComponent.java:2014)
        at java.awt.Component.processEvent(Component.java:3553)
        at java.awt.Container.processEvent(Container.java:1164)
        at java.awt.Component.dispatchEventImpl(Component.java:2593)
        at java.awt.Container.dispatchEventImpl(Container.java:1213)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at
java.awt.LightweightDispatcher.processKeyEvent(Container.java:2155)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2135)
        at java.awt.Container.dispatchEventImpl(Container.java:1200)
        at java.awt.Window.dispatchEventImpl(Window.java:926)
        at java.awt.Component.dispatchEvent(Component.java:2497)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:339)
        at com.intellij.ide.c.dispatchEvent(c.java:21)
        at
java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchTh
read.java:131)
        at
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThre
ad.java:98)
        at
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:85)



-----------------------------------------------------------------------------
Baltimore Technologies plc will not be liable for direct,  special,  indirect 
or consequential  damages  arising  from  alteration of  the contents of this
message by a third party or as a result of any virus being passed on.

This footnote confirms that this email message has been swept by
Baltimore MIMEsweeper for Content Security threats, including
computer viruses.
   http://www.baltimore.com


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

Reply via email to