Blame TestNG-J

I,ve got IDE Fatal Error while use TestNG-J plug-in
I use Idea 5.0.2 and TestNG-J 0.1.12
please, help


Invalid class name
java.lang.IllegalArgumentException: Invalid class name
at com.theoryinpractice.testng.ui.TestNGResults.packageNameFor(TestNGResults.java:165)
at com.theoryinpractice.testng.ui.TestNGResults.getPackageClassNodeFor(TestNGResults.java:177)
at com.theoryinpractice.testng.ui.TestNGResults.addTestResult(TestNGResults.java:121)
at com.theoryinpractice.testng.TestNGConsoleView.addTestResult(TestNGConsoleView.java:63)
at com.theoryinpractice.testng.model.TestNGRemoteListener.onTestStart(TestNGRemoteListener.java:35)
at com.theoryinpractice.testng.model.IDEARemoteTestRunnerClient$5.run(IDEARemoteTestRunnerClient.java:78)
at com.intellij.openapi.application.impl.LaterInvocatorEx$1.run(LaterInvocatorEx.java:4)
at com.intellij.openapi.application.impl.LaterInvocatorEx$FlushQueue.run(LaterInvocatorEx.java:19)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:209)
at java.awt.EventQueue.dispatchEvent(EventQueue.java:461)
at com.intellij.ide.IdeEventQueue.defaultDispatchEvent(IdeEventQueue.java:54)
at com.intellij.ide.IdeEventQueue.a(IdeEventQueue.java:104)
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)

1 comment

Tatyana wrote on 11/11/05 23:14:

Invalid class name
java.lang.IllegalArgumentException: Invalid class name
at com.theoryinpractice.testng.ui.TestNGResults.packageNameFor(TestNGResults.java:165)
at com.theoryinpractice.testng.ui.TestNGResults.getPackageClassNodeFor(TestNGResults.java:177)


Whats the name of the class you're trying to test? That exception is
tripped up when testing a class that has no package (checks regex
(.)\.(.) ).

Is this the case? Are you using an unpackaged class?

0

Please sign in to leave a comment.