Cannot deserialize Java object

Error constant SQLE_JAVA_DESERIALIZATION_ERROR
ODBC 2 state ERROR
ODBC 3 state ERROR
Severity 16
SQLCODE -663
SQLSTATE WW018
Sybase error code 13745
 Probable cause