java.util.ConcurrentModificationException

Pentaho BI Platform Tracking | Antonina Doudkina | 3 years ago
  1. 0

    These issues had been faced with while validating PDI-10503 case. It is reproduced on Windows while on Linux job runs fine. 1. Download attached samples. 2. Run "parallel wrapper.kjb" job. NOTE: Issue 1. Sometimes (not always) the following error occurs while running "parallel wrapper.kjb" job which in its turn runs two instances of main.kjb in parallel: 2013/11/19 19:36:37 - internal shell - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-11-16 22.44.38 by tomcat) : Unexpected error running shell [null] : java.util.ConcurrentModificationException 2013/11/19 19:36:37 - internal shell - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-11-16 22.44.38 by tomcat) : java.util.ConcurrentModificationException 2013/11/19 19:36:37 - internal shell - at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819) 2013/11/19 19:36:37 - internal shell - at java.util.ArrayList$Itr.next(ArrayList.java:791) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.core.logging.LoggingBuffer.addLogggingEvent(LoggingBuffer.java:325) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:122) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.core.logging.LogChannel.logBasic(LogChannel.java:141) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.entry.JobEntryBase.logBasic(JobEntryBase.java:1062) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.entries.shell.JobEntryShell.executeShell(JobEntryShell.java:445) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.entries.shell.JobEntryShell.execute(JobEntryShell.java:415) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.Job.execute(Job.java:692) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.Job.execute(Job.java:831) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.Job.execute(Job.java:831) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.Job.execute(Job.java:831) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.Job.execute(Job.java:577) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.entries.job.JobEntryJobRunner.run(JobEntryJobRunner.java:71) 2013/11/19 19:36:37 - internal shell - at java.lang.Thread.run(Thread.java:724) Issue 2. In most cases job "parallel wrapper.kjb" fails because one of instances of main.kjb finishes with failure - not always shell scripts, launched from two instances of main.kjb running in parallel, succeed to write output to the same file. And spoon log trace may not even contain any exceptions.

    Pentaho BI Platform Tracking | 3 years ago | Antonina Doudkina
    java.util.ConcurrentModificationException
  2. 0

    These issues had been faced with while validating PDI-10503 case. It is reproduced on Windows while on Linux job runs fine. 1. Download attached samples. 2. Run "parallel wrapper.kjb" job. NOTE: Issue 1. Sometimes (not always) the following error occurs while running "parallel wrapper.kjb" job which in its turn runs two instances of main.kjb in parallel: 2013/11/19 19:36:37 - internal shell - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-11-16 22.44.38 by tomcat) : Unexpected error running shell [null] : java.util.ConcurrentModificationException 2013/11/19 19:36:37 - internal shell - ERROR (version TRUNK-SNAPSHOT, build 1 from 2013-11-16 22.44.38 by tomcat) : java.util.ConcurrentModificationException 2013/11/19 19:36:37 - internal shell - at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819) 2013/11/19 19:36:37 - internal shell - at java.util.ArrayList$Itr.next(ArrayList.java:791) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.core.logging.LoggingBuffer.addLogggingEvent(LoggingBuffer.java:325) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:122) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.core.logging.LogChannel.logBasic(LogChannel.java:141) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.entry.JobEntryBase.logBasic(JobEntryBase.java:1062) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.entries.shell.JobEntryShell.executeShell(JobEntryShell.java:445) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.entries.shell.JobEntryShell.execute(JobEntryShell.java:415) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.Job.execute(Job.java:692) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.Job.execute(Job.java:831) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.Job.execute(Job.java:831) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.Job.execute(Job.java:831) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.Job.execute(Job.java:577) 2013/11/19 19:36:37 - internal shell - at org.pentaho.di.job.entries.job.JobEntryJobRunner.run(JobEntryJobRunner.java:71) 2013/11/19 19:36:37 - internal shell - at java.lang.Thread.run(Thread.java:724) Issue 2. In most cases job "parallel wrapper.kjb" fails because one of instances of main.kjb finishes with failure - not always shell scripts, launched from two instances of main.kjb running in parallel, succeed to write output to the same file. And spoon log trace may not even contain any exceptions.

    Pentaho BI Platform Tracking | 3 years ago | Antonina Doudkina
    java.util.ConcurrentModificationException
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    Console Error McMMO Dev #1086

    GitHub | 4 years ago | ghost
    java.util.ConcurrentModificationException
  5. 0

    PartyAutoKickTask throws an Error

    GitHub | 4 years ago | ForeverPVP
    java.util.ConcurrentModificationException

  1. serious2monkeys 2 times, last 1 month ago
  2. eti22 4 times, last 2 months ago
  3. Tahir 1 times, last 3 months ago
  4. Shadd518 2 times, last 4 months ago
  5. haerick 1 times, last 5 months ago
5 more registered users
23 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:819)
    2. java.util.ArrayList$Itr.next(ArrayList.java:791)
    2 frames
  3. org.pentaho.di
    JobEntryJobRunner.run
    1. org.pentaho.di.core.logging.LoggingBuffer.addLogggingEvent(LoggingBuffer.java:325)
    2. org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:122)
    3. org.pentaho.di.core.logging.LogChannel.logBasic(LogChannel.java:141)
    4. org.pentaho.di.job.entry.JobEntryBase.logBasic(JobEntryBase.java:1062)
    5. org.pentaho.di.job.entries.shell.JobEntryShell.executeShell(JobEntryShell.java:445)
    6. org.pentaho.di.job.entries.shell.JobEntryShell.execute(JobEntryShell.java:415)
    7. org.pentaho.di.job.Job.execute(Job.java:692)
    8. org.pentaho.di.job.Job.execute(Job.java:831)
    9. org.pentaho.di.job.Job.execute(Job.java:831)
    10. org.pentaho.di.job.Job.execute(Job.java:831)
    11. org.pentaho.di.job.Job.execute(Job.java:577)
    12. org.pentaho.di.job.entries.job.JobEntryJobRunner.run(JobEntryJobRunner.java:71)
    12 frames
  4. Java RT
    Thread.run
    1. java.lang.Thread.run(Thread.java:724)
    1 frame