Skip to content

Instantly share code, notes, and snippets.

@t-cyrill
Created January 30, 2014 02:42
Show Gist options
  • Save t-cyrill/8701636 to your computer and use it in GitHub Desktop.
Save t-cyrill/8701636 to your computer and use it in GitHub Desktop.
ElasticSearch NullPointerException
[DEBUG][action.admin.indices.mapping.put] ...
java.lang.NullPointerException
at org.elasticsearch.common.xcontent.XContentFactory.xContent(XContentFactory.java:110)
at org.elasticsearch.common.xcontent.XContentHelper.convertToMap(XContentHelper.java:113)
at org.elasticsearch.common.xcontent.XContentHelper.convertToMap(XContentHelper.java:101)
at org.elasticsearch.index.mapper.DocumentMapperParser.parseCompressed(DocumentMapperParser.java:175)
at org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:322)
at org.elasticsearch.index.mapper.MapperService.parse(MapperService.java:318)
at org.elasticsearch.cluster.metadata.MetaDataMappingService$5.execute(MetaDataMappingService.java:533)
at org.elasticsearch.cluster.service.InternalClusterService$UpdateTask.run(InternalClusterService.java:300)
at org.elasticsearch.common.util.concurrent.PrioritizedEsThreadPoolExecutor$TieBreakingPrioritizedRunnable.run(PrioritizedEsThreadPoolExecutor.java:135)
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment