Description: If configured, expression for extracts is invalid because the input/output data does
not have that particular value which is mentioned in the expression. The extracts feature in
TIBCO BusinessWorks ProcessMonitor (BWPM) does not work due to the XPathException
seen in TIBCO ActiveMatrix BusinessWorks logs.
Symptoms: The following is the detailed stack trace of the exceptions:
BW-EXT-LOG-100000 net.sf.saxon.trans.XPathException: XPath syntax error at char 20 in {/jms1:ActivityOutput/Body}:
Prefix jms1 has not been declared
at net.sf.saxon.expr.ExpressionParser.grumble(ExpressionParser.java:159)
at net.sf.saxon.expr.ExpressionParser.makeNameCode(ExpressionParser.java:2236)
at net.sf.saxon.expr.ExpressionParser.makeNameTest(ExpressionParser.java:2340)
at net.sf.saxon.expr.ExpressionParser.parseNodeTest(ExpressionParser.java:1453)
at net.sf.saxon.expr.ExpressionParser.parseBasicStep(ExpressionParser.java:1348)
at net.sf.saxon.expr.ExpressionParser.parseStepExpression(ExpressionParser.java:1223)
....
....
....
at net.sf.saxon.expr.ExpressionParser.parseOrExpression(ExpressionParser.java:415)
at net.sf.saxon.expr.ExpressionParser.parseExprSingle(ExpressionParser.java:364)
at net.sf.saxon.expr.ExpressionParser.parseExpression(ExpressionParser.java:316)
at net.sf.saxon.expr.ExpressionParser.parse(ExpressionParser.java:238)
at net.sf.saxon.expr.ExpressionTool.make(ExpressionTool.java:72)
at net.sf.saxon.xpath.XPathEvaluator.createExpressionInternal(XPathEvaluator.java:202)
at net.sf.saxon.xpath.XPathEvaluator.compile(XPathEvaluator.java:381)
at com.faizsiegeln.njams.client.e.a(nJAMS:364)
at com.faizsiegeln.njams.client.e.afterExecution(nJAMS:205)
at com.tibco.pe.core.Job.a(Unknown Source)
at com.tibco.pe.core.Job.a(Unknown Source)
at com.tibco.pe.core.Job.k(Unknown Source)
at com.tibco.pe.core.JobDispatcher$JobCourier.a(Unknown Source)
at com.tibco.pe.core.JobDispatcher$JobCourier.run(Unknown Source)
--------------- linked to ------------------
javax.xml.xpath.XPathExpressionException
Cause: When extracts are configured on the
TIBCO BusinessWorks ProcessMonitor (BWPM) Server for a particular
activity, as an input/output, if the expression provided for
selection is wrong or does not have a result because the input/output
file does not have that particular value which is mentioned in the
expression, then the error is seen.