You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@wicket.apache.org by "Alastair Maw (JIRA)" <ji...@apache.org> on 2007/05/24 20:28:16 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 ]

Alastair Maw updated WICKET-351:
--------------------------------

    Fix Version/s:     (was: trunk)
                   1.3.0-rc1

> 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: trunk
>            Reporter: Frank Bille Jensen
>         Assigned To: Johan Compagner
>             Fix For: 1.3.0-rc1
>
>         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.