Hi Roland, This is what I get with method.setFollowRedirects(false); [HttpClient.executeMethod()] Exception occurred handling method [POST] to URL [https://registration.ft.com/registration/barrier]: [null]
*java.lang.NullPointerException * EXC LogLine: 1 at:HttpConnection.java.open line:720 EXC LogLine: 2 at:HttpMethodDirector.java.executeWithRetry line:386 EXC LogLine: 3 at:HttpMethodDirector.java.executeMethod line:170 EXC LogLine: 4 at:HttpClient.java.executeMethod line:396 EXC LogLine: 5 at:HttpClient.java.executeMethod line:324 and this is what I get with method.setFollowRedirects(true); [HttpClient.executeMethod()] Exception occurred handling method [POST] to URL [https://registration.ft.com/registration/barrier]: [Entity enclosing requests cannot be redirected without user intervention] *java.lang.IllegalArgumentException*: Entity enclosing requests cannot be redirected without user intervention EXC LogLine: 1 at:EntityEnclosingMethod.java.setFollowRedirects line:221 EXC LogLine: 2 at:HttpClient.java.executeMethod line:287 thanks, Yona. On 12/10/06, Roland Weber <[EMAIL PROTECTED]> wrote:
Hello Yona, > but the combination https post crashes! If the JVM crashes, please report a bug to whoever provides the JVM (SUN, IBM, blackdown,...). If the JVM does not crash, please provide a better description of the faulty behavior. You could also send us a wire log of the failing session, and possibly of a succeeding one too (POST with plain HTTP): http://jakarta.apache.org/commons/httpclient/logging.html cheers, Roland --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
