compiledQuery.reset();
context.getWatchDog().reset();
//do any preparation before execution
context.prepareForExecution();
return compiledQuery;
} catch(final XPathException e) {
LOG.warn(e.getMessage());
TriggerStatePerThread.setTriggerRunningState(TriggerStatePerThread.NO_TRIGGER_RUNNING, this, null);