Issue Details (XML | Word | Printable)

Key: JDO-303
Type: Bug Bug
Status: Resolved Resolved
Resolution: Fixed
Priority: Minor Minor
Assignee: Craig Russell
Reporter: Craig Russell
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
JDO

NPE in ResultSummary if no tests were run

Created: 12/Feb/06 04:51 AM   Updated: 25/Feb/06 07:41 AM
Return to search
Component/s: tck2
Affects Version/s: JDO 2 beta
Fix Version/s: JDO 2 rc1

Time Tracking:
Not Specified

File Attachments:
  Size
Text File Licensed for inclusion in ASF works ResultSummary.patch 2006-02-12 04:54 AM Craig Russell 0.8 kB

Resolution Date: 25/Feb/06 07:41 AM


 Description  « Hide
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


 All   Comments   Work Log   Change History   Subversion Commits      Sort Order: Ascending order - Click to sort in descending order
Craig Russell made changes - 12/Feb/06 04:54 AM
Field Original Value New Value
Attachment ResultSummary.patch [ 12322874 ]
Craig Russell made changes - 25/Feb/06 07:41 AM
Resolution Fixed [ 1 ]
Status Open [ 1 ] Resolved [ 5 ]