Serialization exception in hangman example
------------------------------------------
Key: WICKET-515
URL: https://issues.apache.org/jira/browse/WICKET-515
Project: Wicket
Issue Type: Bug
Components: wicket, wicket-examples
Affects Versions: 1.3
Reporter: Juergen Donnerstag
ERROR - Objects - Error serializing object class
org.apache.wicket.examples.hangman.Guess [object=[Page class =
org.apache.wicket.examples.hangman.Guess, id = 1, version = 0]]
org.apache.wicket.util.io.WicketSerializeableException: No Serializable
constructor found for class sun.font.AttributeMap
org.apache.wicket.examples.hangman.Guess->children->org.apache.wicket.Component[5]->org.apache.wicket.examples.hangman.Guess$2->children->org.apache.wicket.Component[26]->org.apache.wicket.markup.html.list.ListItem->children->org.apache.wicket.examples.hangman.Guess$2$1->children->org.apache.wicket.markup.html.image.Image->localizedImageResource->org.apache.wicket.markup.html.image.resource.LocalizedImageResource->resource->org.apache.wicket.markup.html.image.resource.DefaultButtonImageResource->fontAttributes
NOTE: if you feel Wicket is at fault with this exception, please report to the
mailing list. You can switch to JDK based serialization by calling:
org.apache.wicket.util.lang.Objects.setObjectStreamFactory(new
IObjectStreamFactory.DefaultObjectStreamFactory()) e.g. in the init method of
your application
at
org.apache.wicket.util.io.ClassStreamHandler.<init>(ClassStreamHandler.java:252)
--
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.