• Post Reply Bookmark Topic Watch Topic
  • New Topic

Problems with my object serialization

 
john latham
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi everyone,

Im trying to store an arraylist by serializing it.

The problem is, that it wont work, im getting the not serializable exception:

Is there any way around this? do i need to serialize every object in the arraylist or something? My serialising class and the class of the objects which are found in the arraylist are below:

please help - thanks

The class where i serialize the arraylist



My arraylist which im trying to serialize is full of these objects:
Do i need to make this class extend serializable???


[ April 21, 2007: Message edited by: john latham ]
[ April 21, 2007: Message edited by: john latham ]
 
Kevin Mangold
Greenhorn
Posts: 18
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yes, your ImageResults class has to implement Serializable:

 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!