Elasticsearch.index.mapper.MapperParsingException: object mapping for [article] tried to parse as object, but got EOF, has a concrete value been provided to it?

Hello,
i'm trying to index xml document in elasticsearch after convert it to json
but i have this error
Please, i need help, is there someone who has any idea.
Thanks in advance.

This's an example of json document:

{"Nserver":{"State":"stopped","ErrorDescription":"Success","ErrorID":{"content":0,"Type":"Status"},"ID":"1ca6bc24-43f2-4eb1-bb5a-1ba62cd8bbe5","Results":{"nfinder":{"Name":"nfinder","nfExtract":{"ExtractedTerm":{"Weight":83,"ConfidenceScore":55,"RelevancyScore":83,"ClientNormalized":"","Frequency":1,"Subterms":{"Subterm":{"content":"Zambia","Candidate":0,"Length":6,"Position":74}},"MainTerm":"Zambia","CartridgeID":"GL","nfinderNormalized":"Zambia"}}},"NSentiment":{"Name":"NSentiment","DocumentLevel":{"Subjectivity":{"content":"fact","score":18.944417485216878,"distribution":0},"NegativeTone":{"score":0,"distribution":0},"PositiveTone":{"score":0,"distribution":0},"Tone":"neutral"},"SentenceLevel":{"Sentence":{"Subjectivity":{"content":"fact","score":9.76427339897163},"Text":{"content":"XH
Jiangsu Etern(600105.SH) gets substation contract worth USD26.07mln in
Zambia
","end":82,"begin":0},"NegativeTone":{"score":0},"PositiveTone":{"score":0},"Tone":"neutral"}}},"nconceptextractor":{"Name":"nconceptextractor","SimpleConcepts":{"Concept":"NO
SIMPLE CONCEPTS"},"ComplexConcepts":{"Concept":{"content":"substation
contract worth","Relevancy":95,"Frequency":1}}}},"Version":3,"TextID":""}}


Error:

java.lang.RuntimeException:
org.elasticsearch.index.mapper.MapperParsingException: object mapping for
[article] tried to parse as object, but got EOF, has a concrete value been
provided to it?
at
backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:84)
at
backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:55)
at
backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:56)
at
backtype.storm.disruptor$consume_loop_STAR_$fn__1597.invoke(disruptor.clj:67)
at backtype.storm.util$async_loop$fn__465.invoke(util.clj:377)
at clojure.lang.AFn.run(AFn.java:24)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.index.mapper.MapperParsingException: object
mapping for [article] tried to parse as object, but got EOF, has a concrete
value been provided to it?
at
org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:467)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:515)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:462)
at
org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:384)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:203)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:556)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:426)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more
95388 [Thread-25] ERROR backtype.storm.daemon.executor -
java.lang.RuntimeException:
org.elasticsearch.index.mapper.MapperParsingException: object mapping for
[article] tried to parse as object, but got EOF, has a concrete value been
provided to it?
at
backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:84)
at
backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:55)
at
backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:56)
at
backtype.storm.disruptor$consume_loop_STAR_$fn__1597.invoke(disruptor.clj:67)
at backtype.storm.util$async_loop$fn__465.invoke(util.clj:377)
at clojure.lang.AFn.run(AFn.java:24)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.index.mapper.MapperParsingException: object
mapping for [article] tried to parse as object, but got EOF, has a concrete
value been provided to it?
at
org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:467)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:515)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:462)
at
org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:384)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:203)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:556)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:426)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more
95414 [Thread-25] INFO backtype.storm.util - Halting process: ("Worker
died")

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/4679e52f-de8e-49da-918b-ee7ae013c366%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

+1

I encounter similar exceptions. @Ali, did you found the cause of this?

On Saturday, October 25, 2014 at 1:03:20 AM UTC+3, ALI BEN ABDALLAH wrote:

Hello,
i'm trying to index xml document in elasticsearch after convert it to
json but i have this error
Please, i need help, is there someone who has any idea.
Thanks in advance.

This's an example of json document:

{"Nserver":{"State":"stopped","ErrorDescription":"Success","ErrorID":{"content":0,"Type":"Status"},"ID":"1ca6bc24-43f2-4eb1-bb5a-1ba62cd8bbe5","Results":{"nfinder":{"Name":"nfinder","nfExtract":{"ExtractedTerm":{"Weight":83,"ConfidenceScore":55,"RelevancyScore":83,"ClientNormalized":"","Frequency":1,"Subterms":{"Subterm":{"content":"Zambia","Candidate":0,"Length":6,"Position":74}},"MainTerm":"Zambia","CartridgeID":"GL","nfinderNormalized":"Zambia"}}},"NSentiment":{"Name":"NSentiment","DocumentLevel":{"Subjectivity":{"content":"fact","score":18.944417485216878,"distribution":0},"NegativeTone":{"score":0,"distribution":0},"PositiveTone":{"score":0,"distribution":0},"Tone":"neutral"},"SentenceLevel":{"Sentence":{"Subjectivity":{"content":"fact","score":9.76427339897163},"Text":{"content":"XH
Jiangsu Etern(600105.SH) gets substation contract worth USD26.07mln in
Zambia
","end":82,"begin":0},"NegativeTone":{"score":0},"PositiveTone":{"score":0},"Tone":"neutral"}}},"nconceptextractor":{"Name":"nconceptextractor","SimpleConcepts":{"Concept":"NO
SIMPLE CONCEPTS"},"ComplexConcepts":{"Concept":{"content":"substation
contract worth","Relevancy":95,"Frequency":1}}}},"Version":3,"TextID":""}}


Error:

java.lang.RuntimeException:
org.elasticsearch.index.mapper.MapperParsingException: object mapping for
[article] tried to parse as object, but got EOF, has a concrete value been
provided to it?
at
backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:84)
at
backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:55)
at
backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:56)
at
backtype.storm.disruptor$consume_loop_STAR_$fn__1597.invoke(disruptor.clj:67)
at backtype.storm.util$async_loop$fn__465.invoke(util.clj:377)
at clojure.lang.AFn.run(AFn.java:24)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.index.mapper.MapperParsingException: object
mapping for [article] tried to parse as object, but got EOF, has a concrete
value been provided to it?
at
org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:467)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:515)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:462)
at
org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:384)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:203)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:556)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:426)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more
95388 [Thread-25] ERROR backtype.storm.daemon.executor -
java.lang.RuntimeException:
org.elasticsearch.index.mapper.MapperParsingException: object mapping for
[article] tried to parse as object, but got EOF, has a concrete value been
provided to it?
at
backtype.storm.utils.DisruptorQueue.consumeBatchToCursor(DisruptorQueue.java:84)
at
backtype.storm.utils.DisruptorQueue.consumeBatchWhenAvailable(DisruptorQueue.java:55)
at
backtype.storm.disruptor$consume_batch_when_available.invoke(disruptor.clj:56)
at
backtype.storm.disruptor$consume_loop_STAR_$fn__1597.invoke(disruptor.clj:67)
at backtype.storm.util$async_loop$fn__465.invoke(util.clj:377)
at clojure.lang.AFn.run(AFn.java:24)
at java.lang.Thread.run(Thread.java:745)
Caused by: org.elasticsearch.index.mapper.MapperParsingException: object
mapping for [article] tried to parse as object, but got EOF, has a concrete
value been provided to it?
at
org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper.java:467)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:515)
at
org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.java:462)
at
org.elasticsearch.index.shard.service.InternalIndexShard.prepareIndex(InternalIndexShard.java:384)
at
org.elasticsearch.action.index.TransportIndexAction.shardOperationOnPrimary(TransportIndexAction.java:203)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction.performOnPrimary(TransportShardReplicationOperationAction.java:556)
at
org.elasticsearch.action.support.replication.TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(TransportShardReplicationOperationAction.java:426)
at
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145)
at
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615)
... 1 more
95414 [Thread-25] INFO backtype.storm.util - Halting process: ("Worker
died")

--
You received this message because you are subscribed to the Google Groups "elasticsearch" group.
To unsubscribe from this group and stop receiving emails from it, send an email to elasticsearch+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/elasticsearch/26a9e0a3-75e1-47fe-ba4d-7c1e68aa6801%40googlegroups.com.
For more options, visit https://groups.google.com/d/optout.