You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@ant.apache.org by Steven Harms <st...@gmail.com> on 2010/06/06 09:59:52 UTC
Junit Task dies with NullPointerException
Having surmounted the Ant-as-technology issue, I'm now encountering an
error in my ant execution of junit. When I run my ant script, I get:
java.lang.NullPointerException at
org.apache.tools.ant.taskdefs.optional.junit.FailureRecorder$TestInfos.<init>(FailureRecorder.java:349)
(The full stack is here: http://gist.github.com/427394
My source files are available at:
http://github.com/sgharms/javacard/tree/anttune (heck, you could even
git clone it and try it out yourself ;) )
If I turn off the <formatter type="failure" usefile="false"/>
specification, the output is more terse, but the operation definitely
fails as well. I don't see that it's a particular line of my class
that's setting off the stack-bomb, so I'm not so sure on how to debug
this. Any advice would be appreciated.
Steven
---------------------------------------------------------------------
To unsubscribe, e-mail: user-unsubscribe@ant.apache.org
For additional commands, e-mail: user-help@ant.apache.org