db-jdo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Michael Bouschen (JIRA)" <j...@apache.org>
Subject [jira] Reopened: (JDO-78) JPOX PersistenceManagerFactory throws wrong exception for getPersistenceManager after close
Date Sat, 22 Apr 2006 19:36:14 GMT
     [ http://issues.apache.org/jira/browse/JDO-78?page=all ]
     
Michael Bouschen reopened JDO-78:
---------------------------------


> JPOX PersistenceManagerFactory throws wrong exception for getPersistenceManager after
close
> -------------------------------------------------------------------------------------------
>
>          Key: JDO-78
>          URL: http://issues.apache.org/jira/browse/JDO-78
>      Project: JDO
>         Type: Bug

>   Components: tck20
>  Environment: JPOX
>     Reporter: Craig Russell
>     Assignee: Erik Bengtson

>
> JPOX PersistenceManagerFactory throws JDOFatalUserException for getPersistenceManager
after close. It should throw JDOUserException.
> There were 2 failures:
>     [java] 1) test(org.apache.jdo.tck.api.persistencemanagerfactory.AfterCloseGetPMThrowsException)junit.framework.AssertionFailedError:
Assertion A11.4-9B (AfterCloseGetPMThrowsException) failed: 
>     [java] Wrong exception thrown from getPersistenceManager after close.
>     [java] Expected JDOUserException, got JDOFatalUserException.
>     [java]      at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:543)
>     [java]      at org.apache.jdo.tck.api.persistencemanagerfactory.AfterCloseGetPMThrowsException.test(AfterCloseGetPMThrowsException.java:74)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)
>     [java] 2) test(org.apache.jdo.tck.api.persistencemanagerfactory.Close)junit.framework.AssertionFailedError:
Assertions A11.4-2 (Close) failed: 
>     [java] Wrong exception thrown from getPersistenceManager after close.
>     [java] Expected JDOUserException, got JDOFatalUserException.
>     [java]      at org.apache.jdo.tck.JDO_Test.fail(JDO_Test.java:543)
>     [java]      at org.apache.jdo.tck.api.persistencemanagerfactory.Close.test(Close.java:68)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>     [java]      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
>     [java]      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
>     [java]      at org.apache.jdo.tck.JDO_Test.runBare(JDO_Test.java:203)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.start(BatchTestRunner.java:128)
>     [java]      at org.apache.jdo.tck.util.BatchTestRunner.main(BatchTestRunner.java:106)

-- 
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


Mime
View raw message