From: Christian H. <ch...@pi...> - 2004-06-23 19:38:49
|
Hi, when doing queries after an update to an eXist db (running with latest snapshot), I get a NullPointerException. The error occurs on line: if (rec.offset > rec.page.getPageHeader().getDataLength()) { so presumably getPageHeader() return Null. (Full backtrace at the end of this email). What's odd this that after enough retries, the error goes away. Any clue as to what the problem might be? I'd be more than happy to help if you need more information; the error is quite reproductible here. Thanks, Christian 23 juin 2004 15:33:23,858 [SocketListener-25] DEBUG (RpcServer.java [handleException]:561) - java.lang.NullPointerException at org.exist.storage.store.DOMFile.getNodeValue(DOMFile.java:1321) at org.exist.storage.store.DOMFile.getNodeValue(DOMFile.java:1300) at org.exist.storage.NativeBroker$3.start(NativeBroker.java:1097) at org.exist.storage.store.DOMTransaction.run(DOMTransaction.java:56) at org.exist.storage.NativeBroker.getNodeValue(NativeBroker.java:1095) at org.exist.dom.NodeProxy.getNodeValue(NodeProxy.java:280) at org.exist.dom.NodeProxy.atomize(NodeProxy.java:535) at org.exist.xquery.value.OrderedValueSequence$Entry.<init>(OrderedValueSequence.java:132) at org.exist.xquery.value.OrderedValueSequence.add(OrderedValueSequence.java:81) at org.exist.xquery.value.OrderedValueSequence.addAll(OrderedValueSequence.java:93) at org.exist.xquery.ForExpr.eval(ForExpr.java:144) at org.exist.xquery.BindingExpression.eval(BindingExpression.java:97) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:45) at org.exist.xquery.PathExpr.eval(PathExpr.java:148) at org.exist.xquery.AbstractExpression.eval(AbstractExpression.java:45) at org.exist.xquery.XQuery.execute(XQuery.java:107) at org.exist.xmlrpc.RpcConnection.doQuery(RpcConnection.java:254) at org.exist.xmlrpc.RpcConnection.executeQuery(RpcConnection.java:268) at org.exist.xmlrpc.RpcServer.executeQuery(RpcServer.java:127) at sun.reflect.GeneratedMethodAccessor4.invoke(Unknown Source) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at org.exist.xmlrpc.AuthenticatedHandler.execute(AuthenticatedHandler.java:116) at org.exist.xmlrpc.AuthenticatedHandler.execute(AuthenticatedHandler.java:63) at org.apache.xmlrpc.XmlRpcWorker.invokeHandler(Unknown Source) at org.apache.xmlrpc.XmlRpcWorker.execute(Unknown Source) at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source) at org.apache.xmlrpc.XmlRpcServer.execute(Unknown Source) at org.exist.xmlrpc.RpcServlet.doPost(RpcServlet.java:39) at javax.servlet.http.HttpServlet.service(HttpServlet.java:760) at javax.servlet.http.HttpServlet.service(HttpServlet.java:853) at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:366) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:293) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:581) at org.mortbay.http.HttpContext.handle(HttpContext.java:1687) at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:544) at org.mortbay.http.HttpContext.handle(HttpContext.java:1637) at org.mortbay.http.HttpServer.service(HttpServer.java:875) at org.mortbay.http.HttpConnection.service(HttpConnection.java:806) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:956) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:823) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:202) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:290) at org.mortbay.util.ThreadPool$JobRunner.run(ThreadPool.java:743) at java.lang.Thread.run(Thread.java:534) |