[ http://issues.apache.org/jira/browse/JDO-303?page=all ]
Craig Russell updated JDO-303:
------------------------------
Attachment: ResultSummary.patch
Please review this patch. If no tests were run, there is no result summary file
produced, and the result prints as:
result:
[java] No tests were run.
[java] See file
'/Users/clr/apachejdo/jdo/trunk/tck20/target/logs/20060211-112657/TCK-results.txt'
for details.
> NPE in ResultSummary if no tests were run
> -----------------------------------------
>
> Key: JDO-303
> URL: http://issues.apache.org/jira/browse/JDO-303
> Project: JDO
> Type: Bug
> Components: tck20
> Versions: JDO 2 beta
> Reporter: Craig Russell
> Assignee: Craig Russell
> Priority: Minor
> Fix For: JDO 2 rc1
> Attachments: ResultSummary.patch
>
> If no tests were run (e.g. typo in the test class name with a purpose-built
> configuration) then the summary throws NPE.
> result:
> [java] Exception in thread "main" java.lang.NullPointerException
> [java] at
> org.apache.jdo.tck.util.ResultSummary.main(ResultSummary.java:73)
> [java] [ERROR] Java Result: 1
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira