Details
-
Type:
Bug
-
Status:
Open
-
Priority:
Major
-
Resolution: Unresolved
-
Affects Version/s: 1.1.2, 1.1.4, 1.1.5, 1.1.6, 1.1.7, 1.1.8, 1.1.9
-
Fix Version/s: 1.2
-
Component/s: IntelliJ IDEA plug-in
-
Labels:None
-
Number of attachments :
Description
My module setup contained a source directory that had been deleted by an update from CVS.
After this occurred, I could no longer create a new test class using Alt+Shift+T from the class to be tested. However, the following stack trace occurred in the IntelliJ console:
java.lang.NullPointerException
at org.beanlab.testdox.intellij.IntelliJAPI.collectTargetFolders(IntelliJAPI.java:367)
at org.beanlab.testdox.intellij.IntelliJAPI.getTestDirectory(IntelliJAPI.java:306)
at org.beanlab.testdox.intellij.IntelliJAPI.createTestClass(IntelliJAPI.java:181)
at org.beanlab.testdox.intellij.TestDoxControllerImpl.toggleTestClassAndTestedClass(TestDoxControllerImpl.java:189)
at org.beanlab.testdox.intellij.actions.ToggleTestClassAction.actionPerformed(ToggleTestClassAction.java:15)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.a(IdeKeyEventDispatcher.java:119)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.b(IdeKeyEventDispatcher.java:56)
at com.intellij.openapi.keymap.impl.IdeKeyEventDispatcher.dispatchKeyEvent(IdeKeyEventDispatcher.java:176)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:117)
at com.intellij.ide.IdeEventQueue.dispatchEvent(IdeEventQueue.java:112)
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)