Matter faced during integration project

Tuesday, June 23, 2009

Error while processing xpath expression *** the reason is FOTY0001: type error

Funny issue last time, might be useful to share it.
Worked with JDev on a BPEL process and opened a transform activity. Then before it loads the "Source Part" and the "Target Part", I clicked on the "ok" button to move out of there.

But JDev saved the transform activity with empty "Source Part" and "Target Part".
As the loading of source and target take quite some time because the .xsl is fairly big (on my PC anyway) it is easy to press the "ok" button before they are loaded. (as shown on the picture below).


Afterward, the process compiled fine, but a runtime exception appear at runtime complaining about the XSL transformation. The error message was not clear at all, and it took me some time to figure out what happened.
the complete error message was:

XPath expression failed to execute.
Error while processing xpath expression, the expression is "ora:processXSLT('OrderTransformation.xsl',bpws:getVariableData('inputVariable'))", the reason is FOTY0001: type error.
Please verify the xpath query.

No comments:

Post a Comment