|
Added a private static member to a class. Idea popped up
Alt-Enter for the import for the class, then typed the initializer portio up to
"fo" and hit Shift-Space. See below. Cursor at end of line. The method it
should've hit is Log.forClass( <arg> ). This method definitely
exists.
private static Log log = Log.fo|
This gave the internal error and the following
exception:
Win 2K SP2 JDK 1.3.1.
java.lang.NullPointerException
at com.intellij.psi.impl.source.a.h.a(h.java:46) at com.intellij.psi.impl.source.a.a.a(a.java:190) at com.intellij.psi.impl.source.ce.f(ce.java:42) at com.intellij.codeInsight.daemon.impl.c.b(c.java:49) at com.intellij.codeInsight.daemon.impl.c.b(c.java:18) at com.intellij.codeInsight.daemon.impl.e.run(e.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.daemon.impl.f.run(f.java:2) at com.intellij.command.a.b.a(b.java:24) at com.intellij.codeInsight.daemon.impl.c.a(c.java:12) at com.intellij.codeInsight.daemon.impl.c.a(c.java:34) at com.intellij.codeInsight.daemon.impl.d.actionPerformed(d.java:2) at com.intellij.ui.bu.a(bu.java:20) at com.intellij.ui.bu.a(bu.java:55) at com.intellij.ui.da.actionPerformed(da.java) at javax.swing.JComponent$ActionStandin.actionPerformed(JComponent.java:2377) at javax.swing.SwingUtilities.notifyAction(SwingUtilities.java:1384) at javax.swing.JComponent.processKeyBinding(JComponent.java:2078) at javax.swing.JComponent.processKeyBindings(JComponent.java:2115) at javax.swing.JComponent.processKeyEvent(JComponent.java:2041) 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:914) 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) |
