[weld-issues] [JBoss JIRA] Updated: (CDITCK-69) Issues with passivation capable injected beans tests

Pete Muir (JIRA) jira-events at lists.jboss.org
Sat Nov 21 12:13:29 EST 2009


     [ https://jira.jboss.org/jira/browse/CDITCK-69?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Pete Muir updated CDITCK-69:
----------------------------

           Issue Type: Bug  (was: CTS Challenge)
        Fix Version/s: 1.0.1.CR1
    Affects Version/s: 1.0.0.GA
                           (was: 1.0.1.CR1)


> Issues with passivation capable injected beans tests
> ----------------------------------------------------
>
>                 Key: CDITCK-69
>                 URL: https://jira.jboss.org/jira/browse/CDITCK-69
>             Project: CDI TCK
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: Tests
>    Affects Versions: 1.0.0.GA
>         Environment: jsr 299 tck 1.0.1.CR1, glassfish v3, jdk6 u15
>            Reporter: Vivek Pandey
>             Fix For: 1.0.1.CR1
>
>
> We have this failure for implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest:
> [testng] java.lang.ClassCastException: cannot assign instance of javassist.util.proxy.SerializedProxy to field org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.ManagedBean.persistenceContext of type javax.persistence.EntityManager in instance of org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.ManagedBean
>   [testng]     at java.io.ObjectStreamClass$FieldReflector.setObjFieldValues(ObjectStreamClass.java:2032)
>   [testng]     at java.io.ObjectStreamClass.setObjFieldValues(ObjectStreamClass.java:1212)
>   [testng]     at java.io.ObjectInputStream.defaultReadFields(ObjectInputStream.java:1953)
>   [testng]     at java.io.ObjectInputStream.readSerialData(ObjectInputStream.java:1871)
>   [testng]     at java.io.ObjectInputStream.readOrdinaryObject(ObjectInputStream.java:1753)
>   [testng]     at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1329)
>   [testng]     at java.io.ObjectInputStream.readObject(ObjectInputStream.java:351)
>   [testng]     at org.jboss.jsr299.tck.AbstractJSR299Test.deserialize(AbstractJSR299Test.java:49)
>   [testng]     at org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.testPassivationOfPersistenceContext(PersistenceContextInjectionTest.java:74)
>   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
> Stack trace shows that the error is coming from javassist/Weld.
> Error is thrown while executing this code while executing 
> org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.testPassivationOfPersistenceUnit 
> org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.testPassivationOfPersistenceContext

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the weld-issues mailing list