db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Richard Schilling (JIRA)" <j...@apache.org>
Subject [jira] Commented: (JDO-582) Test case needed for JDOFatalUserException nested exception argument needs cast to Throwable[]
Date Fri, 12 Sep 2008 01:01:49 GMT

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

Richard Schilling commented on JDO-582:
---------------------------------------

I updated my source that included your patch and I get a build error:

Testcase: testNegative03_DuplicateNamedPersistenceUnitsInSameConfig(javax.jdo.JDOHelperConfigTest):
Caused an ERROR
javax/jdo/JDOHelper$14
java.lang.NoClassDefFoundError: javax/jdo/JDOHelper$14
        at javax.jdo.JDOHelper.getResourceAsStream(JDOHelper.java:1829)
        at javax.jdo.JDOHelper.loadPropertiesFromResource(JDOHelper.java:1187)
        at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:1062)
        at javax.jdo.JDOHelper.getPersistenceManagerFactory(JDOHelper.java:922)
        at javax.jdo.JDOHelperConfigTest.testNegative03_DuplicateNamedPersistenceUnitsInSameConfig(JDOHelperConfigTest.java:459)
        at org.apache.commons.jelly.tags.ant.AntTag.doTag(AntTag.java:195)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.commons.jelly.TagSupport.invokeBody(TagSupport.java:186)
        at org.apache.commons.jelly.tags.core.IfTag.doTag(IfTag.java:42)
        at org.apache.commons.jelly.impl.TagScript.run(TagScript.java:250)
        at org.apache.commons.jelly.impl.ScriptBlock.run(ScriptBlock.java:95)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag.runBodyTag(MavenGoalTag.java:83)
        at org.apache.maven.jelly.tags.werkz.MavenGoalTag$MavenGoalAction.performAction(MavenGoalTag.java:116)
        at org.apache.maven.werkz.Goal.fire(Goal.java:691)
        at org.apache.maven.werkz.Goal.attain(Goal.java:623)
        at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
        at org.apache.maven.werkz.Goal.attain(Goal.java:621)
        at org.apache.maven.werkz.Goal.attainPrecursors(Goal.java:526)
        at org.apache.maven.werkz.Goal.attain(Goal.java:621)
        at org.apache.maven.plugin.PluginManager.attainGoals(PluginManager.java:712)
        at org.apache.maven.MavenSession.attainGoals(MavenSession.java:265)
        at org.apache.maven.cli.App.doMain(App.java:307)
        at org.apache.maven.cli.App.main(App.java:217)
        at com.werken.forehead.Forehead.run(Forehead.java:551)
        at com.werken.forehead.Forehead.main(Forehead.java:581)




> 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, 20080911-jdo-582-JDOHelper.patch,
20080911-jdo-582-JDOHelperConfigTest.patch, 20080911-jdo-582-Negative09.patch, 20080911-jdo-582.patch,
20080911-jdo-582.patch, estedExceptionJDOHelper.patch, Negative09.zip
>
>
> 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.


Mime
View raw message