• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

HtmlSelectOneMenu throws NotSerializableException

 
Ranch Hand
Posts: 101
Spring Flex Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi I'm getting thr following exception..
java.io.NotSerializableException: org.apache.myfaces.component.html.ext.HtmlSelectOneMenu.
The class in which i have this select one menu items is implementing serializable.But still I see this in the logs..Any help?



 
Saloon Keeper
Posts: 27762
196
Android Eclipse IDE Tomcat Server Redhat Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Just because you declare a class to be serializable doesn't truly make it serializable. To be really serializable, not only does the class itself have to be serializable, so do all members of the class. So if you include a non-serializable object such as HtmlSelectOneMenu in your class, the class will compile with java.io.Serializable implemented, but the serialization process itself will fail.
reply
    Bookmark Topic Watch Topic
  • New Topic