I'm using a simple EJB 2.0 bean with a findByPrimaryKey() method.
A piece of the stack trace is:
javax.ejb.FinderException: Exception raised in findByPrimaryKey
java.io.StreamCorruptedException: InputStream does not contain a serialized
object
java.io.StreamCorruptedException: InputStream does not contain a serialized
object
at java.io.ObjectInputStream.readStreamHeader(ObjectInputStream.java:849)
at java.io.ObjectInputStream.<init>(ObjectInputStream.java:168)
at
weblogic.ejb20.cmp.rdbms.RDBMSObjectInputStream.<init>(RDBMSObjectInputStream.java:15)
I know what this means, but I'm wondering if anyone knows under what
circumstances this happens?
Thanks.