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
- relates to
-
CDITCK-94 Route serialization/deserialization through SPI
- Closed