Apache JDO Project - [jira] Updated: (JDO-303) NPE in ResultSummary if no tests were run

This is Interesting: Free IT Magazines  
Home > Archive > Apache JDO Project > February 2006 > [jira] Updated: (JDO-303) NPE in ResultSummary if no tests were run





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author [jira] Updated: (JDO-303) NPE in ResultSummary if no tests were run
Craig Russell (JIRA)

2006-02-11, 5:51 pm

[ 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/secur...nistrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira


Sponsored Links






Free braindumps | Software forum | Database administration forum

Copyright 2003 - 2008 webservertalk.com