APAR status
Closed as program error.
Error description
If a user-defined extension function that was invoked in an XSLT stylesheet, or an XQuery or XPath expression throws an exception, the report method of any user-supplied implementation of the com.ibm.xml.xapi.XMessageHandler are invoked. However, the "message" argument of type java.lang.String and the "cause" argument of type java.lang.Throwable passed to the report method are null references. This makes it difficult to diagnose the cause of the exception.
Local fix
Problem summary
**************************************************************** * USERS AFFECTED: All IBM WebSphere Application Server * * Feature * * Pack for XML users * **************************************************************** * PROBLEM DESCRIPTION: If an Exception or Error is thrown * * from a user-defined extension * * function called from an XSLT * * stylesheet or and XQuery or XPath * * expression, a null reference is * * passed to any installed * * XMessageHandler in the positions of * * the message text and Throwable cause * * arguments to the * * XMessageHandle.report method. * **************************************************************** * RECOMMENDATION: Install a fix pack that contains this * * APAR. * **************************************************************** Internally, the processor is extracting the message from any Throwable thrown by a user-defined extension function, and passes that as the message text to the XMessageHandler's report method, and does not pass the Throwable itself. In many cases, the Throwable object has a null reference for the message, and so both the message text and Throwable reference passed to the report method are null in such cases.
Problem conclusion
The problem was resolved by ensuring that, for any Throwable object that it catches from calling the implementation of a user-defined extension function, the processor passes that object to the report method of any installed XMessageHandler object, along with any message text the Throwable object contained. The fix for this APAR is currently targeted for inclusion in fix pack 1.0.0.11. 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
PM43005
Reported component name
XML FEATUREPACK
Reported component ID
5724J0856
Reported release
700
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2011-07-05
Closed date
2011-10-18
Last modified date
2011-10-18
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
XML FEATUREPACK
Fixed component ID
5724J0856
Applicable component levels
R700 PSY
UP
[{"Business Unit":{"code":"BU048","label":"IBM Software"},"Product":{"code":"SUPPORT","label":"IBM Worldwide Support"},"Component":"","ARM Category":[],"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"1.0","Edition":"","Line of Business":{"code":"","label":""}}]
Document Information
Modified date:
09 February 2022