And finally fixed. Somewhere, a timeout was set to Long.MAX_VALUE,
leading to an out of bounds exception. A new snapshot is available.

Thanks,
Christian


On Tue, Feb 17, 2015 at 9:42 PM, Christian Grün
<christian.gr...@gmail.com> wrote:
> …work in progress, thanks (still figuring out if the problem is due to
> BaseX or the WebDAV Milton driver).
>
>
> On Sun, Feb 15, 2015 at 6:01 PM, Andreas Jung <li...@zopyx.com> wrote:
>> -----BEGIN PGP SIGNED MESSAGE-----
>> Hash: SHA1
>>
>> Hi there,
>>
>> the following bug occurs while re-editing a .xql script.
>>
>> - - start cadaver against the WebDAV port
>> - - inside cadaver: edit some.xsql and save an empty file
>> - - re-edit the same file again and this LOCK related issue pops up
>>
>> Cheers
>> Andreas
>>
>> [qtp43256131-15] INFO com.bradmcevoy.http.HttpManager - PROPFIND ::
>> http://localhost:8984/webdav/scripts/foo.xql -
>> http://localhost:8984/webdav/scripts/foo.xql
>> [qtp43256131-15] INFO com.bradmcevoy.http.HttpManager - PROPFIND ::
>> http://localhost:8984/webdav/scripts/foo.xql -
>> http://localhost:8984/webdav/scripts/foo.xql
>> [qtp43256131-15] INFO com.bradmcevoy.http.HttpManager - OPTIONS ::
>> http://localhost:8984/webdav/scripts/foo.xql -
>> http://localhost:8984/webdav/scripts/foo.xql
>> [qtp43256131-20] INFO com.bradmcevoy.http.HttpManager - LOCK ::
>> http://localhost:8984/webdav/scripts/foo.xql -
>> http://localhost:8984/webdav/scripts/foo.xql
>> com.bradmcevoy.http.exceptions.BadRequestException
>> [qtp43256131-20] ERROR com.bradmcevoy.http.StandardFilter - process
>> java.lang.NullPointerException
>>         at
>> com.bradmcevoy.http.webdav.LockHandler.processNewLock(LockHandler.java:234)
>>         at
>> com.bradmcevoy.http.webdav.LockHandler.processExistingResource(LockHandler.java:110)
>>         at 
>> com.bradmcevoy.http.webdav.LockHandler.process(LockHandler.java:86)
>>         at com.bradmcevoy.http.StandardFilter.process(StandardFilter.java:52)
>>         at com.bradmcevoy.http.FilterChain.process(FilterChain.java:40)
>>         at com.bradmcevoy.http.HttpManager.process(HttpManager.java:228)
>>         at org.basex.http.webdav.WebDAVServlet.run(WebDAVServlet.java:43)
>>         at org.basex.http.BaseXServlet.service(BaseXServlet.java:64)
>>         at javax.servlet.http.HttpServlet.service(HttpServlet.java:848)
>>         at 
>> org.eclipse.jetty.servlet.ServletHolder.handle(ServletHolder.java:684)
>>         at
>> org.eclipse.jetty.servlet.ServletHandler.doHandle(ServletHandler.java:503)
>>         at
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:137)
>>         at
>> org.eclipse.jetty.security.SecurityHandler.handle(SecurityHandler.java:557)
>>         at
>> org.eclipse.jetty.server.session.SessionHandler.doHandle(SessionHandler.java:231)
>>         at
>> org.eclipse.jetty.server.handler.ContextHandler.doHandle(ContextHandler.java:1086)
>>         at
>> org.eclipse.jetty.servlet.ServletHandler.doScope(ServletHandler.java:429)
>>         at
>> org.eclipse.jetty.server.session.SessionHandler.doScope(SessionHandler.java:193)
>>         at
>> org.eclipse.jetty.server.handler.ContextHandler.doScope(ContextHandler.java:1020)
>>         at
>> org.eclipse.jetty.server.handler.ScopedHandler.handle(ScopedHandler.java:135)
>>         at
>> org.eclipse.jetty.server.handler.HandlerWrapper.handle(HandlerWrapper.java:116)
>>         at org.eclipse.jetty.server.Server.handle(Server.java:370)
>>         at
>> org.eclipse.jetty.server.AbstractHttpConnection.handleRequest(AbstractHttpConnection.java:494)
>>         at
>> org.eclipse.jetty.server.AbstractHttpConnection.content(AbstractHttpConnection.java:982)
>>         at
>> org.eclipse.jetty.server.AbstractHttpConnection$RequestHandler.content(AbstractHttpConnection.java:1043)
>>         at org.eclipse.jetty.http.HttpParser.parseNext(HttpParser.java:865)
>>         at 
>> org.eclipse.jetty.http.HttpParser.parseAvailable(HttpParser.java:240)
>>         at
>> org.eclipse.jetty.server.AsyncHttpConnection.handle(AsyncHttpConnection.java:82)
>>         at
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint.handle(SelectChannelEndPoint.java:696)
>>         at
>> org.eclipse.jetty.io.nio.SelectChannelEndPoint$1.run(SelectChannelEndPoint.java:53)
>>         at
>> org.eclipse.jetty.util.thread.QueuedThreadPool.runJob(QueuedThreadPool.java:608)
>>         at
>> org.eclipse.jetty.util.thread.QueuedThreadPool$3.run(QueuedThreadPool.java:543)
>>         at java.lang.Thread.run(Unknown Source)
>> -----BEGIN PGP SIGNATURE-----
>> Version: GnuPG v1.4.11 (Darwin)
>> Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
>>
>> iQGUBAEBAgAGBQJU4NDtAAoJEADcfz7u4AZjrYYLvA5ssGdFWLFhxjcH+h+2HzUd
>> Q/GXKDuHoz1cpzBxYahaur2VbAuVysTWbb1Cr5PkOQMtXgqoNh0IbP/FDprk8VZW
>> mqtpIVfPqSEhYtsxzr+5lo2iuppco+K5WOo16UV4+R2tRKi9yOtq5vwhp8mNOBZ1
>> Ottv6Q2iBON6G1DBg6qStNGBJWl1AD+HWEgvc6p0SKL8IWUnp+iaalowK00AFb6y
>> Ie2xXZd/5iF9ukSKEs2TeSXyXF6Hx6dZqKRDUFjDZSdvIqcR4w3Z/3AQdseM3oh4
>> gdPMTM7HVen5mqX0DNookE4OPQY2yurNMHWrhAiHNdAisU0PkjdqZ9wjN2zl8rMy
>> 7NnSiZwkCRL3Fk0SP2F8YrQTMFhZTUaJbIwOHclHIUZw/Jl6ULOJTQSVu34YCjBK
>> cmwe7h9k2TBsq/LchHYLWwjtppoUNKmlMkbaKvH+7cSdwMumX7Vg2M5GApZ7xeYD
>> 0ZjV2xXCil+Y4eyNE/Dwk+QKFO4rxp8=
>> =rjkk
>> -----END PGP SIGNATURE-----

Reply via email to