[ 
https://issues.apache.org/jira/browse/HTTPCORE-353?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Oleg Kalnichevski resolved HTTPCORE-353.
----------------------------------------

       Resolution: Fixed
    Fix Version/s: 4.3.1

Fixed in SVN trunk.

Oleg

> Http Client may throw an IllegalArgumentException with certain cookies
> ----------------------------------------------------------------------
>
>                 Key: HTTPCORE-353
>                 URL: https://issues.apache.org/jira/browse/HTTPCORE-353
>             Project: HttpComponents HttpCore
>          Issue Type: Bug
>          Components: HttpCore
>    Affects Versions: 4.3
>            Reporter: Sebastiano Vigna
>            Priority: Minor
>             Fix For: 4.3.1
>
>
> During a crawl of the EU web we got this exception:
> 2013-10-03 00:06:16,495 26567121 ERROR [FetchingThread-1927] 
> i.u.d.l.b.f.FetchingThread - Unexpected exception
> java.lang.IllegalArgumentException: Host may not be blank
>         at org.apache.http.util.Args.notBlank(Args.java:68) 
> ~[httpcore.jar:4.3]
>         at org.apache.http.cookie.CookieOrigin.<init>(CookieOrigin.java:50) 
> ~[httpclient.jar:4.3]
>         at 
> org.apache.http.client.protocol.RequestAddCookies.process(RequestAddCookies.java:141)
>  ~[httpclient.jar:4.3]
>         at 
> org.apache.http.protocol.ImmutableHttpProcessor.process(ImmutableHttpProcessor.java:131)
>  ~[httpcore.jar:4.3]
>         at 
> org.apache.http.impl.execchain.ProtocolExec.execute(ProtocolExec.java:192) 
> ~[httpclient.jar:4.3]
>         at 
> org.apache.http.impl.execchain.RetryExec.execute(RetryExec.java:85) 
> ~[httpclient.jar:4.3]
>         at 
> org.apache.http.impl.execchain.RedirectExec.execute(RedirectExec.java:108) 
> ~[httpclient.jar:4.3]
>         at 
> org.apache.http.impl.client.InternalHttpClient.doExecute(InternalHttpClient.java:186)
>  ~[httpclient.jar:4.3]
>         at 
> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:72)
>  ~[httpclient.jar:4.3]
>         at 
> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:214)
>  ~[httpclient.jar:4.3]
>         at 
> org.apache.http.impl.client.CloseableHttpClient.execute(CloseableHttpClient.java:185)
>  ~[httpclient.jar:4.3]
>         at it.unimi.di.law.bubing.util.FetchData.fetch(FetchData.java:308) 
> ~[bubing-2.1.jar:na]
> Apparently some poisoned Cookie caused a mistake in the parsing process. 
> Unfortunately due to the level of logging we are using we have no way to know 
> which Cookie caused the problem, but maybe this rings a bell.



--
This message was sent by Atlassian JIRA
(v6.1#6144)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to