[prev in list] [next in list] [prev in thread] [next in thread] 

List:       slide-dev
Subject:    RE: Bug with webdav delete
From:       "Andreas Probst" <andpro77 () gmx ! net>
Date:       2003-01-17 17:21:28
[Download RAW message or body]

On 17 Jan 2003 at 14:46, Pill, Juergen wrote:

> Hello Andreas,
> 
> Could you please retest. The response stream was obviously NULL
> in your environment. I could not reproduce the problem. Anyway
> the NPE should not occur any more.

The NPE is gone, thanks a lot.

Andreas

> 
> Best regards,
> 
> Juergen
> 
> 
> 
>  -----Original Message-----
> From: 	Andreas Probst [mailto:andpro77@gmx.net] 
> Sent:	Thursday, January 16, 2003 13.55 PM
> To:	Slide Developers Mailing List
> Subject:	Bug with webdav delete
> 
> Hi Sliders,
> 
> deleting from the client side causes a Null-Pointer-Exception
> (see below).
> 
> Uri: full extern URI of the resource which to delete
> WebdavResource.setPath to the Uri
> Call WebdavResource.deleteMethod(Uri).
> 
> The resource gets deleted, but an Exception is thrown. I tried to
> look into the code of commons httpclient but didn't really see
> the bug.
> 
> Andreas
> 
> 
> java.lang.NullPointerException
>  at 
> org.apache.webdav.lib.methods.XMLResponseMethodBase.readResponseB
> ody(XMLResponseMethodBase.java:212)
>  at 
> org.apache.commons.httpclient.HttpMethodBase.readResponse(HttpMet
> hodBase.java:1610)
>  at 
> org.apache.commons.httpclient.HttpMethodBase.processRequest(HttpM
> ethodBase.java:2264)
>  at 
> org.apache.commons.httpclient.HttpMethodBase.execute(HttpMethodBa
> se.java:862)
>  at 
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient
> .java:574)
>  at 
> org.apache.commons.httpclient.HttpClient.executeMethod(HttpClient
> .java:493)
>  at 
> org.apache.webdav.lib.WebdavResource.deleteMethod(WebdavResource.
> java:3390)
> 
> 
> --
> To unsubscribe, e-mail:  
> <mailto:slide-dev-unsubscribe@jakarta.apache.org> For additional
> commands, e-mail: <mailto:slide-dev-help@jakarta.apache.org>
> 
> --
> To unsubscribe, e-mail:  
> <mailto:slide-dev-unsubscribe@jakarta.apache.org> For additional
> commands, e-mail: <mailto:slide-dev-help@jakarta.apache.org>
> 



--
To unsubscribe, e-mail:   <mailto:slide-dev-unsubscribe@jakarta.apache.org>
For additional commands, e-mail: <mailto:slide-dev-help@jakarta.apache.org>

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic