1 Reply Latest reply on May 28, 2008 11:58 AM by Pete Muir

    Another Seam Test Problem

    Joseph Nusairat Newbie

      The company i am at never bothered to set up unit tests so i am desperately trying to set it up. We have a full stack MDBs, jBPMs, Queues, etc.


      So i downloaded 2.0.2 and ran the seam-gen then copied the bootstrap to our directory.


      I've worked through a few errors but i keep getting this concurrent one.


       ERROR [org.jboss.kernel.plugins.dependency.AbstractKernelController] Error installing to Described: name=jboss.j2ee:jar=test-build,name=ActionItemSchedulerBean,service=EJB3 state=PreInstall
         [testng] java.util.ConcurrentModificationException
         [testng]     at java.util.LinkedHashMap$LinkedHashIterator.nextEntry(LinkedHashMap.java:365)
         [testng]     at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:384)
         [testng]     at java.util.LinkedHashMap$EntryIterator.next(LinkedHashMap.java:383)
         [testng]     at java.util.HashMap.putAllForCreate(HashMap.java:427)
         [testng]     at java.util.HashMap.<init>(HashMap.java:219)
         [testng]     at java.util.LinkedHashMap.<init>(LinkedHashMap.java:192)
         [testng]     at org.jboss.aop.Domain.getBindings(Domain.java:157)
         [testng]     at org.jboss
      
      ...
       [testng] FAILED CONFIGURATION: @BeforeClass init
         [testng] org.jboss.deployers.client.spi.IncompleteDeploymentException: Summary of incomplete deployments (SEE PREVIOUS ERRORS FOR DETAILS):
         [testng] *** CONTEXTS IN ERROR: Name -> Error
         [testng] jboss.j2ee:jar=test-build,name=ActionItemSchedulerBean,service=EJB3 -> java.util.ConcurrentModificationException
         [testng]     at org.jboss.deployers.plugins.deployers.DeployersImpl.checkComplete(DeployersImpl.java:576)
         [testng]     at org.jboss.deployers.plugins.main.MainDeployerImpl.checkComplete(MainDeployerImpl.java:559)
         [testng]     at org.jboss.embedded.DeploymentGroup.process(DeploymentGroup.java:128)
         [testng]     at 
      
      
      



      I am using Java 1.5.0-06 to run it. ActionItemScheduler is an AutoCreate SLSB.


      Any thoughts would be appreciated.