Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

NullReferenceException then using Elasticsearch.Net.Connection.HttpClientConnection #953

Closed
maximpashuk opened this issue Sep 18, 2014 · 1 comment

Comments

@maximpashuk
Copy link

I am already using version NEST 1.1.1 and Elasticsearch.Net.Connection.HttpClientConnection 1.1.1

Conditions to receive NullReferenceException:

  1. EnableCompressedResponses() in settings (support for HttpClient was added in EnableCompressedResponses has no effect on HttpClient connection #947)
  2. Call Refresh() method in ElasticClient

Probably this issue has some relations with previously fixed issue #562.

@Mpdreamz
Copy link
Member

Thank you @maximpashuk for reporting this and connecting it to that refresh issue #562

We are working on redoing our complete testing infrastructure so we can get a better test matrix going with all the IConnections/Serializers as well as being more in control as to the cluster we test against during integration tests.

The way its set up now we only test the HttpConnection extensively, that needs to change.

Mpdreamz added a commit that referenced this issue Oct 6, 2014
…d the response stream, also added missing Accept-Encoding headers
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants