Fixes are available
6.1.0.1 Download: WebSphere Portal and Web Content Management V6.1, fix pack 1
6.1.0.2 Download: WebSphere Portal and Web Content Management V6.1, fix pack 2
6.1.0.3 Download: WebSphere Portal and WCM V6.1 fix pack 3, 6.1.5 feature pack
6.1.0.4 Download: WebSphere Portal and WCM V6.1.0 fix pack 4 & 6.1.5 fix pack 1
6.1.0.5 Download: WebSphere Portal and WCM V6.1.0 fix pack 5
6.1.0.6 Download: WebSphere Portal and WCM V6.1.0 fix pack 6
6.0.1.7 Download: WebSphere Portal and Web Content Manager V6.0.1, fix pack 7
6.0.1.5 Download: WebSphere Portal and Web Content Management V6.0.1 fix pack 5
APAR status
Closed as program error.
Error description
Personalization (PZN) returns a NullPointerException if an attribute is not found. This APAR is designed to allow PZN to handle the return value not found rather than throwing NullPointerException. Here's the exception handling problem example which this APAR resolves. The exception occurred because the attribute <AttributeName> was not found on the Session, per message in tracing: [5/5/08 13:59:57:632 CDT] 0000004c SessionAttrib 3 com.ibm.websphere.personalization.applicationObjects.SessionAttr ibuteApp licationObject get Session attribute '<AttributeName>' not found Since the Session Attribute is not set, the following NullPointerException was thrown. [5/5/08 13:59:57:633 CDT] 0000004c PznXMLInterpr > com.ibm.websphere.personalization.rules.PznXMLInterpreter handleException ENTRY [java.lang.NullPointerException,"",com.ibm.websphere.personaliza tion.con text.PersonalizationContext@4f916465] [5/5/08 13:59:57:638 CDT] 0000004c SystemErr R java.lang.NullPointerException at com.ibm.websphere.personalization.rules.PznXMLActionInterpreter. evaluate ActionCondition(PznXMLActionInterpreter.java(Compiled Code)) at com.ibm.websphere.personalization.rules.PznXMLActionInterpreter. evaluate ActionStatements(PznXMLActionInterpreter.java:602) at com.ibm.websphere.personalization.rules.PznXMLActionInterpreter. evaluate ActionXML(PznXMLActionInterpreter.java:142) at com.ibm.websphere.personalization.rules.PznXMLActionInterpreter. evaluate XML(PznXMLActionInterpreter.java:93) at com.ibm.websphere.personalization.rules.PznXMLInterpreter.fire(P znXMLInt erpreter.java:177)
Local fix
Problem summary
NullPointerException occurs when a rule utilizes Session request attribute and the customer application has not set the value. S should show a QueryException. Code was updated to properly handle the lack of value setting an the correct exception. It will not fix the rule execution, as t customer will still need to ensure that the request attribute is correctly set.
Problem conclusion
Temporary fix
Comments
APAR Information
APAR number
PK65641
Reported component name
WEBSPHERE PERSO
Reported component ID
5724E7614
Reported release
60G
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2008-05-06
Closed date
2008-05-28
Last modified date
2008-05-28
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
WEBSPHERE PERSO
Fixed component ID
5724E7614
Applicable component levels
R60E PSY
UP
R60G PSY
UP
Document Information
Modified date:
28 May 2008