java.lang.NoSuchMethodError: com.fasterxml.jackson.core.base.GeneratorBase.getOutputContext()Lcom/fasterxml/jackson/core/json/JsonWriteContext;

GitHub | agebhar1 | 7 months ago
tip
Do you know that we can give you better hits? Get more relevant results from Samebug’s stack trace search.
  1. 0

    Jackson 2.8.x dependency problem w/ Elasticsearch 2.3.x by managed dependencies of Spring Boot 1.4.0

    GitHub | 7 months ago | agebhar1
    java.lang.NoSuchMethodError: com.fasterxml.jackson.core.base.GeneratorBase.getOutputContext()Lcom/fasterxml/jackson/core/json/JsonWriteContext;

    Root Cause Analysis

    1. java.lang.NoSuchMethodError

      com.fasterxml.jackson.core.base.GeneratorBase.getOutputContext()Lcom/fasterxml/jackson/core/json/JsonWriteContext;

      at org.elasticsearch.common.xcontent.json.JsonXContentGenerator.writeEndRaw()
    2. ElasticSearch
      AbstractRunnable.run
      1. org.elasticsearch.common.xcontent.json.JsonXContentGenerator.writeEndRaw(JsonXContentGenerator.java:327)[elasticsearch-2.3.4.jar:2.3.4]
      2. org.elasticsearch.common.xcontent.json.JsonXContentGenerator.writeRawField(JsonXContentGenerator.java:368)[elasticsearch-2.3.4.jar:2.3.4]
      3. org.elasticsearch.common.xcontent.XContentBuilder.rawField(XContentBuilder.java:914)[elasticsearch-2.3.4.jar:2.3.4]
      4. org.elasticsearch.common.xcontent.XContentHelper.writeRawField(XContentHelper.java:378)[elasticsearch-2.3.4.jar:2.3.4]
      5. org.elasticsearch.search.internal.InternalSearchHit.toXContent(InternalSearchHit.java:476)[elasticsearch-2.3.4.jar:2.3.4]
      6. org.elasticsearch.search.internal.InternalSearchHits.toXContent(InternalSearchHits.java:184)[elasticsearch-2.3.4.jar:2.3.4]
      7. org.elasticsearch.search.internal.InternalSearchResponse.toXContent(InternalSearchResponse.java:111)[elasticsearch-2.3.4.jar:2.3.4]
      8. org.elasticsearch.action.search.SearchResponse.toXContent(SearchResponse.java:195)[elasticsearch-2.3.4.jar:2.3.4]
      9. org.elasticsearch.rest.action.support.RestStatusToXContentListener.buildResponse(RestStatusToXContentListener.java:43)[elasticsearch-2.3.4.jar:2.3.4]
      10. org.elasticsearch.rest.action.support.RestStatusToXContentListener.buildResponse(RestStatusToXContentListener.java:38)[elasticsearch-2.3.4.jar:2.3.4]
      11. org.elasticsearch.rest.action.support.RestStatusToXContentListener.buildResponse(RestStatusToXContentListener.java:30)[elasticsearch-2.3.4.jar:2.3.4]
      12. org.elasticsearch.rest.action.support.RestResponseListener.processResponse(RestResponseListener.java:43)[elasticsearch-2.3.4.jar:2.3.4]
      13. org.elasticsearch.rest.action.support.RestActionListener.onResponse(RestActionListener.java:49)[elasticsearch-2.3.4.jar:2.3.4]
      14. org.elasticsearch.action.support.TransportAction$1.onResponse(TransportAction.java:89)[elasticsearch-2.3.4.jar:2.3.4]
      15. org.elasticsearch.action.support.TransportAction$1.onResponse(TransportAction.java:85)[elasticsearch-2.3.4.jar:2.3.4]
      16. org.elasticsearch.action.search.SearchQueryThenFetchAsyncAction$2.doRun(SearchQueryThenFetchAsyncAction.java:138)[elasticsearch-2.3.4.jar:2.3.4]
      17. org.elasticsearch.common.util.concurrent.AbstractRunnable.run(AbstractRunnable.java:37)[elasticsearch-2.3.4.jar:2.3.4]
      17 frames
    3. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)[na:1.8.0_101]
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)[na:1.8.0_101]
      3. java.lang.Thread.run(Thread.java:745)[na:1.8.0_101]
      3 frames