PM80535: 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            *
    *                  Version 8.5 Libery Profile 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

    PM80535

  • Reported component name

    LIBERTY PROFILE

  • Reported component ID

    5724J0814

  • Reported release

    850

  • Status

    CLOSED PER

  • PE

    NoPE

  • HIPER

    NoHIPER

  • Special Attention

    NoSpecatt

  • Submitted date

    2013-01-14

  • Closed date

    2013-01-14

  • Last modified date

    2013-02-26

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

    PM73895

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

Fix information

  • Fixed component name

    LIBERTY PROFILE

  • Fixed component ID

    5724J0814

Applicable component levels

  • R850 PSY

       UP



Rate this page:

(0 users)Average rating

Document information


More support for:

WebSphere Application Server

Software version:

850

Reference #:

PM80535

Modified date:

2013-02-26

Translate my page

Machine Translation

Content navigation