Title: NPE while debugging JUnit class
Hi Mike,
 
We have finally found the reason. You might have pressed the "close button" while debug session was in progress and was presented with the dialog asking whether you would really like to terminate the debug session. You answered "Cancel" and when you pressed "Debug" button again to start another debug session you got this exception.
This is fixed and will be available ASAP in update build.
Thanks a lot for reporting the bug!
 
Best regards,
Eugene Zhuravlev
IntelliJ Software, http://www.intellij.com/
"Develop with pleasure!"
----- Original Message -----
From: Liu, Mike
Sent: 10 December, 2001 11:05 PM
Subject: [Eap-list] NPE while debugging JUnit class

Exception occurred during event dispatching:
java.lang.NullPointerException
        at com.intellij.ide.e.b(e.java:8)
        at com.intellij.debugger.ui.impl.l.a(l.java:241)
        at com.intellij.debugger.ui.impl.l.a(l.java:155)
        at com.intellij.debugger.ui.impl.l.a(l.java:11)
        at com.intellij.debugger.ui.impl.n.run(n.java:1)
        at com.intellij.execution.RunManager.a(RunManager.java:28)
        at com.intellij.debugger.ui.impl.DebuggerUIImpl$DebugAgainAction.actionPerformed(DebuggerUIImpl.java:6)
        at com.intellij.jd.actions.bb.f(bb.java:84)
        at com.intellij.jd.actions.bb.processMouseEvent(bb.java:23)
        at java.awt.Component.processEvent(Component.java:3544)
        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.retargetMouseEvent(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        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 java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.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)
Exception occurred during event dispatching:
java.lang.NullPointerException
        at com.intellij.ide.e.b(e.java:8)
        at com.intellij.debugger.ui.impl.l.a(l.java:241)
        at com.intellij.debugger.ui.impl.l.a(l.java:155)
        at com.intellij.debugger.ui.impl.l.a(l.java:11)
        at com.intellij.debugger.ui.impl.n.run(n.java:1)
        at com.intellij.execution.RunManager.a(RunManager.java:28)
        at com.intellij.debugger.ui.impl.DebuggerUIImpl$DebugAgainAction.actionPerformed(DebuggerUIImpl.java:6)
        at com.intellij.jd.actions.bb.f(bb.java:84)
        at com.intellij.jd.actions.bb.processMouseEvent(bb.java:23)
        at java.awt.Component.processEvent(Component.java:3544)
        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.retargetMouseEvent(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)

        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        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 java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.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)
Exception occurred during event dispatching:
java.lang.NullPointerException
        at com.intellij.ide.e.b(e.java:8)
        at com.intellij.debugger.ui.impl.l.a(l.java:241)
        at com.intellij.debugger.ui.impl.l.a(l.java:155)
        at com.intellij.debugger.ui.impl.l.a(l.java:11)
        at com.intellij.debugger.ui.impl.n.run(n.java:1)
        at com.intellij.execution.RunManager.a(RunManager.java:28)
        at com.intellij.debugger.ui.impl.DebuggerUIImpl$DebugAgainAction.actionPerformed(DebuggerUIImpl.java:6)
        at com.intellij.jd.actions.bb.f(bb.java:84)
        at com.intellij.jd.actions.bb.processMouseEvent(bb.java:23)
        at java.awt.Component.processEvent(Component.java:3544)
        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.retargetMouseEvent(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        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 java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.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)
Exception occurred during event dispatching:
java.lang.NullPointerException
        at com.intellij.ide.e.b(e.java:8)
        at com.intellij.debugger.ui.impl.l.a(l.java:8)
        at com.intellij.debugger.ui.impl.l.a(l.java:315)
        at com.intellij.debugger.ui.impl.cb.actionPerformed(cb.java:11)
        at com.intellij.jd.actions.bb.f(bb.java:84)
        at com.intellij.jd.actions.bb.processMouseEvent(bb.java:23)
        at java.awt.Component.processEvent(Component.java:3544)
        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.retargetMouseEvent(Container.java:2451)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:2216)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:2125)
        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 java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.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)


Platform: W2K, release 2.5, JDK 1.3.1_01



thanks,
Mike Liu

Reply via email to