IBM Support

PM62254: APPLICATION THAT USES MYFACES THROWS NPE AT THE TIME OF STARTUP.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • An Application that uses JavaServer Faces (JSF) MyFaces throws
    a NullPointerException:
    com.ibm.ws.webcontainer.webapp.WebApp logServletError SRVE0293E:
    
    [Servlet Error]-[Faces Servlet]: java.lang.NullPointerException
    at
    org.apache.myfaces.application.NavigationHandlerImpl.getNavigati
    onCase(NavigationHandlerImpl.java:203)
    at
    org.apache.myfaces.application.NavigationHandlerImpl.handleNavig
    ation(NavigationHandlerImpl.java:77)
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server Versions   *
    *                  8.0 and 8.5 users of JSF MyFaces.           *
    ****************************************************************
    * PROBLEM DESCRIPTION: When using a NavigationHandler to       *
    *                      navigate to an error page after         *
    *                      a ViewExpiredException a                *
    *                      NullPointerException occurs.            *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    When trying to handle a
    javax.faces.application.ViewExpiredException in a custom
    ExceptionHandler the following NullPointerException can occur:
    java.lang.NullPointerException
    at
    org.apache.myfaces.application.NavigationHandlerImpl.getNavigati
    onCase(NavigationHandlerImpl.java:203)
    at
    org.apache.myfaces.application.NavigationHandlerImpl.handleNavig
    ation(NavigationHandlerImpl.java:77)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM62254

  • Reported component name

    WEBS APP SERV N

  • Reported component ID

    5724H8800

  • Reported release

    800

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2012-04-11

  • Closed date

    2012-07-13

  • Last modified date

    2013-08-27

  • APAR is sysrouted FROM one or more of the following:

  • APAR is sysrouted TO one or more of the following:

    PM79999

Fix information

  • Fixed component name

    WEBS APP SERV N

  • Fixed component ID

    5724H8800

Applicable component levels

  • R800 PSY

       UP

  • R850 PSY

       UP

[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0","Line of Business":{"code":"LOB45","label":"Automation"}}]

Document Information

Modified date:
28 October 2021