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.

  • 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.
    via by Antonina Doudkina,
  • 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.
    via by Antonina Doudkina,
  • Console Error McMMO Dev #1086
    via GitHub by ghost
    ,
  • Plugin exception
    via GitHub by arnaugm
    ,
    • java.util.ConcurrentModificationException at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:819) at java.util.ArrayList$Itr.next(ArrayList.java:791) at org.pentaho.di.core.logging.LoggingBuffer.addLogggingEvent(LoggingBuffer.java:325) at org.pentaho.di.core.logging.LogChannel.println(LogChannel.java:122) at org.pentaho.di.core.logging.LogChannel.logBasic(LogChannel.java:141) at org.pentaho.di.job.entry.JobEntryBase.logBasic(JobEntryBase.java:1062) at org.pentaho.di.job.entries.shell.JobEntryShell.executeShell(JobEntryShell.java:445) at org.pentaho.di.job.entries.shell.JobEntryShell.execute(JobEntryShell.java:415) at org.pentaho.di.job.Job.execute(Job.java:692) at org.pentaho.di.job.Job.execute(Job.java:831) at org.pentaho.di.job.Job.execute(Job.java:831) at org.pentaho.di.job.Job.execute(Job.java:831) at org.pentaho.di.job.Job.execute(Job.java:577) at org.pentaho.di.job.entries.job.JobEntryJobRunner.run(JobEntryJobRunner.java:71) at java.lang.Thread.run(Thread.java:724)

    Users with the same issue

    Unknown visitor1 times, last one,
    Reich
    1 times, last one,
    batwalrus76
    7 times, last one,
    Unknown visitor1 times, last one,
    Unknown visitor1 times, last one,
    51 more bugmates