MyFaces Core
  1. MyFaces Core
  2. MYFACES-3433

PhaseListenerManager throws NPE if pre-phase action was unsuccessful

    Details

    • Type: Bug Bug
    • Status: Closed
    • Priority: Minor Minor
    • Resolution: Fixed
    • Affects Version/s: 2.0.12-SNAPSHOT, 2.1.6-SNAPSHOT
    • Fix Version/s: 2.0.12, 2.1.6
    • Component/s: General
    • Labels:
      None

      Description

      NPE at line 103 in PhaseListenerManager.informPhaseListenersAfter:

      if(.... beforePhaseSuccess[i])

      can occur if LifecycleImpl.executePhase was unsuccessful and didn't call phaseListenerMgr.informPhaseListenersBefore(currentPhaseId)

      1. MYFACES-3433.patch
        0.7 kB
        Martin Kočí

        Activity

        Martin Kočí created issue -
        Martin Kočí made changes -
        Field Original Value New Value
        Attachment MYFACES-3433.patch [ 12508935 ]
        Martin Kočí made changes -
        Status Open [ 1 ] Patch Available [ 10002 ]
        Martin Kočí made changes -
        Assignee Martin Kočí [ markoc50 ]
        Affects Version/s 2.0.12-SNAPSHOT [ 12319174 ]
        Affects Version/s 2.1.6-SNAPSHOT [ 12319172 ]
        Component/s General [ 12310160 ]
        Hide
        Leonardo Uribe added a comment -

        Thanks to Martin Koci for provide this patch

        Show
        Leonardo Uribe added a comment - Thanks to Martin Koci for provide this patch
        Leonardo Uribe made changes -
        Status Patch Available [ 10002 ] Resolved [ 5 ]
        Fix Version/s 2.0.12 [ 12319175 ]
        Fix Version/s 2.1.6 [ 12319173 ]
        Resolution Fixed [ 1 ]
        Leonardo Uribe made changes -
        Status Resolved [ 5 ] Closed [ 6 ]
        Transition Time In Source Status Execution Times Last Executer Last Execution Date
        Open Open Patch Available Patch Available
        7m 49s 1 Martin Kočí 30/Dec/11 14:22
        Patch Available Patch Available Resolved Resolved
        27d 1h 14m 1 Leonardo Uribe 26/Jan/12 15:37
        Resolved Resolved Closed Closed
        11d 7h 44m 1 Leonardo Uribe 06/Feb/12 23:22

          People

          • Assignee:
            Martin Kočí
            Reporter:
            Martin Kočí
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:
              Resolved:

              Development