ICEfaces
  1. ICEfaces
  2. ICE-3095

SessionDispatch tries to get Session ID after Session has been invalidated.

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.7
    • Fix Version/s: 1.7.1
    • Component/s: Framework
    • Labels:
      None
    • Environment:
      All

      Description

      Looking into the source of SessionDispatcher, I found in

      122 try {
      123 session.invalidate();
      124 } catch (IllegalStateException e) {
      125 Log.info("Session already invalidated.");
      126 } finally {
      127 SessionIDs.remove(session.getId());
      128 }

      I think line 127 causes another exception because, the session was invalidated in line 123 and some jsp-containers (at least oc4j) throws an exception when trying to get the invalidated session-id with session.getId(). Is this a potential bug?

        Activity

        Hide
        Mircea Toma added a comment -

        Copy session ID into a variable before invalidating the session.

        Show
        Mircea Toma added a comment - Copy session ID into a variable before invalidating the session.
        Hide
        Christophe Taverne added a comment -

        Hi,

        It doen't work perfectly with the last svn revision.

        You can read more details on this topic: http://www.icefaces.org/JForum/posts/list/8605.page

        Thanks
        Regards,

        Show
        Christophe Taverne added a comment - Hi, It doen't work perfectly with the last svn revision. You can read more details on this topic: http://www.icefaces.org/JForum/posts/list/8605.page Thanks Regards,

          People

          • Assignee:
            Unassigned
            Reporter:
            Ken Fyten
          • Votes:
            1 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: