# MapperParsingException

**URL:** <https://discuss.elastic.co/t/mapperparsingexception/21083>\
**Category:** Elasticsearch\
**Created:** [December 4, 2014, 2:21pm UTC](https://discuss.elastic.co/t/mapperparsingexception/21083 "2014-12-04T14:21:40Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Stefan\_2](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Stefan\_2](https://discuss.elastic.co/u/Stefan_2)\
**Post date:** [December 4, 2014, 2:21pm UTC](https://discuss.elastic.co/t/mapperparsingexception/21083/1 "2014-12-04T14:21:40Z")

</div>

Hey!  
I am quite new to the ELK-Stack but what I have seen so far is awesome even  
if it's sometimes challenging for me! 😃

But I am facing a huge problem right now. The loglines often contain  
xml/soap messages and i want to filter them using the xml filter.

When doing so I sometimes get the following errormessage  
"org.elasticsearch.index.mapper.MapperParsingException: object mapping  
[someId] tr ying to serialize a value with no field associated with it,  
current value [ABC-A3C-XYZ].

Another example (the errormessage from the es log):

[2014-12-04 15:07:00,312][DEBUG][action.bulk] [Sludge] [  
logstash-2014.12.04][0] failed to execute bulk item (index) index {[logstash  
-2014.12.04][tomcat][Rg37kc1TQ8OD4jvhQwX0PQ], source[{"message":"01.12.2014  
11:10:03.117 [INFO] [.60-6180-exec-3] [abc/stgService] [x.y.z.stgService]

- Inbound Message ---------------------------- ID: 845 Address:  
[http://localhost:1234/test/testservice](http://localhost:1234/test/testservice) Encoding: ISO-8859-1 Http-Method:  
POST Content-Type: text/xml Headers: {connection=[close],  
Content-Length=[477], content-type=[text/xml]} Payload: \<?xml  
version="1.0" encoding="ISO-8859-1"?\> \<soapenv:Envelope  
xmlns:soapenv="[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)"  
xmlns:ser="[http://service.sc.test.testcompany.com/](http://service.sc.test.testcompany.com/)"\>soapenv:Bodyser:erzeugeServicenameAUK-CZX-U6Q1

890000NGN-6067\</ser:erzeugeServicename\>\</soapenv:Body\>\</soapenv:Envelope\>  
-------------------------------------- ","@version":"1","@timestamp":  
"2014-12-04T14:06:59.341Z","type":"tomcat","host":"FERI-PC-7-64","path":  
"C:\logstash-1.4.2\bin\hibernate.log","tags":["multiline","gsubed",  
"gsubed","Inbound Message"],"timestamp":"01.12.2014 11:10:03.117","loglevel"  
:"[INFO]","thread":"[.60-6180-exec-3]","service":"[abc/stgService]",  
"javaclass":"[x.y.z.stgService]","messagetype":"Inbound Message",  
"trennzeichen":"----------------------------","messageid":"ID: 845","url":"Address:  
[http://localhost:1234/test/testservice","codierung":"Encoding:](http://localhost:1234/test/testservice%22,%22codierung%22:%22Encoding:) ISO-8859-1",  
"httpmethode":"Http-Method: POST","contenttype":"Content-Type: text/xml",  
"headers":"Headers: {connection=[close], Content-Length=[477],  
content-type=[text/xml]}","xmlmsg":"\<?xml version="1.0"  
encoding="ISO-8859-1"?\> \<soapenv:Envelope  
xmlns:soapenv="[http://schemas.xmlsoap.org/soap/envelope/](http://schemas.xmlsoap.org/soap/envelope/)"  
xmlns:ser="[http://service.sc.test.testcompany.com/](http://service.sc.test.testcompany.com/)"\>soapenv:Bodyser:erzeugeServicenameAUK-CZX-U6Q1

890000NGN-6067\</ser:erzeugeServicename\>\</soapenv:Body\>\</soapenv:Envelope\>"  
,"greedydata":"-------------------------------------- ","parsedxml":{  
"xmlns:soapenv":"[http://schemas.xmlsoap.org/soap/envelope/","xmlns:ser](http://schemas.xmlsoap.org/soap/envelope/%22,%22xmlns:ser)":  
"[http://service.sc.test.testcompany.com/","Body":[{"erzeugeServicename](http://service.sc.test.testcompany.com/%22,%22Body%22:%5B%7B%22erzeugeServicename)":[{  
"ServicenameRequest":[{"ID":["AUK-CZX-U6Q"],"sbSOS":["1 890000"],  
"sbServicename":["NGN-6067"],"bbSOS":[{}],"bbServicename":[{}]}]}]}]}}]}  
org.elasticsearch.index.mapper.MapperParsingException: object mapping [sbSOS  
] trying to serialize a value with no field associated with it, current  
value [1 890000]  
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeValue(  
ObjectMapper.java:703)  
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper  
.java:500)  
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeValue(  
ObjectMapper.java:707)  
at org.elasticsearch.index.mapper.object.ObjectMapper.  
serializeNonDynamicArray(ObjectMapper.java:696)  
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeArray(  
ObjectMapper.java:605)  
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper  
.java:492)  
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(  
ObjectMapper.java:555)  
at org.elasticsearch.index.mapper.object.ObjectMapper.  
serializeNonDynamicArray(ObjectMapper.java:686)  
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeArray(  
ObjectMapper.java:605)  
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper  
.java:492)  
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(  
ObjectMapper.java:555)  
at org.elasticsearch.index.mapper.object.ObjectMapper.  
serializeNonDynamicArray(ObjectMapper.java:686)  
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeArray(  
ObjectMapper.java:605)  
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper  
.java:492)  
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(  
ObjectMapper.java:555)  
at org.elasticsearch.index.mapper.object.ObjectMapper.  
serializeNonDynamicArray(ObjectMapper.java:686)  
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeArray(  
ObjectMapper.java:605)  
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper  
.java:492)  
at org.elasticsearch.index.mapper.object.ObjectMapper.serializeObject(  
ObjectMapper.java:555)  
at org.elasticsearch.index.mapper.object.ObjectMapper.parse(ObjectMapper  
.java:490)  
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.  
java:541)  
at org.elasticsearch.index.mapper.DocumentMapper.parse(DocumentMapper.  
java:490)  
at org.elasticsearch.index.shard.service.InternalIndexShard.  
prepareCreate(InternalIndexShard.java:392)  
at org.elasticsearch.action.bulk.TransportShardBulkAction.  
shardIndexOperation(TransportShardBulkAction.java:444)  
at org.elasticsearch.action.bulk.TransportShardBulkAction.  
shardOperationOnPrimary(TransportShardBulkAction.java:150)  
at org.elasticsearch.action.support.replication.  
TransportShardReplicationOperationAction$AsyncShardOperationAction.  
performOnPrimary(TransportShardReplicationOperationAction.java:511)  
at org.elasticsearch.action.support.replication.  
TransportShardReplicationOperationAction$AsyncShardOperationAction$1.run(  
TransportShardReplicationOperationAction.java:419)  
at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.  
java:1145)  
at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor  
.java:615)  
at java.lang.Thread.run(Thread.java:745)

What do I do wrong?

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/f05ce4cb-457d-4cc7-8b0e-143efceb2faf%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/f05ce4cb-457d-4cc7-8b0e-143efceb2faf%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Stefan\_2](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Stefan\_2](https://discuss.elastic.co/u/Stefan_2)\
**Post date:** [December 5, 2014, 8:46am UTC](https://discuss.elastic.co/t/mapperparsingexception/21083/2 "2014-12-05T08:46:37Z")

</div>

Nobody can help the sad newbie how is trying to get an ELK-Stack running? ☹

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/20fd9d0e-da75-4973-8740-eb92e532c002%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/20fd9d0e-da75-4973-8740-eb92e532c002%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![Stefan\_2](https://avatars.discourse-cdn.com/v4/letter/s/e68b1a/32.png) [@Stefan\_2](https://discuss.elastic.co/u/Stefan_2)\
**Post date:** [December 11, 2014, 12:31pm UTC](https://discuss.elastic.co/t/mapperparsingexception/21083/3 "2014-12-11T12:31:41Z")

</div>

Hello EverySearcherbody! 😃

I just wanted to say that I didn't have those problems anymore because I am  
not using the xml filter anymore instead i now use another grok filter for  
this use-case.

--  
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](mailto:elasticsearch+unsubscribe@googlegroups.com).  
To view this discussion on the web visit [https://groups.google.com/d/msgid/elasticsearch/b95e4fd2-8584-41e6-aa10-5a7931545751%40googlegroups.com](https://groups.google.com/d/msgid/elasticsearch/b95e4fd2-8584-41e6-aa10-5a7931545751%40googlegroups.com).  
For more options, visit [https://groups.google.com/d/optout](https://groups.google.com/d/optout).

---

<div class="post-metadata">

**Author:** ![system](https://us1.discourse-cdn.com/elastic/original/3X/1/a/1ac57faf039f6b580b3f104ef42a2a89e41014de.png) [@system](https://discuss.elastic.co/u/system)\
**Post date:** [July 6, 2017, 12:44am UTC](https://discuss.elastic.co/t/mapperparsingexception/21083/4 "2017-07-06T00:44:11Z")

</div>


