[weld-issues] [JBoss JIRA] Created: (WELD-511) TCK Test Failures: Javassist SerializedProxy ClassCastExceptions

Roger Kitain (JIRA) jira-events at lists.jboss.org
Sat May 1 13:42:05 EDT 2010


TCK Test Failures: Javassist SerializedProxy ClassCastExceptions
----------------------------------------------------------------

                 Key: WELD-511
                 URL: https://jira.jboss.org/jira/browse/WELD-511
             Project: Weld
          Issue Type: Bug
    Affects Versions: 1.0.1.Final
         Environment: GlassFish 3.0.1
            Reporter: Roger Kitain


The following TCK tests fail:

org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.testPassivationOfPersistenceContext
org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.testPassivationOfPersistenceUnit
org.jboss.jsr299.tck.tests.implementation.simple.resource.resource.InjectionOfResourceTest.testPassivatingResource
org.jboss.jsr299.tck.tests.implementation.simple.resource.ejb.EjbInjectionTest.testPassivationOfEjbs

Here are the 4 stack traces :

TEST NAME: org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.testPassivationOfPersistenceCo
ntext

TEST LOG:

   [testng]   [gf.echo] Deployment Succeeded:  org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectio
nTest.war
   [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.te
sts.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:63)
   [testng]     at org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.testPassivationOfPersi
stenceContext(PersistenceContextInjectionTest.java:89)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng]     at java.lang.reflect.Method.invoke(Method.java:597)
   [testng]     at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
   [testng]     at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
   [testng]     at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng]     at java.lang.reflect.Method.invoke(Method.java:597)
   [testng]     at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
   [testng]     at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
   [testng]     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
   [testng]     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
   [testng]     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
   [testng]     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
   [testng]     at org.testng.TestRunner.runWorkers(TestRunner.java:759)
   [testng]     at org.testng.TestRunner.privateRun(TestRunner.java:592)
   [testng]     at org.testng.TestRunner.run(TestRunner.java:486)
   [testng]     at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
   [testng]     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
   [testng]     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
   [testng]     at org.testng.SuiteRunner.run(SuiteRunner.java:204)
   [testng]     at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
   [testng]     at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
   [testng]     at org.testng.TestNG.run(TestNG.java:784)
   [testng]     at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
   [testng]     at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
   [testng]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
   [testng]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   [testng]     at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
   [testng]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
   [testng]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
   [testng]     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
   [testng]     at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
   [testng]     at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
   [testng]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
   [testng]     at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
   [testng]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
   [testng]     at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
   [testng]     at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
   [testng]     at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
   [testng]     at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
   [testng]     at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
   [testng]     at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
   [testng]     at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
   [testng]     at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
   [testng]     at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
   [testng]     at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
   [testng]     at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
   [testng]     at java.lang.Thread.run(Thread.java:637)
   [testng] ********************************************************************
   [testng] FINISHED TEST:  FAILED........org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.testPassivationOfPersistenceContext
   [testng] ********************************************************************

TEST NAME: org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.testPassivationOfPersistenceUnit

TEST LOG:

[testng] -deploy:
   [testng]       [jar] Updating jar: /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.war
   [testng]   [gf.echo] Deploying:  /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.war
   [testng]   [gf.echo] 0 archive(s) to undeploy
   [testng]   [gf.echo] 1 archive(s) to deploy
   [testng]      [copy] Copying 1 file to /Users/rogerk/weld/tck/glassfishv3/glassfish/domains/domain1/autodeploy
   [testng]   [gf.echo] Deploying archive:  /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.war
   [testng]   [gf.echo] Deployment Succeeded:  org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.war
   [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:63)
   [testng]     at org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.testPassivationOfPersistenceUnit(PersistenceContextInjectionTest.java:104)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng]     at java.lang.reflect.Method.invoke(Method.java:597)
   [testng]     at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
   [testng]     at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
   [testng]     at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng]     at java.lang.reflect.Method.invoke(Method.java:597)
   [testng]     at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
   [testng]     at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
   [testng]     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
   [testng]     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
   [testng]     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
   [testng]     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
   [testng]     at org.testng.TestRunner.runWorkers(TestRunner.java:759)
   [testng]     at org.testng.TestRunner.privateRun(TestRunner.java:592)
   [testng]     at org.testng.TestRunner.run(TestRunner.java:486)
   [testng]     at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
   [testng]     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
   [testng]     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
   [testng]     at org.testng.SuiteRunner.run(SuiteRunner.java:204)
   [testng]     at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
   [testng]     at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
   [testng]     at org.testng.TestNG.run(TestNG.java:784)
   [testng]     at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
   [testng]     at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
   [testng]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
   [testng]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   [testng]     at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
   [testng]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
   [testng]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
   [testng]     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
   [testng]     at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
   [testng]     at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
   [testng]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
   [testng]     at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
   [testng]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
   [testng]     at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
   [testng]     at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
   [testng]     at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
   [testng]     at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
   [testng]     at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
   [testng]     at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
   [testng]     at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
   [testng]     at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
   [testng]     at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
   [testng]     at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
   [testng]     at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
   [testng]     at java.lang.Thread.run(Thread.java:637)
   [testng] ********************************************************************
   [testng] FINISHED TEST:  FAILED........org.jboss.jsr299.tck.tests.implementation.simple.resource.persistenceContext.PersistenceContextInjectionTest.testPassivationOfPersistenceUnit
   [testng] ********************************************************************

TEST LOG:

   [testng] -deploy:
   [testng]   [gf.echo] Deploying:  /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.implementation.simple.resource.resource.InjectionOfResourceTest.war
   [testng]   [gf.echo] 0 archive(s) to undeploy
   [testng]   [gf.echo] 1 archive(s) to deploy
   [testng]      [copy] Copying 1 file to /Users/rogerk/weld/tck/glassfishv3/glassfish/domains/domain1/autodeploy
   [testng]   [gf.echo] Deploying archive:  /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.implementation.simple.resource.resource.InjectionOfResourceTest.war
   [testng]   [gf.echo] Deployment Succeeded:  org.jboss.jsr299.tck.tests.implementation.simple.resource.resource.InjectionOfResourceTest.war
   [testng] java.lang.ClassCastException: cannot assign instance of javassist.util.proxy.SerializedProxy to field org.jboss.jsr299.tck.tests.implementation.simple.resource.resource.ManagedBean.beanManager of type javax.enterprise.inject.spi.BeanManager in instance of org.jboss.jsr299.tck.tests.implementation.simple.resource.resource.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:63)
   [testng]     at org.jboss.jsr299.tck.tests.implementation.simple.resource.resource.InjectionOfResourceTest.testPassivatingResource(InjectionOfResourceTest.java:77)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng]     at java.lang.reflect.Method.invoke(Method.java:597)
   [testng]     at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
   [testng]     at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
   [testng]     at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng]     at java.lang.reflect.Method.invoke(Method.java:597)
   [testng]     at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
   [testng]     at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
   [testng]     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
   [testng]     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
   [testng]     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
   [testng]     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
   [testng]     at org.testng.TestRunner.runWorkers(TestRunner.java:759)
   [testng]     at org.testng.TestRunner.privateRun(TestRunner.java:592)
   [testng]     at org.testng.TestRunner.run(TestRunner.java:486)
   [testng]     at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
   [testng]     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
   [testng]     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
   [testng]     at org.testng.SuiteRunner.run(SuiteRunner.java:204)
   [testng]     at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
   [testng]     at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
   [testng]     at org.testng.TestNG.run(TestNG.java:784)
   [testng]     at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
   [testng]     at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
   [testng]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
   [testng]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   [testng]     at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
   [testng]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
   [testng]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
   [testng]     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
   [testng]     at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
   [testng]     at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
   [testng]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
   [testng]     at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
   [testng]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
   [testng]     at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
   [testng]     at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
   [testng]     at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
   [testng]     at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
   [testng]     at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
   [testng]     at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
   [testng]     at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
   [testng]     at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
   [testng]     at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
   [testng]     at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
   [testng]     at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
   [testng]     at java.lang.Thread.run(Thread.java:637)
   [testng] ********************************************************************
   [testng] FINISHED TEST:  FAILED........org.jboss.jsr299.tck.tests.implementation.simple.resource.resource.InjectionOfResourceTest.testPassivatingResource
   [testng] ********************************************************************

TEST LOG:

   [testng] -deploy:
   [testng]   [gf.echo] Deploying:  /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.implementation.simple.resource.ejb.EjbInjectionTest.ear
   [testng]   [gf.echo] 0 archive(s) to undeploy
   [testng]   [gf.echo] 1 archive(s) to deploy
   [testng]      [copy] Copying 1 file to /Users/rogerk/weld/tck/glassfishv3/glassfish/domains/domain1/autodeploy
   [testng]   [gf.echo] Deploying archive:  /var/folders/8T/8TkU3CL-FMec7iJWxn8tg++++TI/-Tmp-/org.jboss.jsr299.tck.tests.implementation.simple.resource.ejb.EjbInjectionTest.ear
   [testng]   [gf.echo] Deployment Succeeded:  org.jboss.jsr299.tck.tests.implementation.simple.resource.ejb.EjbInjectionTest.ear
   [testng] java.lang.ClassCastException: cannot assign instance of javassist.util.proxy.SerializedProxy to field org.jboss.jsr299.tck.tests.implementation.simple.resource.ejb.ManagedBean.myEjb of type org.jboss.jsr299.tck.tests.implementation.simple.resource.ejb.BeanRemote in instance of org.jboss.jsr299.tck.tests.implementation.simple.resource.ejb.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:63)
   [testng]     at org.jboss.jsr299.tck.tests.implementation.simple.resource.ejb.EjbInjectionTest.testPassivationOfEjbs(EjbInjectionTest.java:71)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng]     at java.lang.reflect.Method.invoke(Method.java:597)
   [testng]     at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:609)
   [testng]     at org.testng.internal.MethodHelper$1.runTestMethod(MethodHelper.java:727)
   [testng]     at org.jboss.testharness.AbstractTest.run(AbstractTest.java:244)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
   [testng]     at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
   [testng]     at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
   [testng]     at java.lang.reflect.Method.invoke(Method.java:597)
   [testng]     at org.testng.internal.MethodHelper.invokeHookable(MethodHelper.java:735)
   [testng]     at org.testng.internal.Invoker.invokeMethod(Invoker.java:525)
   [testng]     at org.testng.internal.Invoker.invokeTestMethod(Invoker.java:686)
   [testng]     at org.testng.internal.Invoker.invokeTestMethods(Invoker.java:1018)
   [testng]     at org.testng.internal.TestMethodWorker.invokeTestMethods(TestMethodWorker.java:128)
   [testng]     at org.testng.internal.TestMethodWorker.run(TestMethodWorker.java:112)
   [testng]     at org.testng.TestRunner.runWorkers(TestRunner.java:759)
   [testng]     at org.testng.TestRunner.privateRun(TestRunner.java:592)
   [testng]     at org.testng.TestRunner.run(TestRunner.java:486)
   [testng]     at org.testng.SuiteRunner.runTest(SuiteRunner.java:332)
   [testng]     at org.testng.SuiteRunner.runSequentially(SuiteRunner.java:327)
   [testng]     at org.testng.SuiteRunner.privateRun(SuiteRunner.java:299)
   [testng]     at org.testng.SuiteRunner.run(SuiteRunner.java:204)
   [testng]     at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:912)
   [testng]     at org.testng.TestNG.runSuitesLocally(TestNG.java:876)
   [testng]     at org.testng.TestNG.run(TestNG.java:784)
   [testng]     at org.jboss.testharness.impl.runner.TestRunner.run(TestRunner.java:61)
   [testng]     at org.jboss.testharness.impl.runner.servlet.ServletTestRunner.doGet(ServletTestRunner.java:120)
   [testng]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
   [testng]     at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
   [testng]     at org.apache.catalina.core.StandardWrapper.service(StandardWrapper.java:1523)
   [testng]     at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:279)
   [testng]     at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:188)
   [testng]     at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:641)
   [testng]     at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:97)
   [testng]     at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:85)
   [testng]     at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:185)
   [testng]     at org.apache.catalina.connector.CoyoteAdapter.doService(CoyoteAdapter.java:332)
   [testng]     at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:233)
   [testng]     at com.sun.enterprise.v3.services.impl.ContainerMapper.service(ContainerMapper.java:165)
   [testng]     at com.sun.grizzly.http.ProcessorTask.invokeAdapter(ProcessorTask.java:791)
   [testng]     at com.sun.grizzly.http.ProcessorTask.doProcess(ProcessorTask.java:693)
   [testng]     at com.sun.grizzly.http.ProcessorTask.process(ProcessorTask.java:954)
   [testng]     at com.sun.grizzly.http.DefaultProtocolFilter.execute(DefaultProtocolFilter.java:170)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.executeProtocolFilter(DefaultProtocolChain.java:135)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:102)
   [testng]     at com.sun.grizzly.DefaultProtocolChain.execute(DefaultProtocolChain.java:88)
   [testng]     at com.sun.grizzly.http.HttpProtocolChain.execute(HttpProtocolChain.java:76)
   [testng]     at com.sun.grizzly.ProtocolChainContextTask.doCall(ProtocolChainContextTask.java:53)
   [testng]     at com.sun.grizzly.SelectionKeyContextTask.call(SelectionKeyContextTask.java:57)
   [testng]     at com.sun.grizzly.ContextTask.run(ContextTask.java:69)
   [testng]     at com.sun.grizzly.util.AbstractThreadPool$Worker.doWork(AbstractThreadPool.java:330)
   [testng]     at com.sun.grizzly.util.AbstractThreadPool$Worker.run(AbstractThreadPool.java:309)
   [testng]     at java.lang.Thread.run(Thread.java:637)
   [testng] ********************************************************************
   [testng] FINISHED TEST:  FAILED........org.jboss.jsr299.tck.tests.implementation.simple.resource.ejb.EjbInjectionTest.testPassivationOfEjbs
   [testng] ********************************************************************


-- 
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