getTaskInput() and getLastCause() return null from an exception
book
Article ID: KB0090188
calendar_today
Updated On:
Products
Versions
TIBCO DataSynapse GridServer
-
Not Applicable
-
Description
Resolution: In GridServer 3.2, when handling a Service invocation error, both getTaskInput() and getLastCause() return null.
getTaskInput() and getLastCause() are not supported for ServiceInvocationException in GridServer 3.2. This issue is resolved in GridServer 4.0, but ServiceInvocationException's class hierarchy is different in GridServer 4.0 such that getTaskInput() and getLastCause() are no longer available.
You may be able to achieve similar behavior by keeping a client-accessible copy of your Task inputs in an array or table that you can index using the Task ID (passed as the id argument to handleError()).
Issue/Introduction
getTaskInput() and getLastCause() return null from an exception