incubator-hise-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Sanjaya Vithanagama <svithanag...@gmail.com>
Subject XPathException thrown while running getMyTasks method in taskOperations.
Date Wed, 07 Jul 2010 05:59:46 GMT
Hi All,
I was trying out the example shipped with the hise trunk
(claimsHandling.xml) and ran into an error.
First I created several tasks using the sample soap ui project by executing
the approve operation (of the ClaimsHandling service).

The when I invoked the getMyTasks operation in the taskOperations I get the
following error:
===================================
WARNING: Application {
http://www.example.org/WS-HT/api/wsdl}taskOperations#{http://www.example.org/WS-HT/api/wsdl}getMyTaskshas
thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: net.sf.saxon.trans.XPathException: XQuery
static error in #...t("ClaimApprovalRequest")/cust#:
    Prefix htd has not been declared
    at
org.apache.cxf.service.invoker.AbstractInvoker.createFault(AbstractInvoker.java:155)
    at
org.apache.cxf.jaxws.AbstractJAXWSMethodInvoker.createFault(AbstractJAXWSMethodInvoker.java:85)
    at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:121)
    at
org.apache.cxf.jaxws.JAXWSMethodInvoker.invoke(JAXWSMethodInvoker.java:60)
    at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:75)
    at
org.apache.cxf.interceptor.ServiceInvokerInterceptor$1.run(ServiceInvokerInterceptor.java:58)
    at
java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:441)
    at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303)
    at java.util.concurrent.FutureTask.run(FutureTask.java:138)
    at
org.apache.cxf.workqueue.SynchronousExecutor.execute(SynchronousExecutor.java:37)
    at
org.apache.cxf.interceptor.ServiceInvokerInterceptor.handleMessage(ServiceInvokerInterceptor.java:106)
    at
org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:243)
    at
org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:109)
    at
org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:98)
    at
org.apache.cxf.transport.servlet.ServletController.invokeDestination(ServletController.java:406)
    at
org.apache.cxf.transport.servlet.ServletController.invoke(ServletController.java:178)
    at
org.apache.cxf.transport.servlet.AbstractCXFServlet.invoke(AbstractCXFServlet.java:142)
    at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.handleRequest(AbstractHTTPServlet.java:179)
    at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.doPost(AbstractHTTPServlet.java:103)
    at javax.servlet.http.HttpServlet.service(HttpServlet.java:710)
    at
org.apache.cxf.transport.servlet.AbstractHTTPServlet.service(AbstractHTTPServlet.java:159)
    at
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
    at
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
    at
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
    at
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:175)
    at
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:128)
    at
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
    at
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
    at
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:263)
    at
org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:844)
    at
org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:584)
    at
org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:447)
    at java.lang.Thread.run(Thread.java:619)
Caused by: java.lang.RuntimeException: net.sf.saxon.trans.XPathException:
XQuery static error in #...t("ClaimApprovalRequest")/cust#:
    Prefix htd has not been declared
    at
org.apache.hise.utils.XQueryEvaluator.evaluateExpression(XQueryEvaluator.java:142)
    at
org.apache.hise.runtime.TaskEvaluator.buildPresentationEvaluator(TaskEvaluator.java:240)
    at
org.apache.hise.runtime.TaskEvaluator.evalPresentationSubject(TaskEvaluator.java:266)
    at
org.apache.hise.engine.jaxws.TaskOperationsImpl.convertTask(TaskOperationsImpl.java:419)
    at
org.apache.hise.engine.jaxws.TaskOperationsImpl.getMyTasks(TaskOperationsImpl.java:131)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
    at
org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
    at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
    at
org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
    at
org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
    at
org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
    at $Proxy31.getMyTasks(Unknown Source)
    at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    at
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
    at
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
    at java.lang.reflect.Method.invoke(Method.java:597)
    at
org.apache.cxf.service.invoker.AbstractInvoker.performInvocation(AbstractInvoker.java:173)
    at
org.apache.cxf.service.invoker.AbstractInvoker.invoke(AbstractInvoker.java:89)
    ... 30 more
Caused by: net.sf.saxon.trans.XPathException: XQuery static error in
#...t("ClaimApprovalRequest")/cust#:
    Prefix htd has not been declared
    at net.sf.saxon.query.QueryParser.grumble(QueryParser.java:345)
    at
net.sf.saxon.expr.ExpressionParser.parseFunctionCall(ExpressionParser.java:1812)
    at
net.sf.saxon.expr.ExpressionParser.parseBasicStep(ExpressionParser.java:1307)
    at
net.sf.saxon.expr.ExpressionParser.parseStepExpression(ExpressionParser.java:1213)
    at
net.sf.saxon.expr.ExpressionParser.parseRelativePath(ExpressionParser.java:1151)
    at
net.sf.saxon.expr.ExpressionParser.parsePathExpression(ExpressionParser.java:1137)
    at
net.sf.saxon.expr.ExpressionParser.parseUnaryExpression(ExpressionParser.java:1026)
    at
net.sf.saxon.expr.ExpressionParser.parseCastExpression(ExpressionParser.java:691)
    at
net.sf.saxon.expr.ExpressionParser.parseCastableExpression(ExpressionParser.java:646)
    at
net.sf.saxon.expr.ExpressionParser.parseTreatExpression(ExpressionParser.java:627)
    at
net.sf.saxon.expr.ExpressionParser.parseInstanceOfExpression(ExpressionParser.java:609)
    at
net.sf.saxon.expr.ExpressionParser.parseIntersectExpression(ExpressionParser.java:1059)
    at
net.sf.saxon.expr.ExpressionParser.parseUnionExpression(ExpressionParser.java:1041)
    at
net.sf.saxon.expr.ExpressionParser.parseMultiplicativeExpression(ExpressionParser.java:978)
    at
net.sf.saxon.expr.ExpressionParser.parseAdditiveExpression(ExpressionParser.java:958)
    at
net.sf.saxon.expr.ExpressionParser.parseRangeExpression(ExpressionParser.java:876)
    at
net.sf.saxon.expr.ExpressionParser.parseComparisonExpression(ExpressionParser.java:826)
    at
net.sf.saxon.expr.ExpressionParser.parseAndExpression(ExpressionParser.java:423)
    at
net.sf.saxon.expr.ExpressionParser.parseOrExpression(ExpressionParser.java:405)
    at
net.sf.saxon.expr.ExpressionParser.parseExprSingle(ExpressionParser.java:354)
    at
net.sf.saxon.expr.ExpressionParser.parseExpression(ExpressionParser.java:306)
    at net.sf.saxon.query.QueryParser.parseQuery(QueryParser.java:271)
    at
net.sf.saxon.query.QueryParser.makeXQueryExpression(QueryParser.java:103)
    at
net.sf.saxon.query.StaticQueryContext.compileQuery(StaticQueryContext.java:343)
    at
org.apache.hise.utils.XQueryEvaluator.evaluateExpression(XQueryEvaluator.java:107)
    ... 51 more
===================================

Can anybody give me an idea about what's wrong or should this be considered
as a bug?
Thanks,
Sanjaya

Mime
View raw message