java.lang.AssertionError

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • 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)"
    via by Sebastian Vidrio,
    • 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)
    No Bugmate found.