HTTP ERROR 500 javax.servlet.ServletException:
javax.servlet.ServletException: An error occurred while processing
request to /cbss/search.html: An unknown error occurred: null
URI:
/cbss/search.html
500
javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
XQueryURLRewrite
javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
javax.servlet.ServletException: An unknown error occurred: null
java.lang.NullPointerException
Caused by:
javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:162)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:366)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:571)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
... 18 more
Caused by: javax.servlet.ServletException: An unknown error occurred: null
at org.exist.http.servlets.EXistServlet.doPost(EXistServlet.java:572)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.exist.http.servlets.EXistServlet.service(EXistServlet.java:588)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1459)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:618)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:167)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:81)
at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50)
at org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:523)
at org.exist.http.urlrewrite.XQueryURLRewrite.applyViews(XQueryURLRewrite.java:406)
at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:347)
... 41 more
Caused by: java.lang.NullPointerException
at org.exist.xquery.FilteredExpression.eval(FilteredExpression.java:102)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98)
at org.exist.xquery.LetExpr.eval(LetExpr.java:98)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207)
at org.exist.xquery.LetExpr.eval(LetExpr.java:98)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:248)
at org.exist.xquery.value.FunctionReference.evalFunction(FunctionReference.java:99)
at org.exist.xquery.functions.fn.FunHigherOrderFun.eval(FunHigherOrderFun.java:235)
at org.exist.xquery.BasicFunction.eval(BasicFunction.java:73)
at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:62)
at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:73)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:189)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82)
at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82)
at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82)
at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82)
at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:233)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.isEmpty(DeferredFunctionCall.java:200)
at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:75)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:189)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.XQuery.execute(XQuery.java:373)
at org.exist.xquery.XQuery.execute(XQuery.java:295)
at org.exist.http.RESTServer.executeXQuery(RESTServer.java:1558)
at org.exist.http.RESTServer.doPost(RESTServer.java:683)
at org.exist.http.servlets.EXistServlet.doPost(EXistServlet.java:538)
... 67 more
Powered by Jetty:// 9.4.44.v20210927
HTTP ERROR 500 javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
URI: /cbss/search.html
STATUS: 500
MESSAGE: javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
SERVLET: XQueryURLRewrite
CAUSED BY: javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
CAUSED BY: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
CAUSED BY: javax.servlet.ServletException: An unknown error occurred: null
CAUSED BY: java.lang.NullPointerException
Caused by:
javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:162)
at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.Server.handle(Server.java:516)
at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400)
at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645)
at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392)
at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277)
at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311)
at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105)
at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173)
at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131)
at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409)
at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883)
at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:366)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228)
at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193)
at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:571)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234)
at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146)
... 18 more
Caused by: javax.servlet.ServletException: An unknown error occurred: null
at org.exist.http.servlets.EXistServlet.doPost(EXistServlet.java:572)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:707)
at org.exist.http.servlets.EXistServlet.service(EXistServlet.java:588)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:790)
at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1459)
at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799)
at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631)
at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143)
at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:618)
at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235)
at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624)
at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233)
at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188)
at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501)
at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594)
at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186)
at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349)
at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:167)
at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:81)
at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50)
at org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:523)
at org.exist.http.urlrewrite.XQueryURLRewrite.applyViews(XQueryURLRewrite.java:406)
at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:347)
... 41 more
Caused by: java.lang.NullPointerException
at org.exist.xquery.FilteredExpression.eval(FilteredExpression.java:102)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98)
at org.exist.xquery.LetExpr.eval(LetExpr.java:98)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207)
at org.exist.xquery.LetExpr.eval(LetExpr.java:98)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:248)
at org.exist.xquery.value.FunctionReference.evalFunction(FunctionReference.java:99)
at org.exist.xquery.functions.fn.FunHigherOrderFun.eval(FunHigherOrderFun.java:235)
at org.exist.xquery.BasicFunction.eval(BasicFunction.java:73)
at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:62)
at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:73)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:189)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82)
at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82)
at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82)
at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82)
at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:233)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.isEmpty(DeferredFunctionCall.java:200)
at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:75)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:189)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207)
at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421)
at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57)
at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232)
at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65)
at org.exist.xquery.ForExpr.processItem(ForExpr.java:248)
at org.exist.xquery.ForExpr.eval(ForExpr.java:187)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161)
at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289)
at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207)
at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.LetExpr.eval(LetExpr.java:110)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.PathExpr.eval(PathExpr.java:279)
at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71)
at org.exist.xquery.XQuery.execute(XQuery.java:373)
at org.exist.xquery.XQuery.execute(XQuery.java:295)
at org.exist.http.RESTServer.executeXQuery(RESTServer.java:1558)
at org.exist.http.RESTServer.doPost(RESTServer.java:683)
at org.exist.http.servlets.EXistServlet.doPost(EXistServlet.java:538)
... 67 more
[Powered by Jetty:// 9.4.44.v20210927](https://eclipse.org/jetty)
On a results page: https://dev.syriaca.org/cbss/search.html?q=&keywordSearch=&title=&author=Brock&pub-place=&publisher=&date=&abstract=&bookLimit=true&journalArticleLimit=true&bookSectionLimit=true&thesisLimit=true&idno=
Trying to sort:
https://dev.syriaca.org/cbss/search.html?author=Brock&thesisLimit=true&journalArticleLimit=true&bookLimit=true&bookSectionLimit=true&start=1&sort-element=author
Leads to a 500 error
HTTP ERROR 500 javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null
500 javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null XQueryURLRewrite javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null javax.servlet.ServletException: An unknown error occurred: null java.lang.NullPointerException
Caused by:
Powered by Jetty:// 9.4.44.v20210927
HTTP ERROR 500 javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null URI: /cbss/search.html STATUS: 500 MESSAGE: javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null SERVLET: XQueryURLRewrite CAUSED BY: javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null CAUSED BY: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null CAUSED BY: javax.servlet.ServletException: An unknown error occurred: null CAUSED BY: java.lang.NullPointerException Caused by: javax.servlet.ServletException: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:162) at org.eclipse.jetty.server.handler.gzip.GzipHandler.handle(GzipHandler.java:763) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.Server.handle(Server.java:516) at org.eclipse.jetty.server.HttpChannel.lambda$handle$1(HttpChannel.java:400) at org.eclipse.jetty.server.HttpChannel.dispatch(HttpChannel.java:645) at org.eclipse.jetty.server.HttpChannel.handle(HttpChannel.java:392) at org.eclipse.jetty.server.HttpConnection.onFillable(HttpConnection.java:277) at org.eclipse.jetty.io.AbstractConnection$ReadCallback.succeeded(AbstractConnection.java:311) at org.eclipse.jetty.io.FillInterest.fillable(FillInterest.java:105) at org.eclipse.jetty.io.ChannelEndPoint$1.run(ChannelEndPoint.java:104) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.runTask(EatWhatYouKill.java:338) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.doProduce(EatWhatYouKill.java:315) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.tryProduce(EatWhatYouKill.java:173) at org.eclipse.jetty.util.thread.strategy.EatWhatYouKill.run(EatWhatYouKill.java:131) at org.eclipse.jetty.util.thread.ReservedThreadExecutor$ReservedThread.run(ReservedThreadExecutor.java:409) at org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:883) at org.eclipse.jetty.util.thread.QueuedThreadPool$Runner.run(QueuedThreadPool.java:1034) at java.base/java.lang.Thread.run(Thread.java:829) Caused by: javax.servlet.ServletException: An error occurred while processing request to /cbss/search.html: An unknown error occurred: null at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:366) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1450) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631) at org.eclipse.jetty.websocket.server.WebSocketUpgradeFilter.doFilter(WebSocketUpgradeFilter.java:228) at org.eclipse.jetty.servlet.FilterHolder.doFilter(FilterHolder.java:193) at org.eclipse.jetty.servlet.ServletHandler$Chain.doFilter(ServletHandler.java:1601) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:571) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.handler.ContextHandlerCollection.handle(ContextHandlerCollection.java:234) at org.eclipse.jetty.server.handler.HandlerCollection.handle(HandlerCollection.java:146) ... 18 more Caused by: javax.servlet.ServletException: An unknown error occurred: null at org.exist.http.servlets.EXistServlet.doPost(EXistServlet.java:572) at javax.servlet.http.HttpServlet.service(HttpServlet.java:707) at org.exist.http.servlets.EXistServlet.service(EXistServlet.java:588) at javax.servlet.http.HttpServlet.service(HttpServlet.java:790) at org.eclipse.jetty.servlet.ServletHolder$NotAsync.service(ServletHolder.java:1459) at org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:799) at org.eclipse.jetty.servlet.ServletHandler$ChainEnd.doFilter(ServletHandler.java:1631) at org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:548) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:143) at org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:618) at org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:127) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:235) at org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:1624) at org.eclipse.jetty.server.handler.ScopedHandler.nextHandle(ScopedHandler.java:233) at org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1434) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:188) at org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:501) at org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:1594) at org.eclipse.jetty.server.handler.ScopedHandler.nextScope(ScopedHandler.java:186) at org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1349) at org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:141) at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:167) at org.eclipse.jetty.server.Dispatcher.forward(Dispatcher.java:81) at org.exist.http.urlrewrite.Forward.doRewrite(Forward.java:50) at org.exist.http.urlrewrite.XQueryURLRewrite.doRewrite(XQueryURLRewrite.java:523) at org.exist.http.urlrewrite.XQueryURLRewrite.applyViews(XQueryURLRewrite.java:406) at org.exist.http.urlrewrite.XQueryURLRewrite.service(XQueryURLRewrite.java:347) ... 41 more Caused by: java.lang.NullPointerException at org.exist.xquery.FilteredExpression.eval(FilteredExpression.java:102) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98) at org.exist.xquery.LetExpr.eval(LetExpr.java:98) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207) at org.exist.xquery.LetExpr.eval(LetExpr.java:98) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:248) at org.exist.xquery.value.FunctionReference.evalFunction(FunctionReference.java:99) at org.exist.xquery.functions.fn.FunHigherOrderFun.eval(FunHigherOrderFun.java:235) at org.exist.xquery.BasicFunction.eval(BasicFunction.java:73) at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:62) at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:73) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:189) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421) at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57) at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232) at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421) at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57) at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232) at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82) at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421) at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57) at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232) at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82) at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421) at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57) at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232) at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82) at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421) at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57) at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232) at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.SequenceConstructor.eval(SequenceConstructor.java:82) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:82) at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:330) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:100) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421) at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57) at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232) at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:233) at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421) at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57) at org.exist.xquery.DeferredFunctionCall.isEmpty(DeferredFunctionCall.java:200) at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:75) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:189) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:98) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421) at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57) at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232) at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall$DeferredFunctionCallImpl.execute(FunctionCall.java:421) at org.exist.xquery.DeferredFunctionCall.realize(DeferredFunctionCall.java:57) at org.exist.xquery.DeferredFunctionCall.iterate(DeferredFunctionCall.java:232) at org.exist.xquery.value.ValueSequence.addAll(ValueSequence.java:173) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.TypeswitchExpression.eval(TypeswitchExpression.java:110) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:65) at org.exist.xquery.ForExpr.processItem(ForExpr.java:248) at org.exist.xquery.ForExpr.eval(ForExpr.java:187) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:161) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:289) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:207) at org.exist.xquery.DebuggableExpression.eval(DebuggableExpression.java:58) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.LetExpr.eval(LetExpr.java:110) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.PathExpr.eval(PathExpr.java:279) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:71) at org.exist.xquery.XQuery.execute(XQuery.java:373) at org.exist.xquery.XQuery.execute(XQuery.java:295) at org.exist.http.RESTServer.executeXQuery(RESTServer.java:1558) at org.exist.http.RESTServer.doPost(RESTServer.java:683) at org.exist.http.servlets.EXistServlet.doPost(EXistServlet.java:538) ... 67 more [Powered by Jetty:// 9.4.44.v20210927](https://eclipse.org/jetty)