How to Resolve "java.io.StreamCorruptedException: unexpected block data" Exceptions (Doc ID 1037396.1)

Last updated on DECEMBER 22, 2016

Applies to:

Oracle Commerce Platform - Version 2006.3 and later
Information in this document applies to any platform.
***Checked for relevance on 18-May-2015***

Goal

How to resolve java.io.StreamCorruptedException: unexpected block data exceptions.  The exception can occur after customizing a SQL repository when connecting to an Oracle Commerce ATG server using the remote ACC Client. The message means that the underlying serialization protocol believes that it has read to the end of an object but there's still more data in the input stream.  

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms