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 | 3 months ago
  1. 0

    Elastic Search number of object passed must be even

    Stack Overflow | 3 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 | 2 months ago | Renukaradhya
    java.lang.IllegalArgumentException: The number of object passed must be even but was [1]
  3. 0

    1. load any data 2. select `Data > Impute` 3. Follow wizard - select frame, column and method, submit the form 4. enjoy the error: {noformat} -122 ERRR: java.lang.IllegalArgumentException: Incorrect number of arguments; 'h2o.impute' expects 8 but was passed 6 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.ASTExec.exec(ASTExec.java:44) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.ASTAssign.apply(ASTAssign.java:18) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.ASTAssign.apply(ASTAssign.java:11) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.ASTExec.exec(ASTExec.java:46) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.Session.exec(Session.java:56) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.rapids.Exec.exec(Exec.java:63) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.api.RapidsHandler.exec(RapidsHandler.java:25) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at java.lang.reflect.Method.invoke(Method.java:606) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.api.Handler.handle(Handler.java:62) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.api.RequestServer.handle(RequestServer.java:655) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.api.RequestServer.serve(RequestServer.java:596) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doGeneric(JettyHTTPD.java:745) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at water.JettyHTTPD$H2oDefaultServlet.doPost(JettyHTTPD.java:681) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:755) 07-12 17:36:35.937 127.0.0.1:54321 5786 #6567-122 ERRR: at javax.servlet.http.HttpServlet.service(HttpServlet.java:848) {noformat}

    JIRA | 5 months ago | Michal Malohlava
    java.lang.IllegalArgumentException: Incorrect number of arguments; 'h2o.impute' expects 8 but was passed 6
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Probability must be <= 1 but was Infinity

    GitHub | 2 years ago | jpzk
    java.lang.reflect.InvocationTargetException
  6. 0

    GitHub comment 24#158680581

    GitHub | 1 year ago | jakub-kudela
    java.lang.IllegalArgumentException: Probability must be <= 1 but was Infinity

    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