You are viewing a plain text version of this content. The canonical link for it is here.
Posted to slide-user@jakarta.apache.org by "Pan, Jiantao" <ji...@labbook.com> on 2000/12/11 23:46:25 UTC
Put method problem
I wonder if anybody experience it also.
I get the milestone release 4 and run the test client, when test a put
method, I got the following error on the server.
Seems that the "revisionNumber" is trouble.
Does anybody know how to fix that?
Thanks
976574036014 - PUT on object /files
java.lang.NullPointerException
at
org.apache.slide.webdav.method.PutMethod.executeRequest(PutMethod.java:179)
at
org.apache.slide.webdav.method.WebdavMethod.run(WebdavMethod.java:318)
at
org.apache.slide.webdav.WebdavServlet.service(WebdavServlet.java:278)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:853)
Re: Put method problem
Posted by Remy Maucherat <re...@apache.org>.
> I wonder if anybody experience it also.
> I get the milestone release 4 and run the test client, when test a put
> method, I got the following error on the server.
> Seems that the "revisionNumber" is trouble.
> Does anybody know how to fix that?
When reporting a bug, it would be great if you also including the config
file you're using. It's not necessary here, but it could be really helpful
in other cases.
Here, what you're trying to do is do a PUT on an existing collection (well,
technically, on something which is considered to be a collection), which
right now is something I forgot to handle properly. Hopefully the patch I'll
commit in a few minutes will address this.
Remy