java.util.ConcurrentModificationException

Kuali JIRA | Weldon Sams | 4 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    There's a for loop that loops over an array and inside the loop items are conditionally removed from the array being looped over causing this exception, {noformat} DEBUG [pool-9-thread-1] (KmsRendererService.java:1127) - debug-publish: Just set a publish date from /trunk/gr/granddad.dita (11/27/2012 09:18 AM) on /live/gr/granddad.dita (11/27/2012 09:18 AM) WARN [pool-9-thread-1] (KmsDocumentService.java:1362) - debug-publish: /live/gr/granddad.dita has already been approved. Why are we trying again? ERROR [pool-9-thread-1] (RepositoryPollerTask.java:1357) - Exception java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:782) at java.util.ArrayList$Itr.next(ArrayList.java:754) at org.kuali.kits.kms.repository.RepositoryPollerTask.callAutoApprove(RepositoryPollerTask.java:1754) at org.kuali.kits.kms.repository.RepositoryPollerTask.maybePublishingCallback(RepositoryPollerTask.java:1850) at org.kuali.kits.kms.repository.RepositoryPollerTask.finishUpModify(RepositoryPollerTask.java:556) at org.kuali.kits.kms.repository.RepositoryPollerTask.processLogEntry(RepositoryPollerTask.java:1012) at org.kuali.kits.kms.repository.RepositoryPollerTask.performRun(RepositoryPollerTask.java:1270) at org.kuali.kits.kms.repository.RepositoryPollerTask.run(RepositoryPollerTask.java:1354) at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471) at java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351) at java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267) 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:679) INFO [pool-9-thread-1] (RepositoryPollerTask.java:1254) - latest revision: 50; last processed revision: 47; (file:///home/wsams/kms/svndev/kits/kms/str/dev) INFO [pool-9-thread-1] (RepositoryPollerTask.java:768) - new revision: 48; author: wsams; date: Tue Nov 27 09:19:14 EST 2012; message: Copying /trunk/gr/granddad.dita to /live/gr/granddad.dita {noformat}

    Kuali JIRA | 4 years ago | Weldon Sams
    java.util.ConcurrentModificationException
  2. 0

    Java- synchronizing a list

    Stack Overflow | 5 years ago | Trup
    java.util.ConcurrentModificationException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Why does this code throw a java ConcurrentModificationException?

    Stack Overflow | 6 years ago | random dude
    java.util.ConcurrentModificationException
  5. 0

    how to fix ConcurrentModificationExceptions in multi-threaded environment?

    Stack Overflow | 5 years ago | user1363410
    java.util.ConcurrentModificationException

  1. SteVio1989 1 times, last 2 weeks ago
  2. derprogger 1 times, last 3 weeks ago
  3. batwalrus76 7 times, last 4 weeks ago
  4. iferca 2 times, last 2 months ago
  5. serious2monkeys 6 times, last 7 months ago
9 more registered users
30 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. java.util.ConcurrentModificationException

    No message provided

    at java.util.ArrayList$Itr.checkForComodification()
  2. Java RT
    ArrayList$Itr.next
    1. java.util.ArrayList$Itr.checkForComodification(ArrayList.java:782)
    2. java.util.ArrayList$Itr.next(ArrayList.java:754)
    2 frames
  3. org.kuali.kits
    RepositoryPollerTask.run
    1. org.kuali.kits.kms.repository.RepositoryPollerTask.callAutoApprove(RepositoryPollerTask.java:1754)
    2. org.kuali.kits.kms.repository.RepositoryPollerTask.maybePublishingCallback(RepositoryPollerTask.java:1850)
    3. org.kuali.kits.kms.repository.RepositoryPollerTask.finishUpModify(RepositoryPollerTask.java:556)
    4. org.kuali.kits.kms.repository.RepositoryPollerTask.processLogEntry(RepositoryPollerTask.java:1012)
    5. org.kuali.kits.kms.repository.RepositoryPollerTask.performRun(RepositoryPollerTask.java:1270)
    6. org.kuali.kits.kms.repository.RepositoryPollerTask.run(RepositoryPollerTask.java:1354)
    6 frames
  4. Java RT
    Thread.run
    1. java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:471)
    2. java.util.concurrent.FutureTask$Sync.innerRunAndReset(FutureTask.java:351)
    3. java.util.concurrent.FutureTask.runAndReset(FutureTask.java:178)
    4. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$201(ScheduledThreadPoolExecutor.java:165)
    5. java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:267)
    6. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
    7. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
    8. java.lang.Thread.run(Thread.java:679)
    8 frames