Exception caused by default cookie policy

While getting an issue using the IssueRestClient, the returned promise has an exception that says “java.util.concurrent.CompletionException: java.lang.RuntimeException: org.apache.http.HttpException: Unsupported cookie policy: default”

Has anyone come across the problem?

I am using Eclipse and is this related to a missing configuration ?