NanoContainer
  1. NanoContainer
  2. NANO-1

sessionDestroyed cannot obtain session instance

    Details

    • Type: Bug Bug
    • Status: Closed Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: None
    • Component/s: None
    • Labels:
      None
    • Number of attachments :
      0

      Description

      The following lines in SessionLifecycleListener will fail on some application servers (eg. Resin):

      33 HttpSession session = event.getSession();
      34 ServletContext context = session.getServletContext();

      One is not allowed to get attributes from a session that is already destroyed.

        Issue Links

          Activity

          Hide
          Aslak Hellesøy added a comment -

          dude. fix it and add some doggone test cases!

          Show
          Aslak Hellesøy added a comment - dude. fix it and add some doggone test cases!
          Aslak Hellesøy made changes -
          Field Original Value New Value
          Status Unassigned [ 1 ] Assigned [ 2 ]
          Assignee Joe Walnes [ jwalnes1 ]
          Aslak Hellesøy made changes -
          Link This issue is depended upon by NANO-2 [ NANO-2 ]
          Hide
          Aslak Hellesøy added a comment -

          This is currently obsolete. The entire servlet/webwork stuff has been deleted. Because there were no tests for them.

          Show
          Aslak Hellesøy added a comment - This is currently obsolete. The entire servlet/webwork stuff has been deleted. Because there were no tests for them.
          Hide
          Aslak Hellesøy added a comment -

          This is no longer obsolete, now that it has been re-added.

          Show
          Aslak Hellesøy added a comment - This is no longer obsolete, now that it has been re-added.
          Hide
          Aslak Hellesøy added a comment -

          I believe PICO-116 fixed this

          Show
          Aslak Hellesøy added a comment - I believe PICO-116 fixed this
          Aslak Hellesøy made changes -
          Assignee Joe Walnes [ jwalnes1 ] Aslak Hellesoy [ rinkrank ]
          Status Open [ 1 ] Closed [ 6 ]
          Resolution Fixed [ 1 ]

            People

            • Assignee:
              Aslak Hellesøy
              Reporter:
              Mathias Bogaert
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: