From: <sp...@so...> - 2004-06-16 14:04:37
|
Hi all ! Since I use the latest CVS snapshot (2004/06/15), I'm encountering problems with the XML-RPC API as soon as I execute the getDocumentAsString(User,String,int) method. Each time I call this method I get the following exception: 16 juin 2004 15:46:24,578 [Thread-7] DEBUG (RpcServer.java [handleException]:561) - String index out of range: -1 java.lang.StringIndexOutOfBoundsException: String index out of range: -1 at java.lang.String.substring(String.java:1480) at org.exist.xmlrpc.RpcConnection.getDocument(RpcConnection.java:432) at org.exist.xmlrpc.RpcServer.getDocumentAsString(RpcServer.java:292) at org.exist.xmlrpc.RpcServer.getDocumentAsString(RpcServer.java:271) at sun.reflect.GeneratedMethodAccessor7.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.apache.xmlrpc.WebServer$Connection.run(Unknown Source) at org.apache.xmlrpc.WebServer$Runner.run(Unknown Source) at java.lang.Thread.run(Thread.java:536) java.lang.StringIndexOutOfBoundsException This behaviour has appeared since the snapshot 2004/04/26. Any workaround or bug fix ? Regards, Sebastien. |