You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tuscany.apache.org by "Jim Marino (JIRA)" <tu...@ws.apache.org> on 2006/12/19 06:41:22 UTC

[jira] Closed: (TUSCANY-996) Build break with Persistence test case

     [ http://issues.apache.org/jira/browse/TUSCANY-996?page=all ]

Jim Marino closed TUSCANY-996.
------------------------------

    Resolution: Fixed

Meeraj fixed this

> Build break with Persistence test case
> --------------------------------------
>
>                 Key: TUSCANY-996
>                 URL: http://issues.apache.org/jira/browse/TUSCANY-996
>             Project: Tuscany
>          Issue Type: Bug
>          Components: Java SCA Core
>    Affects Versions: Java-Mx
>            Reporter: Luciano Resende
>             Fix For: Java-Mx
>
>
> Running org.apache.tuscany.service.persistence.common.PersistenceUnitTestCase
> log4j:WARN No appenders could be found for logger (org.apache.tuscany.transaction.geronimo.jta.HOWLLog).
> log4j:WARN Please initialize the log4j system properly.
> Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 7.122 sec <<< FAILURE!
> testGetComponent(org.apache.tuscany.service.persistence.common.PersistenceUnitTestCase)  Time elapsed: 7.042 sec  <<< ERROR!
> <4|false|0.9.0-incubating-SNAPSHOT> org.apache.openjpa.persistence.ArgumentException: Attempt to cast instance "org.apache.tuscany.service.persistence.common.Employe
> e@135f44e" to PersistenceCapable failed.  Ensure that it has been enhanced.
> FailedObject: org.apache.tuscany.service.persistence.common.Employee@135f44e
>         at org.apache.openjpa.kernel.BrokerImpl.assertPersistenceCapable(BrokerImpl.java:4130)
>         at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2258)
>         at org.apache.openjpa.kernel.BrokerImpl.persist(BrokerImpl.java:2205)
>         at org.apache.openjpa.kernel.DelegatingBroker.persist(DelegatingBroker.java:959)
>         at org.apache.openjpa.persistence.EntityManagerImpl.persist(EntityManagerImpl.java:469)
>         at org.apache.tuscany.service.persistence.common.TestService1.testMethod(TestService1.java:24)
>         at org.apache.tuscany.service.persistence.common.PersistenceUnitTestCase.setUp(PersistenceUnitTestCase.java:23)
>         at junit.framework.TestCase.runBare(TestCase.java:125)
>         at junit.framework.TestResult$1.protect(TestResult.java:106)
>         at junit.framework.TestResult.runProtected(TestResult.java:124)
>         at junit.framework.TestResult.run(TestResult.java:109)
>         at junit.framework.TestCase.run(TestCase.java:118)
>         at junit.framework.TestSuite.runTest(TestSuite.java:208)
>         at junit.framework.TestSuite.run(TestSuite.java:203)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.apache.maven.surefire.junit.JUnitTestSet.execute(JUnitTestSet.java:210)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.executeTestSet(AbstractDirectoryTestSuite.java:135)
>         at org.apache.maven.surefire.suite.AbstractDirectoryTestSuite.execute(AbstractDirectoryTestSuite.java:122)
>         at org.apache.maven.surefire.Surefire.run(Surefire.java:129)
>         at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
>         at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
>         at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
>         at java.lang.reflect.Method.invoke(Unknown Source)
>         at org.apache.maven.surefire.booter.SurefireBooter.runSuitesInProcess(SurefireBooter.java:225)
>         at org.apache.maven.surefire.booter.SurefireBooter.main(SurefireBooter.java:747)
> Running org.apache.tuscany.service.persistence.common.DefaultPersistenceUnitBuilderTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.15 sec
> Running org.apache.tuscany.service.persistence.common.PersistenceUnitScannerTestCase
> Tests run: 1, Failures: 0, Errors: 0, Skipped: 0, Time elapsed: 0.02 sec
> Results :
> Tests run: 3, Failures: 0, Errors: 1, Skipped: 0

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

        

---------------------------------------------------------------------
To unsubscribe, e-mail: tuscany-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: tuscany-dev-help@ws.apache.org