java.util.ConcurrentModificationException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • This is related to the "thin java client" for workflow. Essentially, it lazily creates a RiceConfigurer the first time a WorkflowDocument or WorkflowInfo method is invoked (if a RiceConfigurer has not already been configured). What I'm seeing in the load tests at the very beginning (if I set the ramp up to 1 second) is the error below. It goes away after the first few threads but it's obviously a concurrency issue with the lazy initailization of the thin client resource loading: java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449) at java.util.AbstractList$Itr.next(AbstractList.java:420) at org.kuali.rice.resourceloader.ResourceLoaderContainer.getService(ResourceLoaderContainer.java:150) at org.kuali.rice.resourceloader.GlobalResourceLoader.getService(GlobalResourceLoader.java:120) at org.kuali.rice.resourceloader.GlobalResourceLoader.getService(GlobalResourceLoader.java:127) at edu.iu.uis.eden.clientapp.WorkflowDocument.getWorkflowDocumentActions(WorkflowDocument.java:162) at edu.iu.uis.eden.clientapp.WorkflowDocument.getDocumentContent(WorkflowDocument.java:210) at org.kuali.rice.loadtests.RouteDocumentTest.runKewTest(RouteDocumentTest.java:20) at org.kuali.rice.loadtests.KewLoadTestBase.runTest(KewLoadTestBase.java:105) at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:165) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298) at java.lang.Thread.run(Thread.java:613) java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449) at java.util.AbstractList$Itr.next(AbstractList.java:420) at org.kuali.rice.resourceloader.ResourceLoaderContainer.start(ResourceLoaderContainer.java:51) at org.kuali.rice.resourceloader.GlobalResourceLoader.start(GlobalResourceLoader.java:65) at org.kuali.rice.resourceloader.RootResourceLoaderLifecycle.start(RootResourceLoaderLifecycle.java:40) at org.kuali.rice.lifecycle.BaseCompositeLifecycle.start(BaseCompositeLifecycle.java:33) at org.kuali.rice.config.RiceConfigurer.start(RiceConfigurer.java:78) at edu.iu.uis.eden.clientapp.WorkflowDocument.initializeBus(WorkflowDocument.java:178) at edu.iu.uis.eden.clientapp.WorkflowDocument.getWorkflowDocumentActions(WorkflowDocument.java:161) at edu.iu.uis.eden.clientapp.WorkflowDocument.getDocumentContent(WorkflowDocument.java:210) at org.kuali.rice.loadtests.RouteDocumentTest.runKewTest(RouteDocumentTest.java:20) at org.kuali.rice.loadtests.KewLoadTestBase.runTest(KewLoadTestBase.java:105) at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:165) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298) at java.lang.Thread.run(Thread.java:613)
    via by Eric Westfall,
  • This is related to the "thin java client" for workflow. Essentially, it lazily creates a RiceConfigurer the first time a WorkflowDocument or WorkflowInfo method is invoked (if a RiceConfigurer has not already been configured). What I'm seeing in the load tests at the very beginning (if I set the ramp up to 1 second) is the error below. It goes away after the first few threads but it's obviously a concurrency issue with the lazy initailization of the thin client resource loading: java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449) at java.util.AbstractList$Itr.next(AbstractList.java:420) at org.kuali.rice.resourceloader.ResourceLoaderContainer.getService(ResourceLoaderContainer.java:150) at org.kuali.rice.resourceloader.GlobalResourceLoader.getService(GlobalResourceLoader.java:120) at org.kuali.rice.resourceloader.GlobalResourceLoader.getService(GlobalResourceLoader.java:127) at edu.iu.uis.eden.clientapp.WorkflowDocument.getWorkflowDocumentActions(WorkflowDocument.java:162) at edu.iu.uis.eden.clientapp.WorkflowDocument.getDocumentContent(WorkflowDocument.java:210) at org.kuali.rice.loadtests.RouteDocumentTest.runKewTest(RouteDocumentTest.java:20) at org.kuali.rice.loadtests.KewLoadTestBase.runTest(KewLoadTestBase.java:105) at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:165) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298) at java.lang.Thread.run(Thread.java:613) java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449) at java.util.AbstractList$Itr.next(AbstractList.java:420) at org.kuali.rice.resourceloader.ResourceLoaderContainer.start(ResourceLoaderContainer.java:51) at org.kuali.rice.resourceloader.GlobalResourceLoader.start(GlobalResourceLoader.java:65) at org.kuali.rice.resourceloader.RootResourceLoaderLifecycle.start(RootResourceLoaderLifecycle.java:40) at org.kuali.rice.lifecycle.BaseCompositeLifecycle.start(BaseCompositeLifecycle.java:33) at org.kuali.rice.config.RiceConfigurer.start(RiceConfigurer.java:78) at edu.iu.uis.eden.clientapp.WorkflowDocument.initializeBus(WorkflowDocument.java:178) at edu.iu.uis.eden.clientapp.WorkflowDocument.getWorkflowDocumentActions(WorkflowDocument.java:161) at edu.iu.uis.eden.clientapp.WorkflowDocument.getDocumentContent(WorkflowDocument.java:210) at org.kuali.rice.loadtests.RouteDocumentTest.runKewTest(RouteDocumentTest.java:20) at org.kuali.rice.loadtests.KewLoadTestBase.runTest(KewLoadTestBase.java:105) at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:165) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298) at java.lang.Thread.run(Thread.java:613)
    via by Eric Westfall,
  • loop on list with remove
    via Stack Overflow by enguerran
    ,
  • Toplink Error
    via by Unknown author,
  • Genesys Info Mart 7.6.x Release Note
    via by Unknown author,
    • java.util.ConcurrentModificationException at java.util.AbstractList$Itr.checkForComodification(AbstractList.java:449) at java.util.AbstractList$Itr.next(AbstractList.java:420) at org.kuali.rice.resourceloader.ResourceLoaderContainer.start(ResourceLoaderContainer.java:51) at org.kuali.rice.resourceloader.GlobalResourceLoader.start(GlobalResourceLoader.java:65) at org.kuali.rice.resourceloader.RootResourceLoaderLifecycle.start(RootResourceLoaderLifecycle.java:40) at org.kuali.rice.lifecycle.BaseCompositeLifecycle.start(BaseCompositeLifecycle.java:33) at org.kuali.rice.config.RiceConfigurer.start(RiceConfigurer.java:78) at edu.iu.uis.eden.clientapp.WorkflowDocument.initializeBus(WorkflowDocument.java:178) at edu.iu.uis.eden.clientapp.WorkflowDocument.getWorkflowDocumentActions(WorkflowDocument.java:161) at edu.iu.uis.eden.clientapp.WorkflowDocument.getDocumentContent(WorkflowDocument.java:210) at org.kuali.rice.loadtests.RouteDocumentTest.runKewTest(RouteDocumentTest.java:20) at org.kuali.rice.loadtests.KewLoadTestBase.runTest(KewLoadTestBase.java:105) at org.apache.jmeter.protocol.java.sampler.JavaSampler.sample(JavaSampler.java:165) at org.apache.jmeter.threads.JMeterThread.run(JMeterThread.java:298) at java.lang.Thread.run(Thread.java:613)

    Users with the same issue

    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    Pilleo
    Pilleo4 times, last one,