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

Stack Overflow | Renukaradhya | 2 months ago
  1. 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]
  2. 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)
  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

    GitHub comment 24#111864229

    GitHub | 1 year ago | dennis97519
    java.lang.IllegalArgumentException: Probability must be <= 1 but was Infinity
  6. 0

    Probability must be <= 1 but was Infinity

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

    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