Thanks.

But it seems to be a different case. I've checked the bug report and it's about "Domain.java" (I supposed this class is in the server). Here I get the NPE in Client.java (at the client side)....

Looking at the source I've noticed that the webdavResource object was null, and this is the reason of the NPE.

So, to run an options command against Slide-server the connection must be opened. If open is not done before, a NullPointerException is thrown.

NOTE to the developers: Maybe a "friendly" error message (connection not available, not yet connected....) to put newbie users on the road.


En/na Darren Hartford ha escrit:
I'm not sure, but maybe one of the devs may know if this is related to
http://issues.apache.org/bugzilla/show_bug.cgi?id=36551 , which already
has a patch?
-D
-----Original Message-----
From: Juan Fuentes [mailto:[EMAIL PROTECTED] Sent: Tuesday, March 07, 2006 7:42 AM
To: [email protected]
Subject: NPE within slide-webdavclient (2.1)

When trying WebDAVClient from slide-2.1, I get a NullPointerException when running "options". Other commands work right, but options:


c:\java\SLIDE\jakarta-slide-webdavclient-bin-2.1\bin>run
[ Slide ] $ options http://localhost:8080/slide
options http://localhost:8080/slide
Fatal Error: null
java.lang.NullPointerException
         at org.apache.webdav.cmd.Client.options(Client.java:374)
at org.apache.webdav.cmd.ClientParser.optionsmethod(ClientParser.java:73
5)
at org.apache.webdav.cmd.ClientParser.command(ClientParser.java:256) at org.apache.webdav.cmd.ClientParser.commands(ClientParser.java:178)
         at org.apache.webdav.cmd.Client.run(Client.java:112)
         at org.apache.webdav.cmd.Slide.main(Slide.java:96)
Please, email to [email protected]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to