java.io.StreamCorruptedException: invalid type code: 56

Pentaho BI Platform Tracking | Pedro Teixeira | 3 years ago
  1. 0

    If you have a .cda file with datasources and queries for a dashboard, you can use those queries in another dashboard: - Create a new dashboard by going to File -> New -> CDE Dashboard - On the Datasources Panel go to Community Data Access -> CDA Datasource - set a Name for it - on DataAccess ID put the DataAccess ID of the query that you want to use from the existing .cda file - on OutputIndex ID set a name for the new DataAccess ID - on Path point to the existing .cda file - Save the new Dashboard. The .cda file is not created, when trying to run the query we have the following error: WARNING: A servlet request, to the URI http://127.0.0.1:8081/pentaho/plugin/cda/api/doQuery?path=%2Fhome%2Fadmin%2Ftest.cda&dataAccessId=testQuery, co ntains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected. java.io.StreamCorruptedException: invalid type code: 56 at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source)

    Pentaho BI Platform Tracking | 3 years ago | Pedro Teixeira
    java.io.StreamCorruptedException: invalid type code: 56
  2. 0

    If you have a .cda file with datasources and queries for a dashboard, you can use those queries in another dashboard: - Create a new dashboard by going to File -> New -> CDE Dashboard - On the Datasources Panel go to Community Data Access -> CDA Datasource - set a Name for it - on DataAccess ID put the DataAccess ID of the query that you want to use from the existing .cda file - on OutputIndex ID set a name for the new DataAccess ID - on Path point to the existing .cda file - Save the new Dashboard. The .cda file is not created, when trying to run the query we have the following error: WARNING: A servlet request, to the URI http://127.0.0.1:8081/pentaho/plugin/cda/api/doQuery?path=%2Fhome%2Fadmin%2Ftest.cda&dataAccessId=testQuery, co ntains form parameters in the request body but the request body has been consumed by the servlet or a servlet filter accessing the request parameters. Only resource methods using @FormParam will work as expected. Resource methods consuming the request body by other means will not work as expected. java.io.StreamCorruptedException: invalid type code: 56 at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.defaultReadFields(Unknown Source) at java.io.ObjectInputStream.readSerialData(Unknown Source) at java.io.ObjectInputStream.readOrdinaryObject(Unknown Source) at java.io.ObjectInputStream.readObject0(Unknown Source) at java.io.ObjectInputStream.readObject(Unknown Source)

    Pentaho BI Platform Tracking | 3 years ago | Pedro Teixeira
    java.io.StreamCorruptedException: invalid type code: 56
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    StreamCorruptedException occurs during object decoding

    Stack Overflow | 5 years ago | algolicious
    java.io.StreamCorruptedException: invalid type code: 6E
  5. 0

    StreamCorruptedException while deserializating object from ftp

    Stack Overflow | 2 years ago
    java.io.StreamCorruptedException: invalid type code: 00

  1. eti22 5 times, last 1 month ago
  2. bpbhat77 8 times, last 3 months ago
29 unregistered visitors
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.io.StreamCorruptedException

    invalid type code: 56

    at java.io.ObjectInputStream.readObject0()
  2. Java RT
    ObjectInputStream.readObject
    1. java.io.ObjectInputStream.readObject0(Unknown Source)
    2. java.io.ObjectInputStream.defaultReadFields(Unknown Source)
    3. java.io.ObjectInputStream.readSerialData(Unknown Source)
    4. java.io.ObjectInputStream.readOrdinaryObject(Unknown Source)
    5. java.io.ObjectInputStream.readObject0(Unknown Source)
    6. java.io.ObjectInputStream.readObject(Unknown Source)
    6 frames