Jerry Chin created HTTPCLIENT-1905:

             Summary: Cookie without domain causes NPE
                 Key: HTTPCLIENT-1905
             Project: HttpComponents HttpClient
          Issue Type: Bug
          Components: HttpClient (classic)
    Affects Versions: 4.5.3
            Reporter: Jerry Chin

Long story short:

The default cookie spec implementation is assuming that domain field is 
non-null, but it's actually an optional attribute for BasicClientCookie, thus a 
NPE is thrown.

The problem has been discussed before (null domains break, not 
sure why it's not get merged, and a [question 
 on stack-overflow regarding this problem has 20k+ views.

Can someone fix this?


This message was sent by Atlassian JIRA

To unsubscribe, e-mail:
For additional commands, e-mail:

Reply via email to