Skip to main content

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

Copyright and trademark information

IBM, the IBM logo and ibm.com are trademarks of International Business Machines Corp., registered in many jurisdictions worldwide. Other product and service names might be trademarks of IBM or other companies. A current list of IBM trademarks is available on the Web at "Copyright and trademark information" at www.ibm.com/legal/copytrade.shtml.

Rate this page:


(0 users)Average rating

Add comments

Document information

WebSphere Application Server


Software version:
850


Reference #:
PM80535


Modified date:
2013-02-26

Translate my page

Content navigation