From: Adam R. <ada...@de...> - 2006-03-31 14:25:59
|
If we restore our db to eXist and try and acces it in the normal way http://localhost:8080/exist/servlet/db/CommunityDirectory/index.xql from a browser, we get this - (Pierrick I think you asked for these to be reported?) HTTP ERROR: 500 Can not call getFirstChild() from here RequestURI=/exist/servlet/db/CommunityDirectory/index.xql The stack trace from the logs is this - 2006-03-31 15:12:09,485 [P1-8] WARN (ServletHandler.java [handle]:551) - /exist/servlet/db/CommunityDirectory/index.xql: java.lang.RuntimeException: Can not call getFirstChild() from here at org.exist.memtree.NodeImpl.getFirstChild(NodeImpl.java:250) at org.exist.memtree.DocumentImpl.copyTo(DocumentImpl.java:639) at org.exist.memtree.DocumentImpl.copyTo(DocumentImpl.java:627) at org.exist.memtree.NodeImpl.copyTo(NodeImpl.java:591) at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:93) at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:173) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.ForExpr.eval(ForExpr.java:253) at org.exist.xquery.BindingExpression.eval(BindingExpression.java:109) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.ConditionalExpression.eval(ConditionalExpression.java:85) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.LetExpr.eval(LetExpr.java:152) at org.exist.xquery.BindingExpression.eval(BindingExpression.java:109) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:108) at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:71) at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:66) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:189) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:150) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.LetExpr.eval(LetExpr.java:104) at org.exist.xquery.BindingExpression.eval(BindingExpression.java:109) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:108) at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:71) at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:66) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:189) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:150) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:65) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:173) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:173) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:108) at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:71) at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:66) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:189) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:150) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.EnclosedExpr.eval(EnclosedExpr.java:65) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.ElementConstructor.eval(ElementConstructor.java:173) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.UserDefinedFunction.eval(UserDefinedFunction.java:108) at org.exist.xquery.DynamicCardinalityCheck.eval(DynamicCardinalityCheck.java:71) at org.exist.xquery.DynamicTypeCheck.eval(DynamicTypeCheck.java:66) at org.exist.xquery.FunctionCall.evalFunction(FunctionCall.java:189) at org.exist.xquery.FunctionCall.eval(FunctionCall.java:150) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.XQuery.execute(XQuery.java:197) at org.exist.xquery.functions.util.Eval.eval(Eval.java:180) at org.exist.xquery.BasicFunction.eval(BasicFunction.java:62) at org.exist.xquery.InternalFunctionCall.eval(InternalFunctionCall.java:49) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.LetExpr.eval(LetExpr.java:104) at org.exist.xquery.LetExpr.eval(LetExpr.java:150) at org.exist.xquery.BindingExpression.eval(BindingExpression.java:109) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.PathExpr.eval(PathExpr.java:209) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:56) at org.exist.xquery.XQuery.execute(XQuery.java:197) at org.exist.xquery.XQuery.execute(XQuery.java:171) at org.exist.http.RESTServer.executeXQuery(RESTServer.java:948) at org.exist.http.RESTServer.doGet(RESTServer.java:302) at org.exist.http.servlets.EXistServlet.doGet(EXistServlet.java:233) at javax.servlet.http.HttpServlet.service(HttpServlet.java:743) at javax.servlet.http.HttpServlet.service(HttpServlet.java:856) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:405) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:472) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:525) at org.mortbay.http.HttpContext.handle(HttpContext.java:1457) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:514) at org.mortbay.http.HttpContext.handle(HttpContext.java:1409) at org.mortbay.http.HttpServer.service(HttpServer.java:889) at org.mortbay.http.HttpConnection.service(HttpConnection.java:829) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:998) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:846) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:244) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:345) at org.mortbay.util.ThreadPool $PoolThread.run(ThreadPool.java:530) -- Adam Retter Devon Portal Developer Devon Portal Project County Hall Exeter Devon EX2 4QD t: 01392 38 3683 f: 01392 38 2966 e: ada...@de... w: http://www.devonline.gov.uk |