db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michelle Caisse (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-582) Test case needed for JDOFatalUserException nested exception argument needs cast to Throwable[]
Date Fri, 25 Jul 2008 19:35:31 GMT

    [ https://issues.apache.org/jira/browse/JDO-582?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12617022#action_12617022

Michelle Caisse commented on JDO-582:

In target/test-reports/TEST-javax.jdo.JDOHelperTest.txt, there is some error output that should
be helpful:

Testcase: testGetPMFBadResource(javax.jdo.JDOHelperTest):	Caused an ERROR
	at javax.jdo.JDOHelperTest.testGetPMFBadResource(JDOHelperTest.java:235)
	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
	at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:185)

> Test case needed for JDOFatalUserException nested exception argument needs cast to Throwable[]
> ----------------------------------------------------------------------------------------------
>                 Key: JDO-582
>                 URL: https://issues.apache.org/jira/browse/JDO-582
>             Project: JDO
>          Issue Type: Bug
>          Components: api2, api2-legacy
>            Reporter: Erik Bengtson
>            Assignee: Richard Schilling
>             Fix For: JDO 2 maintenance release 2
>         Attachments: 20080710-jdo-582.diff, 20080710-jdo-582.diff, estedExceptionJDOHelper.patch
> After collecting exceptions from invoking getPersistenceManagerFactory on all implementations,
if no implementation has succeeded in returning a PersistenceManagerFactory, an exception
is thrown, and the argument should be a Throwable[]. Otherwise, it's treated as a failed object
instead of nested exceptions.

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message