Uploaded image for project: 'Arquillian'
  1. Arquillian
  2. ARQ-469

ClassCastException: java.lang.String cannot be cast to [B

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Major Major
    • 1.0.0.CR1
    • None
    • None
    • None

      14:43:37,404 ERROR [org.jboss.arquillian.protocol.jmx.JMXTestRunner] (RMI TCP Connection(2)-127.0.0.1) Failed: org.jboss.as.testsuite.integration.osgi.xservice.BundleAccessesModuleServiceTestCase.bundleInvokesModuleService: java.lang.ClassCastException: java.lang.String cannot be cast to [B
      at org.jboss.arquillian.container.test.impl.client.deployment.ContainerDeployer.getDeployment(ContainerDeployer.java:58) [arquillian-service:]
      at org.jboss.as.testsuite.integration.osgi.xservice.BundleAccessesModuleServiceTestCase.bundleInvokesModuleService(BundleAccessesModuleServiceTestCase.java:115)
      at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_25]
      at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_25]
      at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_25]
      at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_25]
      at org.junit.runners.model.FrameworkMethod$1.runReflectiveCall(FrameworkMethod.java:44) [arquillian-service:]
      at org.junit.internal.runners.model.ReflectiveCallable.run(ReflectiveCallable.java:15) [arquillian-service:]
      at org.junit.runners.model.FrameworkMethod.invokeExplosively(FrameworkMethod.java:41) [arquillian-service:]
      at org.jboss.arquillian.junit.Arquillian$6$1.invoke(Arquillian.java:261) [arquillian-service:]
      at org.jboss.arquillian.container.test.impl.execution.LocalTestExecuter.execute(LocalTestExecuter.java:60) [arquillian-service:]

            [ARQ-469] ClassCastException: java.lang.String cannot be cast to [B

            1.0.0.CR1 Released, Closing

            Aslak Knutsen added a comment - 1.0.0.CR1 Released, Closing

            pushed upstream

            Aslak Knutsen added a comment - pushed upstream

            It finds the previous command result before getting the response from the current.

            Working on merging this with the latest 'revert/changes' in master.

            Aslak Knutsen added a comment - It finds the previous command result before getting the response from the current. Working on merging this with the latest 'revert/changes' in master.

            Thomas Diesler added a comment - - edited

            To reproduce run

            $ mvn -Dtest=BundleAccessesModuleServiceTestCase test

            in testsuite/integration

            https://github.com/tdiesler/jboss-as/branches/arq469

            Thomas Diesler added a comment - - edited To reproduce run $ mvn -Dtest=BundleAccessesModuleServiceTestCase test in testsuite/integration https://github.com/tdiesler/jboss-as/branches/arq469

              aslak@redhat.com Aslak Knutsen
              tdiesler@redhat.com Thomas Diesler
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: