A fix is available
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
The following fix was pulled into WebSphere Application Server from the Apache MyFaces Open Source Community to resolve this problem: 1) https://issues.apache.org/jira/browse/MYFACES-3617 The fix for this APAR is currently targeted for inclusion in fix pack 8.5.0.2. Please refer to the Recommended Updates page for delivery information: http://www.ibm.com/support/docview.wss?rs=180&uid=swg27004980
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:
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
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSEQTP","label":"WebSphere Application Server"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"850","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
29 October 2021