Uploaded image for project: 'Struts 1'
  1. Struts 1
  2. STR-1404

org.apache.struts.taglib.nested.NestedReference is not Serializable

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • Nightly Build
    • 1.1 Family
    • Tag Libraries
    • None
    • Operating System: other
      Platform: PC
    • 19157

    Description

      I am using Struts with a clustered JBoss (3.0.4) and Tomcat (4.1.12)
      configuration. The session replication fails because of a call to
      session.setAttribute() with a non-serializable object. I have traced the
      problem back to a call to
      org.apache.struts.taglib.nested.NestedPropertyHelper.setIncludeReference()
      which inserts NestedReferences into the session object.
      org.apache.struts.taglib.nested.NestedReference is not, however, serializable
      and so cause an exception if the session is replicated, or indeed serialized to
      disk I imagine.

      For completeness I am running this on a solaris 5.8 machine using J2SDK
      1.4.1_01.

      Attachments

        Activity

          People

            Unassigned Unassigned
            jesse_beaumont@hotmail.com Jesse Beaumont
            Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: