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

Pete Muir (JIRA) jira-events at lists.jboss.org
Mon Jan 18 17:42:47 EST 2010


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

Pete Muir closed CDITCK-69.
---------------------------

    Fix Version/s:     (was: 1.1.0.CR1)
       Resolution: Out of Date
         Assignee: Pete Muir


Thanks!

I've created CDITCK-94, scheduled for our next TCK minor release (the first in which we can change the API for the porting package) to make the change allowing the porting package to provide custom approaches to serialization.

> 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
>            Assignee: Pete Muir
>             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