You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
java.util.ConcurrentModificationException at cucumber.runtime.xstream.LocalizedXStreams$LocalizedXStream.unsetParameterInfo(LocalizedXStreams.java:81)
#591
Closed
jasonboggess opened this issue
Sep 18, 2013
· 3 comments
We are attempting to run Cucumber tests in parallel, but running into the following error. It looks like it's happening when Cucumber is attempting to read the parameters for the test.
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819)
at java.util.ArrayList$Itr.next(ArrayList.java:791)
at cucumber.runtime.xstream.LocalizedXStreams$LocalizedXStream.unsetParameterInfo(LocalizedXStreams.java:81)
at cucumber.runtime.ParameterInfo.convert(ParameterInfo.java:120)
at cucumber.runtime.StepDefinitionMatch.transformedArgs(StepDefinitionMatch.java:75)
at cucumber.runtime.StepDefinitionMatch.runStep(StepDefinitionMatch.java:38)
at cucumber.runtime.Runtime.runStep(Runtime.java:268)
at cucumber.runtime.model.StepContainer.runStep(StepContainer.java:45)
at cucumber.runtime.model.StepContainer.runSteps(StepContainer.java:40)
at cucumber.runtime.model.CucumberScenario.runBackground(CucumberScenario.java:45)
at cucumber.runtime.model.CucumberScenario.run(CucumberScenario.java:34)
at cucumber.runtime.junit.ExecutionUnitRunner.run(ExecutionUnitRunner.java:83)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:63)
at cucumber.runtime.junit.FeatureRunner.runChild(FeatureRunner.java:18)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.junit.runners.ParentRunner$1.schedule(ParentRunner.java:63)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at cucumber.runtime.junit.FeatureRunner.run(FeatureRunner.java:70)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:77)
at cucumber.api.junit.Cucumber.runChild(Cucumber.java:37)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:258)
at org.apache.maven.surefire.junitcore.pc.InvokerStrategy.schedule(InvokerStrategy.java:38)
at org.apache.maven.surefire.junitcore.pc.Scheduler.schedule(Scheduler.java:230)
at org.junit.runners.ParentRunner.runChildren(ParentRunner.java:236)
at org.junit.runners.ParentRunner.access$000(ParentRunner.java:53)
at org.junit.runners.ParentRunner$2.evaluate(ParentRunner.java:229)
at org.junit.runners.ParentRunner.run(ParentRunner.java:309)
at cucumber.api.junit.Cucumber.run(Cucumber.java:82)
at org.junit.runners.Suite.runChild(Suite.java:127)
at org.junit.runners.Suite.runChild(Suite.java:26)
at org.junit.runners.ParentRunner$3.run(ParentRunner.java:238)
at org.apache.maven.surefire.junitcore.pc.Scheduler$1.run(Scheduler.java:258)
at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:334)
at java.util.concurrent.FutureTask.run(FutureTask.java:166)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
at java.lang.Thread.run(Thread.java:722)
The text was updated successfully, but these errors were encountered:
Even I have been facing the same issue when I try running a some tests in parallel and its random so its hard to produce a test for it.This PR should help fix it.
We are attempting to run Cucumber tests in parallel, but running into the following error. It looks like it's happening when Cucumber is attempting to read the parameters for the test.
Found #554 that might fix the issue.
The text was updated successfully, but these errors were encountered: