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

NullPointerException when closing an already closed index #3601

Closed
lmenezes opened this issue Sep 2, 2013 · 0 comments
Closed

NullPointerException when closing an already closed index #3601

lmenezes opened this issue Sep 2, 2013 · 0 comments

Comments

@lmenezes
Copy link
Contributor

lmenezes commented Sep 2, 2013

not really an important issue, but:

curl -XPOST http://localhost:9200/foo
curl -XPOST http://localhost:9200/foo/_close
curl -XPOST http://localhost:9200/foo/_close

gives {"error":"NullPointerException[null]","status":500}

opening an already opened index works ok, with a {"ok":true,"acknowledged":true} so I guess I would expect something like that for the redundant close operation.

javanna added a commit to javanna/elasticsearch that referenced this issue Sep 2, 2013
@javanna javanna closed this as completed in 38be478 Sep 2, 2013
mute pushed a commit to mute/elasticsearch that referenced this issue Jul 29, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant