Problems running unit tests with 929

I am having trouble running junit tests with 929. I keep getting the following exception:

java.lang.Exception: Could not create and run test suite: java.lang.NullPointerException
at junit.textui.TestRunner.start(TestRunner.java:175)
at com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTestRunner2.java:23)
at com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitStarter.java:94)
at com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:29)
at java.lang.reflect.Method.invoke(Native Method)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)

Any ideas?

Thanks,
Mick

1 comment
Comment actions Permalink

Yes, i have same. But it solved by ful project rebuild before testing. I
don't know why by some times running test not compile nessassary classes
before runing.

--
Alexey Efimov, Software Engineer
Sputnik Labs,
http://www.spklabs.com
"Micky Ray" <micky_ray@landsafe.com> wrote in message
news:17172328.1064436371986.JavaMail.itn@is.intellij.net...

I am having trouble running junit tests with 929. I keep getting the

following exception:
>

java.lang.Exception: Could not create and run test suite:

java.lang.NullPointerException

at junit.textui.TestRunner.start(TestRunner.java:175)
at

com.intellij.rt.execution.junit.TextTestRunner2.startRunnerWithArgs(TextTest
Runner2.java:23)

at

com.intellij.rt.execution.junit2.JUnitStarter.prepareStreamsAndStart(JUnitSt
arter.java:94)

at

com.intellij.rt.execution.junit2.JUnitStarter.main(JUnitStarter.java:29)

at java.lang.reflect.Method.invoke(Native Method)
at com.intellij.rt.execution.application.AppMain.main(AppMain.java:78)

>

Any ideas?

>

Thanks,
Mick



0

Please sign in to leave a comment.