IBM Support

PM73895: NULLPOINTER EXCEPTION IN JSF CODE.

Subscribe

You can track all active APARs for this component.

 

APAR status

  • Closed as program error.

Error description

  • When using the JavaServer Faces f:viewParam tag, if the "name"
    attribute is an Expression Language expression a
    NullPointerException occurs.
    

Local fix

  • n/a
    

Problem summary

  • ****************************************************************
    * USERS AFFECTED:  IBM WebSphere Application Server            *
    *                  Versions 8.0 and 8.5 users of JavaServer    *
    *                  Faces(JSF) MyFaces.                         *
    ****************************************************************
    * PROBLEM DESCRIPTION: A NullPointerException occurs when      *
    *                      using an Expression Language (EL)       *
    *                      expression in the "name" attribute of   *
    *                      the JSF f:viewParam tag.                *
    ****************************************************************
    * RECOMMENDATION:                                              *
    ****************************************************************
    The following NullPointerException occurs when using an EL
    expression in the "name" attribute of the f:viewParam tag in
    MyFaces:
    Caused by: java.lang.NullPointerException
    at
    org.apache.myfaces.util.AbstractAttributeMap.get(AbstractAttribu
    teMap.java:94)
    at
    javax.faces.component.UIViewParameter.decode(UIViewParameter.jav
    a:78)
    at
    javax.faces.component.UIComponentBase.processDecodes(UIComponent
    Base.java:1192)
    at
    javax.faces.component.UIInput.processDecodes(UIInput.java:178)
    at
    javax.faces.component.UIComponentBase.processDecodes(UIComponent
    Base.java:1186)
    at
    javax.faces.component.UIComponentBase.processDecodes(UIComponent
    Base.java:1186)
    at
    javax.faces.component.UIViewRoot._processDecodesDefault(UIViewRo
    ot.java:1316)
    at
    javax.faces.component.UIViewRoot.access$400(UIViewRoot.java:75)
    at
    javax.faces.component.UIViewRoot$ApplyRequestValuesPhaseProcesso
    r.process(UIViewRoot.java:1379)
    at
    javax.faces.component.UIViewRoot._process(UIViewRoot.java:1282)
    at
    javax.faces.component.UIViewRoot.processDecodes(UIViewRoot.java:
    718)
    at
    org.apache.myfaces.lifecycle.ApplyRequestValuesExecutor.execute(
    ApplyRequestValuesExecutor.java:34)
    at
    org.apache.myfaces.lifecycle.LifecycleImpl.executePhase(Lifecycl
    eImpl.java:171)
    

Problem conclusion

Temporary fix

Comments

APAR Information

  • APAR number

    PM73895

  • 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-09-28

  • Closed date

    2012-12-05

  • Last modified date

    2012-12-05

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

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

    PM80535

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:
29 October 2021