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.

  • Using metadata injector on a transformation with both "Get File Names" and "CSV File Input" steps. Transformation is generating a list of multiple files and then reading them with the CSV File Input. The metadata injector transformation throws the error below. If I instead generate a transformation from the metadata injector, it runs correctly. If I remove the "Get File Names" the metadata injector also runs without error although it doesn't read all the files desired. 2015/02/08 03:38:38 - ETL Metadata Injection.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Unexpected error 2015/02/08 03:38:38 - ETL Metadata Injection.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : java.util.ConcurrentModificationException 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at java.util.Hashtable$Enumerator.next(Hashtable.java:1167) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:1161) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at org.pentaho.di.trans.Trans.getResult(Trans.java:2592) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at org.pentaho.di.trans.steps.metainject.MetaInject.copyResult(MetaInject.java:326) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at org.pentaho.di.trans.steps.metainject.MetaInject.processRow(MetaInject.java:306) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at java.lang.Thread.run(Thread.java:745)
    via by Todd Sykes,
  • Using metadata injector on a transformation with both "Get File Names" and "CSV File Input" steps. Transformation is generating a list of multiple files and then reading them with the CSV File Input. The metadata injector transformation throws the error below. If I instead generate a transformation from the metadata injector, it runs correctly. If I remove the "Get File Names" the metadata injector also runs without error although it doesn't read all the files desired. 2015/02/08 03:38:38 - ETL Metadata Injection.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : Unexpected error 2015/02/08 03:38:38 - ETL Metadata Injection.0 - ERROR (version 5.2.0.0, build 1 from 2014-09-30_19-48-28 by buildguy) : java.util.ConcurrentModificationException 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at java.util.Hashtable$Enumerator.next(Hashtable.java:1167) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:1161) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at org.pentaho.di.trans.Trans.getResult(Trans.java:2592) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at org.pentaho.di.trans.steps.metainject.MetaInject.copyResult(MetaInject.java:326) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at org.pentaho.di.trans.steps.metainject.MetaInject.processRow(MetaInject.java:306) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) 2015/02/08 03:38:38 - ETL Metadata Injection.0 - at java.lang.Thread.run(Thread.java:745)
    via by Todd Sykes,
  • got an amusing exception
    via GitHub by vpatryshev
    ,
  • Java ClassLoader Issue or Concurrency Error?
    via Stack Overflow by ioplex
    ,
  • ConcurrentModificationException Netbeans Gui
    via Stack Overflow by Matt C
    ,
    • java.util.ConcurrentModificationException at java.util.Hashtable$Enumerator.next(Hashtable.java:1167) at java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:1161) at org.pentaho.di.trans.Trans.getResult(Trans.java:2592) at org.pentaho.di.trans.steps.metainject.MetaInject.copyResult(MetaInject.java:326) at org.pentaho.di.trans.steps.metainject.MetaInject.processRow(MetaInject.java:306) at org.pentaho.di.trans.step.RunThread.run(RunThread.java:62) at java.lang.Thread.run(Thread.java:745)

    Users with the same issue

    Unknown visitor1 times, last one,