Uploaded image for project: 'Teiid'
  1. Teiid
  2. TEIID-1937

teiid encouters java.io.StreamCorruptedException

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Resolved (View Workflow)
    • Priority: Major
    • Resolution: Partially Completed
    • Affects Version/s: 7.6
    • Fix Version/s: 7.7.1, 8.0
    • Component/s: Query Engine
    • Labels:
      None

      Description

      Hi,

      We have someone integrating with our teiid system using pentaho, which apparently runs in java 1.5.

      Most of the integration works fine but they hit the following error which shows on the client and the server

      2012-02-13 04:38:29,741 ERROR [org.teiid.PROCESSOR] (Worker22_QueryProcessorQueue4539) Unexpected exception for request urrun2neqkMl.278
      [TeiidComponentException]Error reading 34,471
      1 [StreamCorruptedException]invalid type code: 00
      	at org.teiid.common.buffer.impl.BufferFrontedFileStoreCache.get(BufferFrontedFileStoreCache.java:727)
      	at org.teiid.common.buffer.impl.BufferFrontedFileStoreCache.get(BufferFrontedFileStoreCache.java:100)
      	at org.teiid.common.buffer.impl.BufferManagerImpl$BatchManagerImpl.getBatch(BufferManagerImpl.java:287)
      	at org.teiid.common.buffer.TupleBuffer.getBatch(TupleBuffer.java:219)
      	at org.teiid.dqp.internal.process.RequestWorkItem.sendResultsIfNeeded(RequestWorkItem.java:615)
      	at org.teiid.dqp.internal.process.RequestWorkItem.processMore(RequestWorkItem.java:395)
      	at org.teiid.dqp.internal.process.RequestWorkItem.process(RequestWorkItem.java:287)
      	at org.teiid.dqp.internal.process.AbstractWorkItem.run(AbstractWorkItem.java:49)
      	at org.teiid.dqp.internal.process.RequestWorkItem.run(RequestWorkItem.java:215)
      	at org.teiid.dqp.internal.process.DQPWorkContext.runInContext(DQPWorkContext.java:232)
      	at org.teiid.dqp.internal.process.ThreadReuseExecutor$RunnableWrapper.run(ThreadReuseExecutor.java:118)
      	at org.teiid.dqp.internal.process.ThreadReuseExecutor$3.run(ThreadReuseExecutor.java:288)
      	at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1110)
      	at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:603)
      	at java.lang.Thread.run(Thread.java:636)
      Caused by: java.io.StreamCorruptedException: invalid type code: 00
      	at java.io.ObjectInputStream.readObject0(ObjectInputStream.java:1373)
      	at java.io.ObjectInputStream.readObject(ObjectInputStream.java:368)
      	at org.teiid.common.buffer.impl.DataObjectInputStream.readObject(DataObjectInputStream.java:102)
      	at org.teiid.core.types.Streamable.readExternal(Streamable.java:115)
      	at org.teiid.client.BatchSerializer$ClobColumnSerializer1.readObject(BatchSerializer.java:174)
      	at org.teiid.client.BatchSerializer$ColumnSerializer.readColumn(BatchSerializer.java:276)
      	at org.teiid.client.BatchSerializer.readBatch(BatchSerializer.java:578)
      	at org.teiid.client.BatchSerializer.readBatch(BatchSerializer.java:561)
      	at org.teiid.common.buffer.impl.BufferManagerImpl$BatchManagerImpl.deserialize(BufferManagerImpl.java:226)
      	at org.teiid.common.buffer.impl.BufferManagerImpl$BatchManagerImpl.deserialize(BufferManagerImpl.java:144)
      	at org.teiid.common.buffer.impl.BufferFrontedFileStoreCache.get(BufferFrontedFileStoreCache.java:724)
      	... 14 more
      

        Attachments

          Activity

            People

            Assignee:
            rhn-engineering-shawkins Steven Hawkins
            Reporter:
            graeme.gillies Graeme Gillies (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: