5 Replies Latest reply: Aug 4, 2011 11:02 AM by Bernard Labno RSS

    Arquillian Inject: test.war_WeldBootstrapBean" (should be in state "Create", but is actually in state "**ERROR**")

    Andi D Newbie

      Hi,

       

      I would like to test an entity AppInstitute and my AppInstituteHome. Due to the reason, that these are my first steps using Arquillian I started with a small test case using JUnit. Both tests are working fine!

       

      btw: I am using JBoss 6.0.0.20101110-CR1.

       

      @RunWith(Arquillian.class)
      public class AppInstituteTest
      {
      
        @Deployment
        public static JavaArchive createTestArchive()
        {
          return ShrinkWrap.create(JavaArchive.class, "test.jar")
          .addPackages(true, AppInstitute.class.getPackage(), BaseEntity.class.getPackage())
          .addManifestResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
        }
      
        private String name = "name";
        
        @Inject AppInstitute institute;
      
        @Test
        public void simpleTest()
        {
          AppInstitute i = new AppInstitute();
          i.setName(name);
          assertEquals(name, i.getName());
        }
      
        @Test
        public void injectionTest()
        {
          institute.setName(name);
          assertEquals(name, institute.getName());
        }
      
      }
      
      
      

       

       

      By testing the AppInstituteHome class the simpleTest() works pretty fine, but in the method  injectionTest() produces the following stack:

       

       

      1    [main] ERROR org.jboss.jbossas.servermanager.Server  - MbeanException
      org.jboss.deployment.DeploymentException: Failed to deploy: file:/../myproject/test.war
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:393)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157)
          at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96)
          at org.jboss.mx.server.Invocation.invoke(Invocation.java:88)
          at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271)
          at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670)
          at org.jboss.system.server.jmx.MBeanServerWrapper.invoke(MBeanServerWrapper.java:138)
          at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427)
          at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72)
          at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265)
          at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360)
          at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788)
          at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
          at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
          at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
          at java.lang.reflect.Method.invoke(Method.java:597)
          at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305)
          at sun.rmi.transport.Transport$1.run(Transport.java:159)
          at java.security.AccessController.doPrivileged(Native Method)
          at sun.rmi.transport.Transport.serviceCall(Transport.java:155)
          at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790)
          at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649)
          at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886)
          at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908)
          at java.lang.Thread.run(Thread.java:662)
      Caused by: org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete
        deployments (SEE PREVIOUS ERRORS FOR DETAILS):
      
      DEPLOYMENTS MISSING DEPENDENCIES:
        Deployment "jboss.web.deployment:war=/test" is missing the following dependencies:
          Dependency "vfs:///../myproject/test.war_WeldBootstrapBean" (should be in state "Create", but is
            actually in state "**ERROR**")
        Deployment "vfs:///../myproject/test.war_WBInjector" is missing the following dependencies:
          Dependency "vfs:///../myproject/test.war_WeldBootstrapBean" (should be in state "Installed", but is
           actually in state "**ERROR**")
      
      DEPLOYMENTS IN ERROR:
        Deployment "vfs:///../myproject/test.war_WeldBootstrapBean" is in error due to the following reason(s):
         java.lang.ClassNotFoundException: org.jboss.seam.security.Identity from BaseClassLoader@9be2c6f
         {vfs:///../myproject/test.war}, **ERROR**
      
          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1370)
          at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:1316)
          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:968)
          at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:957)
          at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:383)
          ... 29 more
      
      
      

       

      You see that Arquillian is missing the class org.jboss.seam.security.Identiy or the dependency "vfs:///../myproject/test.war_WeldBootstrapBean" is in **ERROR**.

       

      Here my testing class:

       

      @RunWith(Arquillian.class)
      public class AppInstituteHomeTest
      {
        @Deployment
        public static JavaArchive createTestArchive()
        {
          return ShrinkWrap.create(JavaArchive.class, "test.jar")
          .addPackages(true, AppInstitute.class.getPackage(), BaseEntity.class.getPackage())
          .addPackages(true, AppInstituteHome.class.getPackage(), EntityHome.class.getPackage(),
                             MutableController.class.getPackage())
          .addPackages(true, EntityNotFoundException.class.getPackage())
          .addPackages(true, ConversationManager.class.getPackage())
          .addPackages(true, AppInstituteList.class.getPackage(), EntityList.class.getPackage())
          .addManifestResource(EmptyAsset.INSTANCE, ArchivePaths.create("beans.xml"));
        }
      
        private String name = "name";
        private String location = "location";
        private String adr_street = "Street";
        private Integer adr_postcode = new Integer(1234);
        private String url = "http://www.jboss.org";
        private Long id = new Long(13);
      
        @Inject AppInstituteHome instituteHome;
      
        @Test
        public void simpleTest()
        {
          AppInstitute inst = new AppInstitute(name, location, adr_street, adr_postcode, url);
          assertEquals(name, inst.getName());
        }
      
        @Test
        public void injectionTest()
        {
          instituteHome.setId(id);
          assertEquals(id, instituteHome.getId());
        }
      }
      

       

      How can I test my AppInstituteHome??

        • 1. Re: Arquillian Inject: test.war_WeldBootstrapBean" (should be in state "Create", but is actually in state "**ERROR**")
          Dan Allen Master

          Sounds to me like you need to attached the Seam Security JAR as a library in the WAR (you'll also need Weld Extensions, though a release of Seam Security based on Seam Solder should be out any day now).

           

          How do I add JAR files to the test archive?

           

          You can also check out the technique that Stuart setup in the Seam Solder test suite.

          • 2. Re: Arquillian Inject: test.war_WeldBootstrapBean" (should be in state "Create", but is actually in state "**ERROR**")
            Dan Allen Master

            Btw, this will be simplified when Arquillian beta is out, so you'll have more options (and better ones at that).

            • 3. Re: Arquillian Inject: test.war_WeldBootstrapBean" (should be in state "Create", but is actually in state "**ERROR**")
              Andi D Newbie

              Thank you Dan!

               

              I read your posted link and copied the class MavenArtifactResolver. Afterwards, I changed my createTestArchive() and inserted the libraries seam security and weld.

               

              @Deployment public static Archive<?> createTestArchive() {
                return ShrinkWrap.create(WebArchive.class, "test.war")
                 .addPackages(true, AppInstitute.class.getPackage(), BaseEntity.class.getPackage())
                 .addPackages(true, AppInstituteHome.class.getPackage(), EntityHome.class.getPackage(),
                   MutableController.class.getPackage())
                 .addPackages(true, EntityNotFoundException.class.getPackage())
                 .addPackages(true, ConversationManager.class.getPackage())
                 .addPackages(true, AppInstituteList.class.getPackage(), EntityList.class.getPackage())
                 .addPackages(true, CUDEventBinding.class.getPackage(), CUD.class.getPackage())
                 .addPackages(true, User.class.getPackage())
                 .addLibraries(MavenArtifactResolver.resolve("org.jboss.seam.security","seam-security-api",
                   "3.0.0.Alpha1"))
                 .addLibraries(MavenArtifactResolver.resolve("org.jboss.weld","weld-core","1.1.0.Beta2"))
                 .addLibraries(MavenArtifactResolver.resolve("org.slf4j","slf4j-api","1.5.10"))
                 .addClasses(org.picketlink.idm.api.User.class, IdentityType.class, IdentityObject.class)
                 .addClasses(Group.class, Role.class, RoleType.class, Credential.class,
                   CredentialType.class, IdentityObjectType.class, PolicyValidationException.class)
                 .addWebResource(EmptyAsset.INSTANCE, "beans.xml");
              }
              

               

              By runnig this test i get the following message (even if I inculde the slf4j libary as shown before):

               

               

              DEPLOYMENTS MISSING DEPENDENCIES:
                Deployment "jboss.ejb3:application=test,module=test,component=BaseEntityConverter,
                    service=EJBBinder" is missing the following dependencies:
                  Dependency "jboss.ejb3:application=test,component=BaseEntityConverter,module=test,
                    service=SessionBeanTypeWrapper" (should be in state "Installed", but is actually
                    in state "**ERROR**")
                Deployment "jboss.web.deployment:war=/test" is missing the following dependencies:
                  Dependency "vfs:///../myproject/test.war_WeldBootstrapBean"
                   (should be in state "Create", but is actually in state "**ERROR**")
                Deployment "vfs:///../myproject/test.war_WBInjector"
                    is missing the following dependencies:
                  Dependency "vfs:///../myproject/test.war_WeldBootstrapBean"
                    (should be in state "Installed", but is actually in state "**ERROR**")
              
              DEPLOYMENTS IN ERROR:
                Deployment "jboss.ejb3:application=test,component=BaseEntityConverter,module=test,
                  service=SessionBeanTypeWrapper" is in error due to the following reason(s): **ERROR**
                Deployment "jboss.ejb3:application=test,module=test,component=BaseEntityConverter,
                  service=SessionBeanTypeWrapper" is in error due to the following reason(s):
                  java.lang.LinkageError: loader constraint violation: when resolving method
                  "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/ILoggerFactory;"
                  the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader) of
                  the current class, org/slf4j/LoggerFactory, and the class loader (instance of
                  org/jboss/classloader/spi/base/BaseClassLoader) for resolved class,
                  org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type
                  org/slf4j/ILoggerFactory used in the signature
                Deployment "vfs:///../myproject/test.war_WeldBootstrapBean" is in error
                  due to the following reason(s): org.jboss.weld.exceptions.DeploymentException:
                  WELD-001408 Unsatisfied dependencies for type [EntityManager] with qualifiers
                  [@Default] at injection point [[field] @Inject private
                  myPackage.BaseEntityConverter.entityManager], **ERROR**
              
              • 4. Re: Arquillian Inject: test.war_WeldBootstrapBean" (should be in state "Create", but is actually in state "**ERROR**")
                Andi D Newbie

                Hi again,

                 

                My server.log shows thefollowing exception:

                 

                 

                2010-12-28 09:12:48,600 ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController]
                         (RMI TCP Connection(2)-127.0.0.1) Error installing to Instantiated: name=jboss.ejb3:application=
                         test,module=test,component=BaseEntityConverter,service=SessionBeanTypeWrapper aliases=
                         [jboss.ejb3:application=test,component=BaseEntityConverter,module=test,service=
                         SessionBeanTypeWrapper] state=Described: java.lang.LinkageError: loader constraint violation:
                         when resolving method "org.slf4j.impl.StaticLoggerBinder.getLoggerFactory()Lorg/slf4j/
                         ILoggerFactory;" the class loader (instance of org/jboss/classloader/spi/base/BaseClassLoader)
                         of the current class, org/slf4j/LoggerFactory, and the class loader (instance of
                         org/jboss/classloader/spi/base/BaseClassLoader) for resolved class,
                         org/slf4j/impl/StaticLoggerBinder, have different Class objects for the type
                         org/slf4j/ILoggerFactory used in the signature
                    at org.slf4j.LoggerFactory.getILoggerFactory(LoggerFactory.java:280) [:1.5.6]
                    at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:248) [:1.5.6]
                    at org.slf4j.LoggerFactory.getLogger(LoggerFactory.java:261) [:1.5.6]
                    at at.icbi.seqbench.entity.base.BaseEntityConverter.<clinit>(BaseEntityConverter.java:37)
                    at java.lang.Class.forName0(Native Method) [:1.6.0_22]
                    at java.lang.Class.forName(Class.java:247) [:1.6.0_22]
                    at org.jboss.ejb3.jndi.deployers.metadata.SessionBeanTypeWrapper.<init>(SessionBeanTypeWrapper.java:62) [:0.1.2]
                    at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) [:1.6.0_22]
                    at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) [:1.6.0_22]
                    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:27) [:1.6.0_22]
                    at java.lang.reflect.Constructor.newInstance(Constructor.java:513) [:1.6.0_22]
                    at org.jboss.reflect.plugins.introspection.ReflectionUtils.newInstance(ReflectionUtils.java:154) [jboss-reflect.jar:2.2.0.Alpha9]
                    at org.jboss.reflect.plugins.introspection.ReflectConstructorInfoImpl.newInstance(ReflectConstructorInfoImpl.java:102) [jboss-reflect.jar:2.2.0.Alpha9]
                    at org.jboss.joinpoint.plugins.BasicConstructorJoinPoint.dispatch(BasicConstructorJoinPoint.java:81) [jboss-reflect.jar:2.2.0.Alpha9]
                    at org.jboss.aop.microcontainer.integration.AOPConstructorJoinpoint.dispatch(AOPConstructorJoinpoint.java:109) [jboss-aop-mc-int.jar:2.2.0.Alpha10]
                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction$JoinpointDispatchWrapper.execute(KernelControllerContextAction.java:257) [jboss-kernel.jar:2.2.0.Alpha10]
                    at org.jboss.kernel.plugins.dependency.ExecutionWrapper.execute(ExecutionWrapper.java:47) [jboss-kernel.jar:2.2.0.Alpha10]
                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchExecutionWrapper(KernelControllerContextAction.java:125) [jboss-kernel.jar:2.2.0.Alpha10]
                    at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.dispatchJoinPoint(KernelControllerContextAction.java:72) [jboss-kernel.jar:2.2.0.Alpha10]
                    at org.jboss.kernel.plugins.dependency.InstantiateAction.installActionInternal(InstantiateAction.java:67) [jboss-kernel.jar:2.2.0.Alpha10]
                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:54) [jboss-kernel.jar:2.2.0.Alpha10]
                    at org.jboss.kernel.plugins.dependency.InstallsAwareAction.installAction(InstallsAwareAction.java:42) [jboss-kernel.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:894) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:641) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:182) [:2.2.0.Alpha8]
                    at org.jboss.deployers.vfs.deployer.kernel.BeanMetaDataDeployer.deploy(BeanMetaDataDeployer.java:58) [:2.2.0.Alpha8]
                    at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:62) [:2.2.0.Alpha8]
                    at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:55) [:2.2.0.Alpha8]
                    at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:179) [:2.2.0.Alpha8]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doDeploy(DeployersImpl.java:1832) [:2.2.0.Alpha8]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1550) [:2.2.0.Alpha8]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:1571) [:2.2.0.Alpha8]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:1491) [:2.2.0.Alpha8]
                    at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:379) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:2044) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:1083) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.executeOrIncrementStateDirectly(AbstractController.java:1322) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1246) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:1139) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:939) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:654) [jboss-dependency.jar:2.2.0.Alpha10]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.change(DeployersImpl.java:1983) [:2.2.0.Alpha8]
                    at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:1076) [:2.2.0.Alpha8]
                    at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:679) [:2.2.0.Alpha8]
                    at org.jboss.deployment.MainDeployer.deploy(MainDeployer.java:380) [:6.0.0.20101110-CR1]
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]
                    at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]
                    at org.jboss.mx.interceptor.ReflectedDispatcher.invoke(ReflectedDispatcher.java:157) [:6.0.0.Beta5]
                    at org.jboss.mx.server.Invocation.dispatch(Invocation.java:96) [:6.0.0.Beta5]
                    at org.jboss.mx.server.Invocation.invoke(Invocation.java:88) [:6.0.0.Beta5]
                    at org.jboss.mx.server.AbstractMBeanInvoker.invoke(AbstractMBeanInvoker.java:271) [:6.0.0.Beta5]
                    at org.jboss.mx.server.MBeanServerImpl.invoke(MBeanServerImpl.java:670) [:6.0.0.Beta5]
                    at org.jboss.system.server.jmx.MBeanServerWrapper.invoke(MBeanServerWrapper.java:138) [:6.0.0.20101110-CR1 (Build SVNTag:JBoss_6.0.0.20101110-CR1 date: 20101122)]
                    at javax.management.remote.rmi.RMIConnectionImpl.doOperation(RMIConnectionImpl.java:1427) [:1.6.0_22]
                    at javax.management.remote.rmi.RMIConnectionImpl.access$200(RMIConnectionImpl.java:72) [:1.6.0_22]
                    at javax.management.remote.rmi.RMIConnectionImpl$PrivilegedOperation.run(RMIConnectionImpl.java:1265) [:1.6.0_22]
                    at javax.management.remote.rmi.RMIConnectionImpl.doPrivilegedOperation(RMIConnectionImpl.java:1360) [:1.6.0_22]
                    at javax.management.remote.rmi.RMIConnectionImpl.invoke(RMIConnectionImpl.java:788) [:1.6.0_22]
                    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) [:1.6.0_22]
                    at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) [:1.6.0_22]
                    at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) [:1.6.0_22]
                    at java.lang.reflect.Method.invoke(Method.java:597) [:1.6.0_22]
                    at sun.rmi.server.UnicastServerRef.dispatch(UnicastServerRef.java:305) [:1.6.0_22]
                    at sun.rmi.transport.Transport$1.run(Transport.java:159) [:1.6.0_22]
                    at java.security.AccessController.doPrivileged(Native Method) [:1.6.0_22]
                    at sun.rmi.transport.Transport.serviceCall(Transport.java:155) [:1.6.0_22]
                    at sun.rmi.transport.tcp.TCPTransport.handleMessages(TCPTransport.java:535) [:1.6.0_22]
                    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run0(TCPTransport.java:790) [:1.6.0_22]
                    at sun.rmi.transport.tcp.TCPTransport$ConnectionHandler.run(TCPTransport.java:649) [:1.6.0_22]
                    at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) [:1.6.0_22]
                    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) [:1.6.0_22]
                    at java.lang.Thread.run(Thread.java:662) [:1.6.0_22]
                

                 

                Do you know something about this exception??

                • 5. Re: Arquillian Inject: test.war_WeldBootstrapBean" (should be in state "Create", but is actually in state "**ERROR**")
                  Bernard Labno Master

                  I've solved this with

                  <dependency>

                              <groupId>ch.qos.logback</groupId>

                              <artifactId>logback-classic</artifactId>

                              <version>0.9.27</version>

                              <scope>test</scope>

                          </dependency>