NullPointerException in unitTest plugin


Hi, I'm using Intellij 5.1 (build 4137) and just had the following error on a project.

Have anyone already seen it ?

ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(76,180),button=1,modifiers=Button1,cli
ckCount=3] on dialog0
ERROR - com.intellij.ide.IdeEventQueue - IntelliJ IDEA 5.1 Build #4137
ERROR - com.intellij.ide.IdeEventQueue - JDK: 1.5.0_06
ERROR - com.intellij.ide.IdeEventQueue - VM: Java HotSpot(TM) Client VM
ERROR - com.intellij.ide.IdeEventQueue - Vendor: Sun Microsystems Inc.
ERROR - com.intellij.ide.IdeEventQueue - OS: Windows 2000
ERROR - com.intellij.ide.IdeEventQueue - Last Action: ShowSettings
ERROR - com.intellij.ide.IdeEventQueue - Error during dispatching of java.awt.event.MouseEvent[MOUSE_RELEASED,(76,180),button=1,modifiers=Button1,cli
ckCount=3] on dialog0
java.lang.NullPointerException
at org.intellij.plugins.junit.config.JUnitTestConfigurable.reset(JUnitTestConfigurable.java:263)
at com.intellij.openapi.options.ex.ProjectConfigurableWrapper.reset(ProjectConfigurableWrapper.java:13)
at com.intellij.openapi.options.ex.SingleConfigurableEditor.]]>(SingleConfigurableEditor.java:37)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.b(ControlPanelSettingsEditor.java:70)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor.access$900(ControlPanelSettingsEditor.java:87)
at com.intellij.openapi.options.ex.ControlPanelSettingsEditor$MyActionButton$1.mouseReleased(ControlPanelSettingsEditor.java:6)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:129)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:88)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:23)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:153)
at java.awt.Dialog$1.run(Dialog.java:515)
at java.awt.Dialog.show(Dialog.java:536)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl$MyDialog.show(DialogWrapperPeerImpl.java:34)
at com.intellij.openapi.ui.impl.DialogWrapperPeerImpl.show(DialogWrapperPeerImpl.java:43)
at com.intellij.openapi.ui.DialogWrapper.show(DialogWrapper.java:730)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showControlPanelOptions(ShowSettingsUtilImpl.java:3)
at com.intellij.ide.actions.ShowSettingsUtilImpl.showSettingsDialog(ShowSettingsUtilImpl.java:1)
at com.intellij.ide.actions.ShowSettingsAction.actionPerformed(ShowSettingsAction.java:5)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem$ActionTransmitter.actionPerformed(ActionMenuItem.java:3)
at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1849)
at com.intellij.openapi.actionSystem.impl.ActionMenuItem.fireActionPerformed(ActionMenuItem.java:43)
at com.intellij.ui.plaf.beg.BegMenuItemUI.a(BegMenuItemUI.java:75)
at com.intellij.ui.plaf.beg.BegMenuItemUI.access$300(BegMenuItemUI.java:35)
at com.intellij.ui.plaf.beg.BegMenuItemUI$MyMouseInputHandler.mouseReleased(BegMenuItemUI.java:6)
at java.awt.Component.processMouseEvent(Component.java:5488)
at javax.swing.JComponent.processMouseEvent(JComponent.java:3126)
at java.awt.Component.processEvent(Component.java:5253)
at java.awt.Container.processEvent(Container.java:1966)
at java.awt.Component.dispatchEventImpl(Component.java:3955)
at java.awt.Container.dispatchEventImpl(Container.java:2024)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at java.awt.Container.dispatchEventImpl(Container.java:2010)
at java.awt.Window.dispatchEventImpl(Window.java:1774)
at java.awt.Component.dispatchEvent(Component.java:3803)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:129)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:88)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:23)
at java.awt.EventDispatchThread.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at java.awt.EventDispatchThread.run(EventDispatchThread.java:110)

4 comments

Hi Thibaut,
Sorry not seen this and am using it with 5.1. Can you tell me what you were doing when it happened so i can try to reproduce it.

Regards
Bronwen

0

As far as i remember, It happened without any special action. I guess it was trying to decide if it would show the red hint in the left gutter ?

I'll pay attention if it happens again

0

Thanx, the reason i asked was that this method is usually only called when starting or changing the unitTest settings in intelliJ Idea control panel. If it had been during the display of the test icon the stack trace would have included the class UntestedMethodHighlighter.

Anyway let me know if it happens again.

Cheers
Bronwen

0

As far as i remember i couldn't reach the unittest settings either, but i'm not sure for that

0

Please sign in to leave a comment.