db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Craig Russell (JIRA)" <j...@apache.org>
Subject [jira] Updated: (JDO-303) NPE in ResultSummary if no tests were run
Date Sat, 11 Feb 2006 19:56:28 GMT
     [ 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:

    [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:
For more information on JIRA, see:

View raw message