You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@hc.apache.org by bu...@apache.org on 2003/08/28 21:17:42 UTC
DO NOT REPLY [Bug 22800] New: -
Crashes when it gets a redirect
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22800>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=22800
Crashes when it gets a redirect
Summary: Crashes when it gets a redirect
Product: Commons
Version: Nightly Builds
Platform: PC
URL: http://www.ibiblio.org/maven/
OS/Version: Windows NT/2K
Status: NEW
Severity: Major
Priority: Other
Component: HttpClient
AssignedTo: commons-httpclient-dev@jakarta.apache.org
ReportedBy: ajack@trysybase.com
I get the following crash when VFS (not my code) calls HttpClient. This code
worked with some older version of HttpClient (is my belief) but doesn't appear
to work with CVS HEAD, hence this posting.
Note: I'm sorry, but I don't know which Method it was calling, but hopefully a
redirect is a redirect and the bug stands irrespective of that.
This is major to me (and Ruper) 'cos it is the first thing it does before
attempting to read the contents of that location.
regards,
Adam
java.lang.NullPointerException
at
org.apache.commons.httpclient.HttpMethodDirector.processRedirectResponse
(HttpMethodDirector.java:454)
at org.apache.commons.httpclient.HttpMethodDirector.isRetryNeeded
(HttpMethodDirector.java:639)
at org.apache.commons.httpclient.HttpMethodDirector.executeMethod
(HttpMethodDirector.java:145)
at org.apache.commons.httpclient.HttpClient.executeMethod
(HttpClient.java:378)
at org.apache.commons.httpclient.HttpClient.executeMethod
(HttpClient.java:268