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

POST on _mapping endpoint fails with NPE #8301

Closed
jprante opened this issue Oct 31, 2014 · 2 comments
Closed

POST on _mapping endpoint fails with NPE #8301

jprante opened this issue Oct 31, 2014 · 2 comments
Labels

Comments

@jprante
Copy link
Contributor

jprante commented Oct 31, 2014

ES 1.3.4

The following command makes not much sense, but it fails with an NPE.

POST /alias/type/_mapping

Result

{
   "error": "RemoteTransportException[[Kierrok][inet[/10.3.2.31:19300]][indices/mapping/put]]; nested: NullPointerException; ",
   "status": 500
}

where alias is an index alias.

No error in the server logs.

@clintongormley
Copy link

The same thing happens with an index instead of an alias. The NPE seems to come from the missing body.

@rjernst
Copy link
Member

rjernst commented Oct 31, 2014

This was fixed in #7618 and is in 1.4.

@rjernst rjernst closed this as completed Oct 31, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

3 participants