java.lang.RuntimeException: Error serializing row to byte array

Pentaho BI Platform Tracking | Michal Riedmueller | 8 years ago
  1. 0

    Executing a transformation created under 3.0.4 with 3.1.0M2 returns an exception (see below). Executing the same transformation with 3.0.4 did not throw that exception. The exception is thrown at a database lookup component From the error message it seems obvious that the two types are equal. 'AF' is the first value for country_key read from the set of new values >>>>>>>>>>>>>>>>>>>> Unexpected error : 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : java.lang.RuntimeException: Error serializing row to byte array 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.core.row.RowMeta.extractData(RowMeta.java:735) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.trans.steps.streamlookup.StreamLookup.addToCache(StreamLookup.java:329) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.trans.steps.streamlookup.StreamLookup.readLookupValues(StreamLookup.java:193) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.trans.steps.streamlookup.StreamLookup.processRow(StreamLookup.java:396) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2444) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.trans.steps.streamlookup.StreamLookup.run(StreamLookup.java:500) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : Caused by: java.lang.RuntimeException: country_key String(50)<binary-string> : There was a data type error: the data type of java.lang.String object [AF] does not correspond to value meta [String(50)<binary-string>] 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.core.row.ValueMeta.writeData(ValueMeta.java:2015) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.core.row.RowMeta.writeData(RowMeta.java:442) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.core.row.RowMeta.extractData(RowMeta.java:728)

    Pentaho BI Platform Tracking | 8 years ago | Michal Riedmueller
    java.lang.RuntimeException: Error serializing row to byte array
  2. 0

    Executing a transformation created under 3.0.4 with 3.1.0M2 returns an exception (see below). Executing the same transformation with 3.0.4 did not throw that exception. The exception is thrown at a database lookup component From the error message it seems obvious that the two types are equal. 'AF' is the first value for country_key read from the set of new values >>>>>>>>>>>>>>>>>>>> Unexpected error : 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : java.lang.RuntimeException: Error serializing row to byte array 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.core.row.RowMeta.extractData(RowMeta.java:735) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.trans.steps.streamlookup.StreamLookup.addToCache(StreamLookup.java:329) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.trans.steps.streamlookup.StreamLookup.readLookupValues(StreamLookup.java:193) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.trans.steps.streamlookup.StreamLookup.processRow(StreamLookup.java:396) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2444) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.trans.steps.streamlookup.StreamLookup.run(StreamLookup.java:500) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : Caused by: java.lang.RuntimeException: country_key String(50)<binary-string> : There was a data type error: the data type of java.lang.String object [AF] does not correspond to value meta [String(50)<binary-string>] 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.core.row.ValueMeta.writeData(ValueMeta.java:2015) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.core.row.RowMeta.writeData(RowMeta.java:442) 2008/08/12 12:11:05 - lookup current entry.0 - ERROR (version 3.1.0-M2, build 709 from 2008/08/12 11:37:56) : at org.pentaho.di.core.row.RowMeta.extractData(RowMeta.java:728)

    Pentaho BI Platform Tracking | 8 years ago | Michal Riedmueller
    java.lang.RuntimeException: Error serializing row to byte array
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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.lang.RuntimeException

      country_key String(50)<binary-string> : There was a data type error: the data type of java.lang.String object [AF] does not correspond to value meta [String(50)<binary-string>]

      at org.pentaho.di.core.row.ValueMeta.writeData()
    2. org.pentaho.di
      RowMeta.extractData
      1. org.pentaho.di.core.row.ValueMeta.writeData(ValueMeta.java:2015)
      2. org.pentaho.di.core.row.RowMeta.writeData(RowMeta.java:442)
      3. org.pentaho.di.core.row.RowMeta.extractData(RowMeta.java:728)
      3 frames