LiveCycle ES: ALC-DSC-119-000: InvalidCoercionException: Cannot coerce object: Apr 07, 2010


When you use Date objects in a LiveCycle ES 8.2.1 orchestration after migrating from LiveCycle 7, the following exception may occur:

ALC-DSC-119-000: com.adobe.idp.dsc.util.InvalidCoercionException: Cannot coerce object: Apr 07, 2010 of type: java.lang.String to type: class java.util.Date
 at com.adobe.idp.dsc.util.CoercionUtil.toDateTime(
 at com.adobe.idp.dsc.util.CoercionUtil.toType(
 at com.adobe.workflow.datatype.CoercionUtil.toType(
 at com.adobe.workflow.dom.VariableAttr.setBoundValue(
 at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataValue(
 at com.adobe.workflow.pat.service.PATExecutionContextImpl.setProcessDataWithExpression(
 at com.adobe.workflow.qpac.set_value.SetValueService.execute(
 at com.adobe.workflow.engine.PEUtil.executeAction(


This exception occurs if you are trying to use the parseDate() or parseDateTime() functions in your XPath expressions. In LiveCycle ES, it’s not necessary to use these functions to convert Strings into Date objects. These functions cannot handle formatted date strings. For more information about the date functions, see the LiveCycle online Help:


Use a direct assignment in the XPath expression to convert the String into a Date variable.

reference: (181553843/2610966)

VN:F [1.9.22_1171]
Was this helpful? Please rate the content.
Rating: 0.0/10 (0 votes cast)

Comments are closed.