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

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


    [ https://jira.jboss.org/jira/browse/CDITCK-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12506726#action_12506726 ] 

Pete Muir commented on CDITCK-69:
---------------------------------

Vivek, I believe this was a bug in GlassFish/Weld integration? Please confirm.

> 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, 1.1.0.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