Uploaded image for project: 'JBoss Enterprise Application Platform 4 and 5'
  1. JBoss Enterprise Application Platform 4 and 5
  2. JBPAPP-9852

Seam 2.2 Integration Testsuite fails intermittently with ConcurrentModificationException

XMLWordPrintable

    • Release Notes
    • Testing using SeamTest leads to intermittent failures manifesting as ConcurrentModificationException, due to a problem in the underlying JBoss Embedded.
    • Not Required
    • NEW

      The integration testsuite fails intermittently, due to a ConcurrentModificationException.

      This is due to a problem with JBoss Embedded, described in https://issues.jboss.org/browse/JBSEAM-4851.

      The failure manifests in org.jboss.seam.test.integration.databinding.DataModelTest.@BeforeSuite startSeam with the log saying:

      06:06:50     [testng] ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described: name=persistence.units:jar=test-build.jar,unitName=integration state=PreInstall
      06:06:50     [testng] java.util.ConcurrentModificationException
      06:06:50     [testng] 	at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:373)
      06:06:50     [testng] 	at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:392)
      06:06:50     [testng] 	at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:391)
      06:06:50     [testng] 	at java.util.HashMap.putAllForCreate(HashMap.java:435)
      06:06:50     [testng] 	at java.util.HashMap.<init>(HashMap.java:225)
      06:06:50     [testng] 	at java.util.LinkedHashMap.<init>(LinkedHashMap.java:195)
      06:06:50     [testng] 	at org.jboss.aop.Domain.getBindings(Domain.java:157)
      06:06:50     [testng] 	at org.jboss.aop.Domain.getBindings(Domain.java:157)
      06:06:50     [testng] 	at org.jboss.aop.ReflectiveAspectBinder.bindFieldSetAdvice(ReflectiveAspectBinder.java:295)
      06:06:50     [testng] 	at org.jboss.aop.ReflectiveAspectBinder.bindFieldAdvices(ReflectiveAspectBinder.java:208)
      06:06:50     [testng] 	at org.jboss.aop.ReflectiveAspectBinder.getAspects(ReflectiveAspectBinder.java:96)
      06:06:50     [testng] 	at org.jboss.aop.microcontainer.integration.AOPDependencyBuilder.getDependencies(AOPDependencyBuilder.java:101)
      06:06:50     [testng] 	at org.jboss.classadapter.plugins.BasicClassAdapter.getDependencies(BasicClassAdapter.java:80)
      06:06:50     [testng] 	at org.jboss.beans.info.plugins.AbstractBeanInfo.getDependencies(AbstractBeanInfo.java:211)
      06:06:50     [testng] 	at org.jboss.kernel.plugins.dependency.DescribeAction.installActionInternal(DescribeAction.java:53)
      06:06:50     [testng] 	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:135)
      06:06:50     [testng] 	at org.jboss.kernel.plugins.dependency.KernelControllerContextAction.installAction(KernelControllerContextAction.java:46)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.action.SimpleControllerContextAction.simpleInstallAction(SimpleControllerContextAction.java:62)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.action.AccessControllerContextAction.install(AccessControllerContextAction.java:71)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractControllerContextActions.install(AbstractControllerContextActions.java:51)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
      06:06:50     [testng] 	at org.jboss.system.ServiceController.doChange(ServiceController.java:659)
      06:06:50     [testng] 	at org.jboss.system.ServiceController.start(ServiceController.java:431)
      06:06:50     [testng] 	at org.jboss.system.deployers.ServiceDeployer.start(ServiceDeployer.java:149)
      06:06:50     [testng] 	at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:107)
      06:06:50     [testng] 	at org.jboss.system.deployers.ServiceDeployer.deploy(ServiceDeployer.java:46)
      06:06:50     [testng] 	at org.jboss.deployers.spi.deployer.helpers.AbstractSimpleRealDeployer.internalDeploy(AbstractSimpleRealDeployer.java:65)
      06:06:50     [testng] 	at org.jboss.deployers.spi.deployer.helpers.AbstractRealDeployer.deploy(AbstractRealDeployer.java:50)
      06:06:50     [testng] 	at org.jboss.deployers.plugins.deployers.DeployerWrapper.deploy(DeployerWrapper.java:169)
      06:06:50     [testng] 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:853)
      06:06:50     [testng] 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:874)
      06:06:50     [testng] 	at org.jboss.deployers.plugins.deployers.DeployersImpl.doInstallParentFirst(DeployersImpl.java:906)
      06:06:50     [testng] 	at org.jboss.deployers.plugins.deployers.DeployersImpl.install(DeployersImpl.java:794)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractControllerContext.install(AbstractControllerContext.java:327)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.install(AbstractController.java:1309)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.incrementState(AbstractController.java:734)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:862)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.resolveContexts(AbstractController.java:784)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:622)
      06:06:50     [testng] 	at org.jboss.dependency.plugins.AbstractController.change(AbstractController.java:411)
      06:06:50     [testng] 	at org.jboss.deployers.plugins.deployers.DeployersImpl.process(DeployersImpl.java:498)
      06:06:50     [testng] 	at org.jboss.deployers.plugins.main.MainDeployerImpl.process(MainDeployerImpl.java:506)
      06:06:50     [testng] 	at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:127)
      06:06:50     [testng] 	at org.jboss.embedded.Bootstrap.deployResourceBases(Bootstrap.java:289)
      06:06:50     [testng] 	at org.jboss.seam.mock.EmbeddedBootstrap.startAndDeployResources(EmbeddedBootstrap.java:15)
      06:06:50     [testng] 	at org.jboss.seam.mock.AbstractSeamTest.startJbossEmbeddedIfNecessary(AbstractSeamTest.java:1024)
      06:06:50     [testng] 	at org.jboss.seam.mock.AbstractSeamTest.startSeam(AbstractSeamTest.java:915)
      06:06:50     [testng] 	at org.jboss.seam.mock.SeamTest.startSeam(SeamTest.java:69)
      06:06:50     [testng] 	at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      06:06:50     [testng] 	at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
      06:06:50     [testng] 	at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
      06:06:50     [testng] 	at java.lang.reflect.Method.invoke(Method.java:597)
      06:06:50     [testng] 	at org.testng.internal.MethodHelper.invokeMethod(MethodHelper.java:607)
      06:06:50     [testng] 	at org.testng.internal.Invoker.invokeConfigurationMethod(Invoker.java:417)
      06:06:50     [testng] 	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:154)
      06:06:50     [testng] 	at org.testng.internal.Invoker.invokeConfigurations(Invoker.java:88)
      06:06:50     [testng] 	at org.testng.SuiteRunner.privateRun(SuiteRunner.java:284)
      06:06:50     [testng] 	at org.testng.SuiteRunner.run(SuiteRunner.java:204)
      06:06:50     [testng] 	at org.testng.TestNG.createAndRunSuiteRunners(TestNG.java:877)
      06:06:50     [testng] 	at org.testng.TestNG.runSuitesLocally(TestNG.java:842)
      06:06:50     [testng] 	at org.testng.TestNG.run(TestNG.java:751)
      06:06:50     [testng] 	at org.testng.TestNG.privateMain(TestNG.java:914)
      06:06:50     [testng] 	at org.testng.TestNG.main(TestNG.java:887)
      

              mnovotny@redhat.com Marek Novotny
              rsmeral Ron Šmeral (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: