You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@myfaces.apache.org by "Peter Mahoney (JIRA)" <de...@myfaces.apache.org> on 2006/07/07 11:57:29 UTC

[jira] Created: (TOMAHAWK-524) RedirectTrackerManager should be Serializable

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


[jira] Resolved: (TOMAHAWK-524) RedirectTrackerManager should be Serializable

Posted by "Mario Ivankovits (JIRA)" <de...@myfaces.apache.org>.
     [ http://issues.apache.org/jira/browse/TOMAHAWK-524?page=all ]
     
Mario Ivankovits resolved TOMAHAWK-524:
---------------------------------------

    Fix Version: 1.1.5-SNAPSHOT
     Resolution: Fixed

Fixed in svn head.

Thanks for pointing it out!
Please report back if it works.

Thanks!

> 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
>     Assignee: Mario Ivankovits
>      Fix For: 1.1.5-SNAPSHOT

>
> 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