[weld-issues] [JBoss JIRA] Commented: (CDITCK-69) Issues with passivation capable injected beans tests
Vivek Pandey (JIRA)
jira-events at lists.jboss.org
Thu Nov 19 20:03:29 EST 2009
[ https://jira.jboss.org/jira/browse/CDITCK-69?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12495649#action_12495649 ]
Vivek Pandey commented on CDITCK-69:
------------------------------------
Another test at org.jboss.jsr299.tck.tests.implementation.simple.resource.ejb.EjbInjectionTest.testPassivationOfEjbs fails with the same exception stack trace.
> Issues with passivation capable injected beans tests
> ----------------------------------------------------
>
> Key: CDITCK-69
> URL: https://jira.jboss.org/jira/browse/CDITCK-69
> Project: CDI TCK
> Issue Type: CTS Challenge
> Security Level: Public(Everyone can see)
> Components: Tests
> Affects Versions: 1.0.1.CR1
> Environment: jsr 299 tck 1.0.1.CR1, glassfish v3, jdk6 u15
> Reporter: Vivek Pandey
>
> 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