Bookmark Topic Watch Topic
  • New Topic

Serialization Exception ... Please help  RSS feed

 
gov kur
Ranch Hand
Posts: 73
  • Mark post as helpful
  • send pies
  • Report post to moderator
Hello Everybody,
There is a class the object of which i am trying to serialize . However the problem is that somewhere done the line during Serialization it throws me a Exception
"java.io.NotSerializableException: java.io.BufferedInputStream".

I've made sure that all the dependencies implement java.io.Serializable

I'm not sure what this exception means.
 
David Harkness
Ranch Hand
Posts: 1646
  • Mark post as helpful
  • send pies
  • Report post to moderator
It means one of the objects in the graph holds a reference to a BufferedInputStream, and this class is not serializable. If you find the reference, you can mark it "transient" so it won't be serialized.
 
Joe Ess
Bartender
Posts: 9429
12
Linux Mac OS X Windows
  • Mark post as helpful
  • send pies
  • Report post to moderator
This conversation is continued here
 
    Bookmark Topic Watch Topic
  • New Topic
Boost this thread!