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

java.lang.NullPointerException: BulkRequestBuilder.java:67 #10

Open
andreikilin opened this issue Feb 14, 2017 · 1 comment
Open

java.lang.NullPointerException: BulkRequestBuilder.java:67 #10

andreikilin opened this issue Feb 14, 2017 · 1 comment

Comments

@andreikilin
Copy link

java.lang.NullPointerException: null at de.otto.flummi.request.BulkRequestBuilder.execute(BulkRequestBuilder.java:67) ~[flummi-5.0.25.1.jar:?]

response
{"took":167,"errors":false,"items":[{"index":{"_index":"salesorderindexes","_type":"salesorderindexes","_id":"AVo888uqYQNupmNJrA6f","_version":1,"result":"created","_shards":{"index":{"_index":"virtual1salesorderindexes","_type":"virtual1salesorderindexes","_id":"AVo888uqYQNupmNJrA8B","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"created":true,"status":201}},{"index":{"_index":"virtual1salesorderindexes","_type":"virtual1salesorderindexes","_id":"AVo888uqYQNupmNJrA8C","_version":1,"result":"created","_shards":{"total":2,"successful":1,"failed":0},"created":true,"status":201}}]}

flummi-5.0.25.1.jar, elastic 5.2

Please check #8 again

@micharegel
Copy link
Contributor

I can't reproduce the NullpointerException. The response json You provide ist not in a valid json format. So I get a com.google.gson.JsonSyntaxException. Please post a valid response or send us a pullrequest for the bugfix with unit test.

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

2 participants