My Oracle Support Banner

Date conversion function fails with: XML-23029 : (Error) FORG0001: invalid value for cast/constructor (Doc ID 2782897.1)

Last updated on JUNE 08, 2021

Applies to:

Oracle Integration-OIC - Version 21.2.2.0.0 and later
Information in this document applies to any platform.

Symptoms

When trying to convert a String representing a date that is in MM/DD/YYYY or DD/MM/YYYY format, into an xs:date, using the date conversion function in the Mapper or Assign activity, the conversion fails with:

XPath expression failed to execute.
An error occurs while processing the XPath expression; the expression is ora:doXSLTransformForDoc('resources/processor_27/resourcegroup_30/req_67d50bbbf26f49fdbf05400d2877bfc4.xsl', $messagecontext_25.parameters)
The XPath expression failed to execute; the reason was: javax.xml.transform.TransformerException: oramds:/deployed-composites/oracleinternalics/XXXXXXXX.00.0000/resources/processor_27/resourcegroup_30/req_67d50bbbf26f49fdbf05400d2877bfc4.xsl<Line 21, Column 101>:
XML-23029 : (Error) FORG0001: invalid value for cast/constructor</summary>
,code=<code>XPathExecutionError</code>}
cause: {javax.xml.transform.TransformerException: oramds:/deployed-composites/oracleinternalics/XXXXXXXX.00.0000/resources/processor_27/resourcegroup_30/req_67d50bbbf26f49fdbf05400d2877bfc4.xsl<Line 21, Column 101>:
XML-23029 : (Error) FORG0001: invalid value for cast/constructor}

 

Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.