# Error : java.lang.NoSuchFieldError: FAIL\_ON\_SYMBOL\_HASH\_OVERFLOW

**URL:** <https://discuss.elastic.co/t/error-java-lang-nosuchfielderror-fail-on-symbol-hash-overflow/44759>\
**Category:** Elasticsearch\
**Created:** [March 17, 2016, 6:58pm UTC](https://discuss.elastic.co/t/error-java-lang-nosuchfielderror-fail-on-symbol-hash-overflow/44759 "2016-03-17T18:58:03Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![nitin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nitin/32/20151_2.png) [@nitin](https://discuss.elastic.co/u/nitin)\
**Post date:** [March 17, 2016, 6:58pm UTC](https://discuss.elastic.co/t/error-java-lang-nosuchfielderror-fail-on-symbol-hash-overflow/44759/1 "2016-03-17T18:58:03Z")

</div>

Hi,  
I am getting following error on doing contentBuilder = XContentFactory.jsonBuilder().startObject().prettyPrint();

java.lang.NoSuchFieldError: FAIL\_ON\_SYMBOL\_HASH\_OVERFLOW  
at org.elasticsearch.common.xcontent.json.JsonXContent.(JsonXCon  
tent.java:49)  
at org.elasticsearch.common.xcontent.XContentFactory.contentBuilder(XCon  
tentFactory.java:122)  
at org.elasticsearch.common.xcontent.XContentFactory.jsonBuilder(XConten  
tFactory.java:49)

Please help me.

---

<div class="post-metadata">

**Author:** ![jasontedor](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/jasontedor/32/66992_2.png) [@jasontedor](https://discuss.elastic.co/u/jasontedor)\
**Post date:** [March 17, 2016, 7:31pm UTC](https://discuss.elastic.co/t/error-java-lang-nosuchfielderror-fail-on-symbol-hash-overflow/44759/2 "2016-03-17T19:31:23Z")

</div>

I think that you have conflicting versions of Jackson on your classpath (the dreaded JAR hell). Please ensure that you have the versions of Jackson that Elasticsearch depends on, and that you don't have any conflicting versions.

---

<div class="post-metadata">

**Author:** ![PriyaRajan](https://avatars.discourse-cdn.com/v4/letter/p/eada6e/32.png) [@PriyaRajan](https://discuss.elastic.co/u/PriyaRajan)\
**Post date:** [August 25, 2016, 11:44am UTC](https://discuss.elastic.co/t/error-java-lang-nosuchfielderror-fail-on-symbol-hash-overflow/44759/3 "2016-08-25T11:44:16Z")

</div>

Hi Nitin, Have you got answer for this issue? Me too facing same problem? What did you do to resolve this?

---

<div class="post-metadata">

**Author:** ![ywelsch](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/ywelsch/32/7751_2.png) [@ywelsch](https://discuss.elastic.co/u/ywelsch)\
**Post date:** [August 25, 2016, 12:55pm UTC](https://discuss.elastic.co/t/error-java-lang-nosuchfielderror-fail-on-symbol-hash-overflow/44759/4 "2016-08-25T12:55:56Z")

</div>

last comment was solved here:

[https://discuss.elastic.co/t/elasticsearch-nosuchfielderror/?source\_topic\_id=44759](https://discuss.elastic.co/t/elasticsearch-nosuchfielderror/?source_topic_id=44759)

---

<div class="post-metadata">

**Author:** ![nitin](https://sea2.discourse-cdn.com/elastic/user_avatar/discuss.elastic.co/nitin/32/20151_2.png) [@nitin](https://discuss.elastic.co/u/nitin)\
**Post date:** [August 25, 2016, 4:09pm UTC](https://discuss.elastic.co/t/error-java-lang-nosuchfielderror-fail-on-symbol-hash-overflow/44759/5 "2016-08-25T16:09:21Z")

</div>

Man that escalated quickly 😃  
I also had multiple versions of jackson. Removing older version helped.

---

<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 5, 2017, 10:25pm UTC](https://discuss.elastic.co/t/error-java-lang-nosuchfielderror-fail-on-symbol-hash-overflow/44759/6 "2017-07-05T22:25:11Z")

</div>


