Troubleshooting
Problem
Receiving the error message "Unable to parse the if-then expression" with error "javax.xml.xpath.XPathExpressionException"
Cause
The reason for this error message is that the variable will hold an empty string and when performing the if-condition, the XPATH will convert the empty string to double to perform the validation (if the condition is to check for numeric values) and this will cause the above error message.
Resolving The Problem
To verify, check the maestro.out file which is located under /var/log folder. In this file, if you see the below statements, check the map output section of the activity where the mapping is done for the variable being used in the if-then condition.
SEVERE [com.approuter.maestro]: Unable to parse the if-then expression
; Line#: 1; Column#: -1
net.sf.saxon.trans.DynamicError: ValidationException: Cannot convert string "" to a double
Other possible reasons for this error message are in the Studio release notes under "XPath Expressions".
Historical Number
00000620
Product Synonym
Cast Iron Solution
Cast Iron Operating System
Cast Iron Studio
Was this topic helpful?
Document Information
More support for:
IBM Cast Iron Cloud Integration
Software version:
6.3.0.1, 6.1.0.15
Operating system(s):
Linux, Windows
Document number:
410677
Modified date:
15 June 2018
UID
swg21453135