java.util.ConcurrentModificationException

Pentaho BI Platform Tracking | Todd Sykes | 2 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

    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)

    Pentaho BI Platform Tracking | 2 years ago | Todd Sykes
    java.util.ConcurrentModificationException
  2. 0

    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)

    Pentaho BI Platform Tracking | 2 years ago | Todd Sykes
    java.util.ConcurrentModificationException

    Root Cause Analysis

    1. java.util.ConcurrentModificationException

      No message provided

      at java.util.Hashtable$Enumerator.next()
    2. Java RT
      ConcurrentHashMap.putAll
      1. java.util.Hashtable$Enumerator.next(Hashtable.java:1167)
      2. java.util.concurrent.ConcurrentHashMap.putAll(ConcurrentHashMap.java:1161)
      2 frames
    3. org.pentaho.di
      RunThread.run
      1. org.pentaho.di.trans.Trans.getResult(Trans.java:2592)
      2. org.pentaho.di.trans.steps.metainject.MetaInject.copyResult(MetaInject.java:326)
      3. org.pentaho.di.trans.steps.metainject.MetaInject.processRow(MetaInject.java:306)
      4. org.pentaho.di.trans.step.RunThread.run(RunThread.java:62)
      4 frames
    4. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame