Can't run ant junit from idea (922)

I've had this happen in the past, but can't find it in the forum
archives. I can run the target fine from the command line (as long as
junit.jar is in the ant lib directory), but cannot seem to get it to
work when ant is invoked from within idea.

I've tried:
- including my full project path
- including just junit.jar
- including junit.jar and optional.jar

Any help would be much appreciated.

-bk



junit
java.lang.NullPointerException
at
org.apache.tools.ant.util.DOMElementWriter.encode(DOMElementWriter.java:209)
at
org.apache.tools.ant.util.DOMElementWriter.write(DOMElementWriter.java:136)
at
org.apache.tools.ant.util.DOMElementWriter.write(DOMElementWriter.java:154)
at
org.apache.tools.ant.taskdefs.optional.junit.XMLJUnitResultFormatter.endTestSuite(XMLJUnitResultFormatter.java:171)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.fireEndTestSuite(JUnitTestRunner.java:440)
at
org.apache.tools.ant.taskdefs.optional.junit.JUnitTestRunner.run(JUnitTestRunner.java:346)

Please sign in to leave a comment.