Win a copy of Design for the Mind this week in the Design forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

NotSerializableException

 
Mary Cole
Ranch Hand
Posts: 362
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator



I get this error whenever I upload a file...pls advice how to overcome this
 
Brent Sterling
Ranch Hand
Posts: 948
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Looking at your stack trace it appears that your servlet engine (Catalina = Tomcat, correct?) is attempting to duplicate the session between multiple instances using serialization. In the process it finds a CommonsMultipartRequestHandler$CommonsFormFile object that cannot be serialized.

Are you saving your form that contains the FormFile on the session? What if you configured this action to use request scope?

- Brent
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic