From: Markus K. <mar...@bs...> - 2011-08-30 10:39:13
|
hi guys, I am experiencing a strange behaviour after my database crashed. I keep getting the error "String index out of range: 4044" when I am trying to access a collection in my database. one of the subdirectories (the most important one, with my application) was used as a destination path for an import script which was supposed to create 10.000 new xml files. I had to stop the server because it seemed like the script was not terminating. plus, my oXygen editor, my admin client and all my open webpage tabs (on that server) froze. after starting eXist again the usual "database 'eXist' doesnt exist" error occured. so after fixing this issue by deleting the appropriate files I wanted to reindex and that didnt work. unfortunately, nothing seems to work to fix it, I keep getting the following error message no matter what I do: 30 Aug 2011 12:28:12,337 [SocketListener0-4] ERROR (ServletHandler.java [handle]:593) - /db/ODB/: java.lang.StringIndexOutOfBoundsException: String index out of range: 4044 at java.lang.String.checkBounds(String.java:409) at java.lang.String.<init>(String.java:450) at org.exist.storage.io.VariableByteArrayInput.readUTF(VariableByteArrayInput.java:137) at org.exist.collections.Collection.read(Collection.java:738) at org.exist.storage.NativeBroker.openCollection(NativeBroker.java:694) at org.exist.storage.NativeBroker.openCollection(NativeBroker.java:662) at org.exist.storage.NativeBroker.getCollection(NativeBroker.java:658) at org.exist.http.RESTServer.writeCollection(RESTServer.java:1566) at org.exist.http.RESTServer.doGet(RESTServer.java:353) at org.exist.http.servlets.EXistServlet.doGet(EXistServlet.java:323) 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:428) at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473) at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568) at org.mortbay.http.HttpContext.handle(HttpContext.java:1530) at org.mortbay.http.HttpContext.handle(HttpContext.java:1482) at org.mortbay.http.HttpServer.service(HttpServer.java:909) at org.mortbay.http.HttpConnection.service(HttpConnection.java:820) at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986) at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837) at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245) at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357) at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534) any idea how to solve this problem? I would really appreciate your help! I am still using eXist-1.4.1 dev-rev14275. cheers, markus |