Uploaded image for project: 'MyFaces Core'
  1. MyFaces Core
  2. MYFACES-2431

NotSerializableException on state serialization

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 2.0.0-alpha
    • 2.0.0-beta
    • JSR-314
    • None

    Description

      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.

      Attachments

        Activity

          People

            Unassigned Unassigned
            dr.gonzo Michael Kurz
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: