aspose file tools*
The moose likes EJB and other Java EE Technologies and the fly likes Serialization Error Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Serialization Error" Watch "Serialization Error" New topic
Author

Serialization Error

Rahul JG
Ranch Hand

Joined: Jun 05, 2002
Posts: 44
Hi,
I have deployed an entity bean (Customer) that has a dependent object (Address) which is represented as a ValueObject. When I pass this ValueObject to the create method along with certain other parameters, it works fine. The required data gets inserted into the database. However when I fire the findByPrimaryKey() method, it throws an exception saying that the "InputStream does not contain a serialized object".
The ValueObject (Address) and the primary key class used in the findByPrimaryKey() method are both serialized.
What might be the error???


Rahul
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Serialization Error