From: SourceForge.net <no...@so...> - 2008-06-19 11:17:32
|
Bugs item #1997707, was opened at 2008-06-19 13:17 Message generated for change (Tracker Item Submitted) made by Item Submitter You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=117691&aid=1997707&group_id=17691 Please note that this message will contain a full copy of the comment thread, including the initial issue submission, for this request, not just the latest update. Category: None Group: None Status: Open Resolution: None Priority: 5 Private: No Submitted By: Paolo Cappelletti (gempliss) Assigned to: Nobody/Anonymous (nobody) Summary: daily problems on exist db 1.2.3 Initial Comment: hello, we have continiusly problems on an exist DB (1.2.3) accessed via XML-RPC, running on Linux Mandriva 2008 (java 6.0.4), with a dom.dbx of 664MB: almost every day we have after some times of work an exception during the store of a document or an xquery operation: the exception is usually a NullPointer like this one: 2008-06-18 09:36:29,197 [http-8081-Processor22] ERROR (com.gempliss.db.ExistClient.query:506)- Error during query org.xmldb.api.base.XMLDBException: java.lang.NullPointerException at org.exist.xmldb.RemoteXPathQueryService.query(RemoteXPathQueryService.java:64) at org.exist.xmldb.RemoteXPathQueryService.query(RemoteXPathQueryService.java:36) at org.exist.xmldb.RemoteXPathQueryService.execute(RemoteXPathQueryService.java:208) ..... Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.NullPointerException at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:457) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163) at org.exist.xmldb.RemoteXPathQueryService.query(RemoteXPathQueryService.java:53) ... 39 more Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.NullPointerException at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:457) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163) at org.exist.xmldb.RemoteXPathQueryService.query(RemoteXPathQueryService.java:53) at org.exist.xmldb.RemoteXPathQueryService.query(RemoteXPathQueryService.java:36) at org.exist.xmldb.RemoteXPathQueryService.execute(RemoteXPathQueryService.java:208) after that, the database starts to give errrors at ANY operation, usually an ArrayIndexOutOfBounds like this: org.xmldb.api.base.XMLDBException: java.lang.ArrayIndexOutOfBoundsException: 4592 at org.exist.xmldb.RemoteCollection.store(RemoteCollection.java:442) at org.exist.xmldb.RemoteCollection.storeResource(RemoteCollection.java:422) at org.exist.xmldb.RemoteCollection.storeResource(RemoteCollection.java:393) ... Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.ArrayIndexOutOfBoundsException: 4592 at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:457) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163) at org.exist.xmldb.RemoteCollection.store(RemoteCollection.java:440) ... 35 more Caused by: org.apache.xmlrpc.XmlRpcException: java.lang.ArrayIndexOutOfBoundsException: 4592 at org.apache.xmlrpc.XmlRpcClient$Worker.execute(XmlRpcClient.java:457) at org.apache.xmlrpc.XmlRpcClient.execute(XmlRpcClient.java:163) at org.exist.xmldb.RemoteCollection.store(RemoteCollection.java:440) at org.exist.xmldb.RemoteCollection.storeResource(RemoteCollection.java:422) at org.exist.xmldb.RemoteCollection.storeResource(RemoteCollection.java:393) we can fix the problem by restarting the DB and performing a reindex of the colletions. PS: we tried to perform the sanity check task and obtained in the log file hundreds of errors of this type: ERR_DOM_INDEX: Failed to access node 1.3.1.2.4.2 through dom.dbx index. Wrong storage address. Expected: -1; got: 520696065163285 - Document ID: 94707 ---------------------------------------------- ERR_DOM_INDEX: Failed to access node 1.3.1.2.4.2 through dom.dbx index. Wrong storage address. Expected: -1; got: 520734719868949 - Document ID: 94713 ---------------------------------------------------------------------- You can respond by visiting: https://sourceforge.net/tracker/?func=detail&atid=117691&aid=1997707&group_id=17691 |