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

Pentaho BI Platform Tracking | kdikken | 8 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

    Seems to happen when an Update occurs: (transformation attached) If I truncate the table and run the procedure, it completes normally. INFO 06-11 13:09:27,754 - Get Tenant Data.0 - Finished reading query, closing connection. INFO 06-11 13:09:27,760 - Get Tenant Data.0 - Finished processing (I=422, O=0, R=0, W=422, U=422, E=0) INFO 06-11 13:09:28,250 - Join Rows (cartesian product).0 - Finished processing (I=0, O=0, R=423, W=422, U=422, E=0) ERROR 06-11 13:09:29,353 - Dimension lookup/update.0 - Unexpected error : ERROR 06-11 13:09:29,354 - Dimension lookup/update.0 - java.lang.RuntimeException: Error serializing row to byte array at org.pentaho.di.core.row.RowMeta.extractData(RowMeta.java:765) at org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.addToCache(DimensionLookup.java:1022) at org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.lookupValues(DimensionLookup.java:425) at org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.processRow(DimensionLookup.java:183) at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2664) at org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.run(DimensionLookup.java:1267) Caused by: java.lang.RuntimeException: tenant_id BigNumber(16) : There was a data type error: the data type of java.lang.Long object [50] does not correspond to value meta [BigNumber(16)] at org.pentaho.di.core.row.ValueMeta.writeData(ValueMeta.java:2020) at org.pentaho.di.core.row.RowMeta.writeData(RowMeta.java:442) at org.pentaho.di.core.row.RowMeta.extractData(RowMeta.java:758) ... 5 more ERROR 06-11 13:09:29,358 - populate_tenant_dim - Errors detected!

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

    Automated exception search integrated into your IDE

  3. 0

    My data is in an Oracle DB, all options set correctly (using a sequence for the technical key). After allowing all columns to be null (because of the problem described in: http://forums.pentaho.org/showthread.php?t=58001 ) i did an initial load of this SCD. A second run caused the following below error in the middle of the dataset ( (I=4408, O=4408, R=4408, W=4407, U=4407, E=1) - total rows 4460) It seems like the version column in the DB is not sized correctly. 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : Unexpected error : 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : java.lang.RuntimeException: Error serializing row to byte array 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : at org.pentaho.di.core.row.RowMeta.extractData(RowMeta.java:765) 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : at org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.addToCache(DimensionLookup.java:1023) 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : at org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.lookupValues(DimensionLookup.java:471) 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : at org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.processRow(DimensionLookup.java:183) 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : at org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2677) 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : at org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.run(DimensionLookup.java:1271) 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : Caused by: java.lang.RuntimeException: VERSION BigNumber : There was a data type error: the data type of java.lang.Long object [2] does not correspond to value meta [BigNumber] 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : at org.pentaho.di.core.row.ValueMeta.writeData(ValueMeta.java:2033) 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : at org.pentaho.di.core.row.RowMeta.writeData(RowMeta.java:442) 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : at org.pentaho.di.core.row.RowMeta.extractData(RowMeta.java:758) 2009/04/23 11:21:02 - Dimension lookup/update.0 - ERROR (version 3.1.3, build 10175 from 2009/02/24 16:08:00) : ... 5 more

    Pentaho BI Platform Tracking | 8 years ago | Paul Stoellberger
    java.lang.RuntimeException: Error serializing row to byte array
  4. 0

    Dimesion lookup/update failing

    pentaho.com | 10 months ago
    java.lang.RuntimeException: Error serializing row to byte array

    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

      active String(1) : There was a data type error: the data type of java.lang.Boolean object [true] does not correspond to value meta [String(1)]

      at org.pentaho.di.core.row.ValueMeta.writeData()
    2. org.pentaho.di
      DimensionLookup.run
      1. org.pentaho.di.core.row.ValueMeta.writeData(ValueMeta.java:2042)
      2. org.pentaho.di.core.row.RowMeta.writeData(RowMeta.java:444)
      3. org.pentaho.di.core.row.RowMeta.extractData(RowMeta.java:807)
      4. org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.addToCache(DimensionLookup.java:1321)
      5. org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.lookupValues(DimensionLookup.java:605)
      6. org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.processRow(DimensionLookup.java:202)
      7. org.pentaho.di.trans.step.BaseStep.runStepThread(BaseStep.java:2889)
      8. org.pentaho.di.trans.steps.dimensionlookup.DimensionLookup.run(DimensionLookup.java:1591)
      8 frames