You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Michael Kurz (JIRA)" <de...@myfaces.apache.org> on 2009/11/29 20:27:20 UTC

[jira] Created: (MYFACES-2431) NotSerializableException state serialization

NotSerializableException state serialization
--------------------------------------------

                 Key: MYFACES-2431
                 URL: https://issues.apache.org/jira/browse/MYFACES-2431
             Project: MyFaces Core
          Issue Type: Bug
          Components: JSR-314
    Affects Versions: 2.0.0-alpha
            Reporter: Michael Kurz


I have troubles with the serialization of the state in the session. Every time the state should be stored the following exception is thrown in DefaultFaceletsStateManagementHelper.serializeView(): java.io.NotSerializableException: javax.faces.component.UIPanel. This seems to happen on all pages of my app.

This has some nasty side effects like the death of the view scope for instance. Setting org.apache.myfaces.SERIALIZE_STATE_IN_SESSION in the web.xml resolves this issue but this is not so easy to find out... Anyway, something seems to be wrong here.



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


[jira] Commented: (MYFACES-2431) NotSerializableException on state serialization

Posted by "Michael Kurz (JIRA)" <de...@myfaces.apache.org>.
    [ https://issues.apache.org/jira/browse/MYFACES-2431?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12802739#action_12802739 ] 

Michael Kurz commented on MYFACES-2431:
---------------------------------------

The problem is fixed with current version in trunk.

> NotSerializableException on state serialization
> -----------------------------------------------
>
>                 Key: MYFACES-2431
>                 URL: https://issues.apache.org/jira/browse/MYFACES-2431
>             Project: MyFaces Core
>          Issue Type: Bug
>          Components: JSR-314
>    Affects Versions: 2.0.0-alpha
>            Reporter: Michael Kurz
>
> I have troubles with the serialization of the state in the session. Every time the state should be stored the following exception is thrown in DefaultFaceletsStateManagementHelper.serializeView(): java.io.NotSerializableException: javax.faces.component.UIPanel. This seems to happen on all pages of my app.
> This has some nasty side effects like the death of the view scope for instance. Setting org.apache.myfaces.SERIALIZE_STATE_IN_SESSION in the web.xml resolves this issue but this is not so easy to find out... Anyway, something seems to be wrong here.

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