ICEfaces
  1. ICEfaces
  2. ICE-3172

NPE in BridgeExternalContext when trying to redirect after logout in navigation rules

    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

      The framework no longer works when trying to have a logout button on an application that invalidates the session, and then navigates to a page via the navigation rules. A NullPointerException is thrown in the BridgeExternalContext because the FacesContext instance is null.

        Activity

        Hide
        Greg Dick added a comment -

        Checked in a check for null FacesContext. There's no need to set responseComplete flag if we're logging out anyway.

        Show
        Greg Dick added a comment - Checked in a check for null FacesContext. There's no need to set responseComplete flag if we're logging out anyway.

          People

          • Assignee:
            Unassigned
            Reporter:
            Greg Dick
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved: