java.lang.AssertionError

JIRA | Sebastian Vidrio | 2 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Using cars dataset, attempting to add a new column using: cars$weights <- as.h2o(weights.vec) fails. Weights.vec is a vec of runif with values from 0 to 10. The java failure suggests that the column that is being added is string column but doesn't have type enum, therefore this line fails: assert (_type==T_ENUM && _domain!=null) || (_type!=T_ENUM && _domain==null); Java side log: 06-15 11:20:39.207 172.16.2.46:54321 67741 # Session INFO: Method: GET , URI: /3/Frames/file108a52fcd1f64_csv_3.hex_4, route: /3/Frames/(?<frameid>.*), parms: {frame_id=file108a52fcd1f64_csv_3.hex_4} 06-15 11:20:39.225 172.16.2.46:54321 67741 # Session INFO: Method: GET , URI: /99/Rapids/isEval, route: /99/Rapids/isEval, parms: {ast_key=cars_csv_1.hex_2} 06-15 11:20:39.254 172.16.2.46:54321 67741 # Session INFO: Method: GET , URI: /99/Rapids/isEval, route: /99/Rapids/isEval, parms: {ast_key=file108a52fcd1f64_csv_3.hex_4} 06-15 11:20:39.265 172.16.2.46:54321 67741 # Session INFO: Method: GET , URI: /99/Rapids/isEval, route: /99/Rapids/isEval, parms: {ast_key=subset_5} 06-15 11:20:39.296 172.16.2.46:54321 67741 # Session INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(= ([ %cars_csv_1.hex_2 () #8) %file108a52fcd1f64_csv_3.hex_4)} 06-15 11:20:39.361 172.16.2.46:54321 67741 # Session ERRR: java.lang.AssertionError 06-15 11:20:39.362 172.16.2.46:54321 67741 # Session WARN: Caught exception: java.lang.AssertionError; Stacktrace: [water.api.RapidsHandler.exec(RapidsHandler.java:132), sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method), sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57), sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43), java.lang.reflect.Method.invoke(Method.java:606), water.api.Handler.handle(Handler.java:56), water.api.RequestServer.handle(RequestServer.java:677), water.api.RequestServer.serve(RequestServer.java:614), water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438), java.lang.Thread.run(Thread.java:745)] java.lang.AssertionError at water.fvec.Vec.isEnum(Vec.java:199) at water.api.RapidsHandler.exec(RapidsHandler.java:92) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:606) at water.api.Handler.handle(Handler.java:56) at water.api.RequestServer.handle(RequestServer.java:677) at water.api.RequestServer.serve(RequestServer.java:614) at water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438) at java.lang.Thread.run(Thread.java:745) R side log: ERROR: Unexpected HTTP Status code: 412 Precondition Failed (url = http://127.0.0.1:54321/99/Rapids) water.exceptions.H2OIllegalArgumentException [1] "water.api.RapidsHandler.exec(RapidsHandler.java:132)" "sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)" [3] "sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)" "sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)" [5] "java.lang.reflect.Method.invoke(Method.java:606)" "water.api.Handler.handle(Handler.java:56)" [7] "water.api.RequestServer.handle(RequestServer.java:677)" "water.api.RequestServer.serve(RequestServer.java:614)" [9] "water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438)" "java.lang.Thread.run(Thread.java:745)"

    JIRA | 2 years ago | Sebastian Vidrio
    java.lang.AssertionError

    Root Cause Analysis

    1. java.lang.AssertionError

      No message provided

      at water.fvec.Vec.isEnum()
    2. water.fvec
      Vec.isEnum
      1. water.fvec.Vec.isEnum(Vec.java:199)
      1 frame
    3. water.api
      RapidsHandler.exec
      1. water.api.RapidsHandler.exec(RapidsHandler.java:92)
      1 frame
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:606)
      4 frames
    5. water.api
      RequestServer.serve
      1. water.api.Handler.handle(Handler.java:56)
      2. water.api.RequestServer.handle(RequestServer.java:677)
      3. water.api.RequestServer.serve(RequestServer.java:614)
      3 frames
    6. water
      NanoHTTPD$HTTPSession.run
      1. water.NanoHTTPD$HTTPSession.run(NanoHTTPD.java:438)
      1 frame
    7. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame