RE: http client mismatch

2015-09-04 Thread Firas Khasawneh
, September 04, 2015 1:21 AM To: solr-user@lucene.apache.org Subject: Re: http client mismatch On 9/3/2015 11:04 PM, Shawn Heisey wrote: > It sounds like your code is trying to assign the result of the > createClient method to an object of type SystemDefaultHttpClient. > This is a derivativ

RE: http client mismatch

2015-09-04 Thread Firas Khasawneh
M To: solr-user@lucene.apache.org Subject: Re: http client mismatch On 9/3/2015 11:04 PM, Shawn Heisey wrote: > It sounds like your code is trying to assign the result of the > createClient method to an object of type SystemDefaultHttpClient. > This is a derivative type of CloseableHttp

Re: http client mismatch

2015-09-03 Thread Shawn Heisey
On 9/3/2015 11:04 PM, Shawn Heisey wrote: > It sounds like your code is trying to assign the result of the > createClient method to an object of type SystemDefaultHttpClient. This > is a derivative type of CloseableHttpClient. This would work if the > derivation were the other direction. > > The

Re: http client mismatch

2015-09-03 Thread Shawn Heisey
On 9/3/2015 8:11 PM, Firas Khasawneh wrote: > I am trying to use SolrHttpClient in solrj 5.3.0 but I am getting the > following execption: > > Caused by: java.lang.VerifyError: Bad return type > Exception Details: > Location: > > org/apache/solr/client/solrj/impl/HttpClientUtil.createClien