You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Frank Bille Jensen (JIRA)" <ji...@apache.org> on 2007/03/03 15:46:51 UTC
[jira] Updated: (WICKET-351) Nullpointer in new custom
serialization when no default constructor
[ https://issues.apache.org/jira/browse/WICKET-351?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Frank Bille Jensen updated WICKET-351:
--------------------------------------
Attachment: wicket-quickstart.zip
Quickstart that reproduces it
> 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.