java.lang.IllegalArgumentException: The number of object passed must be even but was [1]

Stack Overflow | Renukaradhya | 4 months ago
  1. 0

    Elastic Search : Got java.lang.IllegalArgumentException: The number of object passed must be even but was [1]

    Stack Overflow | 4 months ago | Renukaradhya
    java.lang.IllegalArgumentException: The number of object passed must be even but was [1]
  2. 0

    Elastic Search number of object passed must be even

    Stack Overflow | 5 months ago | Juan
    java.lang.IllegalArgumentException: The number of object passed must be even but was [1] at org.elasticsearch.action.index.IndexRequest.source(IndexRequest.java:451)
  3. 0
    samebug tip
    Some bots are sending malformed HTTP requests to your site. Try to find their IP addresses in the access logs and ask them to fix the bots or blacklist them.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    samebug tip
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      The number of object passed must be even but was [1]

      at org.elasticsearch.action.index.IndexRequest.source()
    2. ElasticSearch
      IndexRequestBuilder.setSource
      1. org.elasticsearch.action.index.IndexRequest.source(IndexRequest.java:451)
      2. org.elasticsearch.action.index.IndexRequestBuilder.setSource(IndexRequestBuilder.java:186)
      2 frames
    3. org.apache.kafka
      WorkerTask.doRun
      1. org.apache.kafka.connect.elasticsearchschema.ElasticsearchSinkTask.put(ElasticsearchSinkTask.java:138)
      2. org.apache.kafka.connect.runtime.WorkerSinkTask.deliverMessages(WorkerSinkTask.java:381)
      3. org.apache.kafka.connect.runtime.WorkerSinkTask.poll(WorkerSinkTask.java:227)
      4. org.apache.kafka.connect.runtime.WorkerSinkTask.iteration(WorkerSinkTask.java:170)
      5. org.apache.kafka.connect.runtime.WorkerSinkTask.execute(WorkerSinkTask.java:142)
      6. org.apache.kafka.connect.runtime.WorkerTask.doRun(WorkerTask.java:140)
      6 frames