You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@struts.apache.org by bu...@apache.org on 2003/04/18 20:43:32 UTC

DO NOT REPLY [Bug 19157] New: - org.apache.struts.taglib.nested.NestedReference is not Serializable

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG 
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19157>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND 
INSERTED IN THE BUG DATABASE.

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=19157

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

           Summary: org.apache.struts.taglib.nested.NestedReference is not
                    Serializable
           Product: Struts
           Version: Nightly Build
          Platform: PC
        OS/Version: Other
            Status: NEW
          Severity: Normal
          Priority: Other
         Component: Custom Tags
        AssignedTo: struts-dev@jakarta.apache.org
        ReportedBy: jesse_beaumont@hotmail.com


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.

---------------------------------------------------------------------
To unsubscribe, e-mail: struts-dev-unsubscribe@jakarta.apache.org
For additional commands, e-mail: struts-dev-help@jakarta.apache.org