java.lang.IllegalArgumentException: The number of object passed must be even but was [1] at org.elasticsearch.action.index.IndexRequest.source(IndexRequest.java:451)

Stack Overflow | Juan | 5 months ago
  1. 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)
  2. 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]
  3. 0
    This error is caused by malformed HTTP request. You are trying to access unsecured page through https.
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0
    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.

    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(IndexRequest.java:451)

      at elastic.elasti.App.lambda$0()
    2. elastic.elasti
      App.lambda$0
      1. elastic.elasti.App.lambda$0(App.java:55)
      1 frame
    3. Java RT
      ArrayList.forEach
      1. java.util.ArrayList.forEach(ArrayList.java:1249)
      1 frame
    4. elastic.elasti
      App.main
      1. elastic.elasti.App.indexExampleData(App.java:53)
      2. elastic.elasti.App.main(App.java:45)
      2 frames