File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Beginning Java and the fly likes Serializable Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Beginning Java
Bookmark "Serializable" Watch "Serializable" New topic
Author

Serializable

Candy Bortniker
Ranch Hand

Joined: Mar 17, 2003
Posts: 123
I am getting this error when I try to write to the file, NotSerializableException. How do I fix this? This is the code that I think is throwing the error.
Ernest Friedman-Hill
author and iconoclast
Marshal

Joined: Jul 08, 2003
Posts: 24183
    
  34

The object pointed to by "transaction" must belong to a class that declares that it "implements java.io.Serializable", or you'll get this exception.


[Jess in Action][AskingGoodQuestions]
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Serializable
 
Similar Threads
Problems with serialization / deserialization.
ObjectOutputStream Make copy of Serialized File
Corresponding READ method for writeChars()
Jtable loading after being saved problem
writing back to jar file ??