net.sf.saxon.trans.XPathException: cannot resolve document for URI: file:/C:/Work/Bagri/git/bagri/etc/sample s/xmark/auction.xml

GitHub | dsukhoroslov | 9 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    can not run XQuery on XMark schema with 2 (or more?) nodes

    GitHub | 9 months ago | dsukhoroslov
    net.sf.saxon.trans.XPathException: cannot resolve document for URI: file:/C:/Work/Bagri/git/bagri/etc/sample s/xmark/auction.xml

    Root Cause Analysis

    1. net.sf.saxon.trans.XPathException

      cannot resolve document for URI: file:/C:/Work/Bagri/git/bagri/etc/sample s/xmark/auction.xml

      at com.bagri.xquery.saxon.SourceResolverImpl.resolveSource()
    2. com.bagri.xquery
      SourceResolverImpl.resolveSource
      1. com.bagri.xquery.saxon.SourceResolverImpl.resolveSource(SourceResolverImpl.java:91)[bagri-xquery-saxon-0.8.1-SNAPSHOT.jar:na]
      1 frame
    3. Saxon HE
      XQueryExpression.iterator
      1. net.sf.saxon.functions.DocumentFn.makeDoc(DocumentFn.java:324)[Saxon-HE-9.7.0-4.jar:na]
      2. net.sf.saxon.functions.Doc.call(Doc.java:94)[Saxon-HE-9.7.0-4.jar:na]
      3. net.sf.saxon.functions.Doc.call(Doc.java:26)[Saxon-HE-9.7.0-4.jar:na]
      4. net.sf.saxon.expr.FunctionCall.iterate(FunctionCall.java:546)[Saxon-HE-9.7.0-4.jar:na]
      5. net.sf.saxon.expr.Expression.evaluateItem(Expression.java:754)[Saxon-HE-9.7.0-4.jar:na]
      6. net.sf.saxon.expr.SimpleStepExpression.iterate(SimpleStepExpression.java:106)[Saxon-HE-9.7.0-4.jar:na]
      7. net.sf.saxon.expr.SlashExpression.iterate(SlashExpression.java:869)[Saxon-HE-9.7.0-4.jar:na]
      8. net.sf.saxon.expr.SlashExpression.iterate(SlashExpression.java:869)[Saxon-HE-9.7.0-4.jar:na]
      9. net.sf.saxon.expr.FilterExpression.iterate(FilterExpression.java:1172)[Saxon-HE-9.7.0-4.jar:na]
      10. net.sf.saxon.expr.ForExpression.iterate(ForExpression.java:443)[Saxon-HE-9.7.0-4.jar:na]
      11. net.sf.saxon.query.XQueryExpression.iterator(XQueryExpression.java:317)[Saxon-HE-9.7.0-4.jar:na]
      11 frames
    4. com.bagri.xquery
      XQProcessorServer.executeXQuery
      1. com.bagri.xquery.saxon.XQProcessorServer.execQuery(XQProcessorServer.java:164)[bagri-xquery-saxon-0.8.1-SNAPSHOT.jar:na]
      2. com.bagri.xquery.saxon.XQProcessorServer.executeXQuery(XQProcessorServer.java:210)[bagri-xquery-saxon-0.8.1-SNAPSHOT.jar:na]
      2 frames
    5. com.bagri.xdm
      QueryExecutor.call
      1. com.bagri.xdm.cache.hazelcast.impl.QueryManagementImpl.runQuery(QueryManagementImpl.java:649)[classes/:na]
      2. com.bagri.xdm.cache.hazelcast.impl.QueryManagementImpl.executeQuery(QueryManagementImpl.java:597)[classes/:na]
      3. com.bagri.xdm.cache.hazelcast.task.query.QueryExecutor$1.call(QueryExecutor.java:54)[classes/:na]
      4. com.bagri.xdm.cache.hazelcast.task.query.QueryExecutor$1.call(QueryExecutor.java:51)[classes/:na]
      5. com.bagri.xdm.cache.hazelcast.impl.TransactionManagementImpl.callInTransaction(TransactionManagementImpl.java:305)[classes/:na]
      6. com.bagri.xdm.cache.hazelcast.task.query.QueryExecutor.call(QueryExecutor.java:51)[classes/:na]
      7. com.bagri.xdm.cache.hazelcast.task.query.QueryExecutor.call(QueryExecutor.java:17)[classes/:na]
      7 frames
    6. Java RT
      FutureTask.run
      1. java.util.concurrent.FutureTask.run(FutureTask.java:266)[na:1.8.0_74]
      1 frame
    7. Hazelcast
      CachedExecutorServiceDelegate$Worker.run
      1. com.hazelcast.executor.impl.DistributedExecutorService$CallableProcessor.run(DistributedExecutorService.java:203)[hazelcast-all-3.6.3.jar:3.6.3]
      2. com.hazelcast.util.executor.CachedExecutorServiceDelegate$Worker.run(CachedExecutorServiceDelegate.java:212)[hazelcast-all-3.6.3.jar:3.6.3]
      2 frames
    8. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_74]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_74]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_74]
      3 frames
    9. Hazelcast
      HazelcastManagedThread.run
      1. com.hazelcast.util.executor.HazelcastManagedThread.executeRun(HazelcastManagedThread.java:76)[hazelcast-all-3.6.3.jar:3.6.3]
      2. com.hazelcast.util.executor.HazelcastManagedThread.run(HazelcastManagedThread.java:92)[hazelcast-all-3.6.3.jar:3.6.3]
      2 frames