Return-Path: Delivered-To: apmail-db-jdo-dev-archive@www.apache.org Received: (qmail 20563 invoked from network); 11 Feb 2006 20:51:50 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 11 Feb 2006 20:51:50 -0000 Received: (qmail 85378 invoked by uid 500); 11 Feb 2006 20:51:50 -0000 Mailing-List: contact jdo-dev-help@db.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: jdo-dev@db.apache.org Delivered-To: mailing list jdo-dev@db.apache.org Received: (qmail 85367 invoked by uid 99); 11 Feb 2006 20:51:50 -0000 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests= X-Spam-Check-By: apache.org Received: from [192.87.106.226] (HELO ajax.apache.org) (192.87.106.226) by apache.org (qpsmtpd/0.29) with ESMTP; Sat, 11 Feb 2006 12:51:50 -0800 Received: from ajax.apache.org (ajax.apache.org [127.0.0.1]) by ajax.apache.org (Postfix) with ESMTP id 3B32CDD for ; Sat, 11 Feb 2006 21:51:29 +0100 (CET) Message-ID: <1156808411.1139691089240.JavaMail.jira@ajax.apache.org> Date: Sat, 11 Feb 2006 21:51:29 +0100 (CET) From: "Michael Bouschen (JIRA)" To: jdo-dev@db.apache.org Subject: [jira] Commented: (JDO-303) NPE in ResultSummary if no tests were run In-Reply-To: <1518907723.1139687548257.JavaMail.jira@ajax.apache.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N [ http://issues.apache.org/jira/browse/JDO-303?page=comments#action_12366030 ] Michael Bouschen commented on JDO-303: -------------------------------------- Looks good! > 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