APAR status
Closed as program error.
Error description
When claiming a task using REST API via HTTP PUT request, the response returns with a 500 error. Although the request resulted in an error the task will still be claimed successfully. A similar error may be seen in the logs "org.apache.wink.common.internal.providers.entity.xml.AbstractJA XBProvid er getEntityToMarshal The ObjectFactory class for the com.ibm.bpm.rest.v1.data.task.TaskClaimResult class cannot be found or loaded. Verify that a valid ObjectFactory class exists." A workaround is to use the REST UI Console to claim the task.
Local fix
na
Problem summary
**************************************************************** * USERS AFFECTED: Users utilizing REST API via HTTP request * * to claim a task. * **************************************************************** * PROBLEM DESCRIPTION: When claiming a task using REST API, * * it may result in a HTTP 500 error. * **************************************************************** * RECOMMENDATION: * **************************************************************** A HTTP 500 error may be returned when invoking the REST claim action API. Although the 500 error is seen, the state of the task will change from "STATE_READY" to "STATE_CLAIMED". Meaning the action actually succeeded, however, the response returned is not proper. The error occurs when "application/xml" is set in the request's "Accept" header. The following is a sample URL which may encounter the error when invoked: "http://localhost:9080/rest/bpm/wle/v1/task/208?action=claim" The following error may also be seen in the logs: "AbstractJAXBP E org.apache.wink.common.internal.providers.entity.xml.AbstractJAX BProvider getEntityToMarshal The ObjectFactory class for the com.ibm.bpm.rest.v1.data.task.TaskClaimResult class cannot be found or loaded. Verify that a valid ObjectFactory class exists."
Problem conclusion
Code changes have been made to properly return a successful return code when the task is being claimed via HTTP request. An interim fix will be available on v8.0.1.0. The fix will be integrated into the next fix pack.
Temporary fix
Comments
APAR Information
APAR number
JR46428
Reported component name
BPM ADVANCED
Reported component ID
5725C9400
Reported release
801
Status
CLOSED PER
PE
NoPE
HIPER
NoHIPER
Special Attention
NoSpecatt
Submitted date
2013-04-24
Closed date
2013-05-08
Last modified date
2013-05-08
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
BPM ADVANCED
Fixed component ID
5725C9400
Applicable component levels
R800 PSY
UP
[{"Business Unit":{"code":"BU059","label":"IBM Software w\/o TPS"},"Product":{"code":"SSFTN5","label":"IBM Business Process Manager Advanced"},"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.0.1","Line of Business":{"code":"LOB45","label":"Automation"}}]
Document Information
Modified date:
07 January 2022