Nullpointer in new custom serialization when no default constructor
-------------------------------------------------------------------

                 Key: WICKET-351
                 URL: https://issues.apache.org/jira/browse/WICKET-351
             Project: Wicket
          Issue Type: Bug
          Components: wicket
    Affects Versions: 1.3
            Reporter: Frank Bille Jensen
         Attachments: wicket-quickstart.zip

haven't really followed the custom serialization discussion, but I think I have 
found a bug.

If one of the classes which are going to be serialized doesn't have a default 
constructor the de-serialization fails with a nullpointer exception. I have 
created a quickstart which shows this (using java.util.Locale as the "sinner").

You reproduce the bug by doing:

   1. Start quickstart, (duh)
   2. Click on first link
   3. browser back
   4. Click on first link again (or second link.... second link isn't really 
part of the problem. Perhaps I should just have removed it) 




-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to