RedirectTrackerManager should be Serializable
---------------------------------------------

         Key: TOMAHAWK-524
         URL: http://issues.apache.org/jira/browse/TOMAHAWK-524
     Project: MyFaces Tomahawk
        Type: Bug

    Versions: 1.1.5-SNAPSHOT    
    Reporter: Peter Mahoney


RedirectTrackerManager is stored as a session attribute. Therefore, when the 
application is distributable the following exception is thrown:
java.lang.IllegalArgumentException: setAttribute: Non-serializable attribute
        at 
org.apache.catalina.session.StandardSession.setAttribute(StandardSession.java:1233)
        at 
org.apache.catalina.session.StandardSessionFacade.setAttribute(StandardSessionFacade.java:129)
        at 
org.apache.myfaces.context.servlet.SessionMap.setAttribute(SessionMap.java:50)
        at 
org.apache.myfaces.context.servlet.AbstractAttributeMap.put(AbstractAttributeMap.java:104)
        at 
org.apache.myfaces.custom.redirectTracker.RedirectTrackerManager.getInstance(RedirectTrackerManager.java:157)
...

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
   http://issues.apache.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
   http://www.atlassian.com/software/jira

Reply via email to