ICEfaces
  1. ICEfaces
  2. ICE-4909

NullPointerException occurs under load in SessionDispatcher

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Major Major
    • Resolution: Fixed
    • Affects Version/s: 1.8.1
    • Fix Version/s: 1.8.2-RC1, 1.8.2
    • Component/s: None
    • Labels:
      None
    • Environment:
      Weblogic
    • Support Case References:
      8605

      Description

      NPE is thrown in SessionDispatcher when running ICEfaces in Weblogic app server. It seems that HttpServletRequest.getRequestedSessionId method behaves differently in Weblogic than in the other servlet containers.

        Activity

        Hide
        Mircea Toma added a comment - - edited

        Avoided usage of HttpServletRequest.getRequestedSessionId method, used HttpSession.getId() instead. The session ID is acquired once before addRequest/removeRequest are called to avoid having the methods work with different IDs during a request/response cycle.
        Also introduced check for the existence of active requests list before removing requests from it.

        Show
        Mircea Toma added a comment - - edited Avoided usage of HttpServletRequest.getRequestedSessionId method, used HttpSession.getId() instead. The session ID is acquired once before addRequest/removeRequest are called to avoid having the methods work with different IDs during a request/response cycle. Also introduced check for the existence of active requests list before removing requests from it.

          People

          • Assignee:
            Mircea Toma
            Reporter:
            Mircea Toma
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: