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.

  • H2O GBM Tuning Tutorial - rbinding error
    via by Unknown author,
  • Creating a union of the dataset with itself using h2o.rbind fails with a conversion error {code} 08-02 16:37:43.595 127.0.0.1:54321 12416 #99666-19 INFO: Method: POST , URI: /99/Rapids, route: /99/Rapids, parms: {ast=(tmp= RTMP_sid_8583_81 (rbind RTMP_sid_8583_80 RTMP_sid_8583_80)), session_id=_sid_8583} 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: java.lang.AssertionError: Input chunk (class water.fvec.C0DChunk) has float, but is expected to be categorical 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at water.rapids.ASTRBind$RbindMRTask.map(ASTColSlice.java:434) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at water.MRTask.compute2(MRTask.java:627) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at water.MRTask.compute2(MRTask.java:585) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at water.MRTask.compute2(MRTask.java:585) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at water.MRTask.compute2(MRTask.java:585) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at water.H2O$H2OCountedCompleter.compute1(H2O.java:1197) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at water.rapids.ASTRBind$RbindMRTask$Icer.compute1(ASTRBind$RbindMRTask$Icer.java) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at water.H2O$H2OCountedCompleter.compute(H2O.java:1193) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at jsr166y.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:914) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:979) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) 08-02 16:37:43.599 127.0.0.1:54321 12416 #99666-19 ERRR: at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) {code} here is how the bug was created using R {code} abt_dataset$machine_id <- as.factor(abt_dataset$machine_id) > dim(abt_dataset) [1] 8694 89 > str(abt_dataset) Class 'H2OFrame' <environment: 0x0000000019058240> - attr(*, "op")= chr ":=" - attr(*, "eval")= logi TRUE - attr(*, "id")= chr "RTMP_sid_8583_79" - attr(*, "nrow")= int 8694 - attr(*, "ncol")= int 89 - attr(*, "types")=List of 89 ..$ : chr "enum" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "int" - attr(*, "data")='data.frame': 10 obs. of 89 variables: ..$ machine_id : Factor w/ 13 levels "10291","10514",..: 1 1 1 1 1 1 1 1 1 1 ..$ temp000 : num -1.18 -1.16 -1.15 -1.12 -1.06 ... ..$ temp001 : num NaN -1.18 -1.16 -1.15 -1.12 ... ..$ temp002 : num NaN NaN -1.18 -1.16 -1.15 ... ..$ temp003 : num NaN NaN NaN -1.18 -1.16 ... ..$ temp004 : num NaN NaN NaN NaN -1.18 ... ..$ temp005 : num NaN NaN NaN NaN NaN ... ..$ temp006 : num NaN NaN NaN NaN NaN ... ..... ..$ aggr026 : num 0 0 0 0 0 0 0 0 0 0 ..$ aggr027 : num 0 0 0 0 0 0 0 0 0 0 ..$ aggr028 : num 0 0 0 0 0 0 0 0 0 0 ..$ training_flag: num 0 0 0 0 0 0 0 0 0 0 > sub1 <- abt_dataset[abt_dataset$training_flag == 1,] > dim(sub1) [1] 1004 89 > str(sub1) Class 'H2OFrame' <environment: 0x0000000019b69f20> - attr(*, "op")= chr "rows" - attr(*, "eval")= logi TRUE - attr(*, "id")= chr "RTMP_sid_8583_80" - attr(*, "nrow")= int 1004 - attr(*, "ncol")= int 89 - attr(*, "types")=List of 89 ..$ : chr "enum" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "int" - attr(*, "data")='data.frame': 10 obs. of 89 variables: ..$ machine_id : Factor w/ 13 levels "10291","10514",..: 8 8 8 8 8 8 8 8 8 8 ..$ temp000 : num -1.39 -1.41 -1.42 -1.42 -1.42 ... ..$ temp001 : num -1.41 -1.39 -1.41 -1.42 -1.42 ... ..$ temp002 : num -1.44 -1.41 -1.39 -1.41 -1.42 ... ..$ temp003 : num -1.47 -1.44 -1.41 -1.39 -1.41 ... ..$ temp004 : num -1.51 -1.47 -1.44 -1.41 -1.39 ... ..$ temp005 : num -1.57 -1.51 -1.47 -1.44 -1.41 ... .... ..$ aggr026 : num -6.66 0 0 0 0 ... ..$ aggr027 : num -6.66 0 0 0 0 ... ..$ aggr028 : num -1.74 0 0 0 0 ... ..$ training_flag: num 1 1 1 1 1 1 1 1 1 1 > dim(h2o.rbind(sub1,sub1)) ERROR: Unexpected HTTP Status code: 500 Server Error (url = http://127.0.0.1:54321/99/Rapids) Error: lexical error: invalid char in json text. <html> <head> <meta http-equiv= (right here) ------^ {code} Even more strange - after the following export/import to the local system it works {code} > tmp <- as.data.frame(sub1) > dim(tmp) [1] 1004 89 > sub1_2 <- as.h2o(tmp) |=================================================================================================================| 100% > dim(sub1_2) [1] 1004 89 > str(sub1_2) Class 'H2OFrame' <environment: 0x00000000179eca38> - attr(*, "op")= chr "Parse" - attr(*, "id")= chr "tmp" - attr(*, "eval")= logi FALSE - attr(*, "nrow")= int 1004 - attr(*, "ncol")= int 89 - attr(*, "types")=List of 89 ..$ : chr "enum" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "real" ..$ : chr "int" - attr(*, "data")='data.frame': 10 obs. of 89 variables: ..$ machine_id : Factor w/ 2 levels "222812","223968": 1 1 1 1 1 1 1 1 1 1 ..$ temp000 : num -1.39 -1.41 -1.42 -1.42 -1.42 ... ..$ temp001 : num -1.41 -1.39 -1.41 -1.42 -1.42 ... ..$ temp002 : num -1.44 -1.41 -1.39 -1.41 -1.42 ... ..$ temp003 : num -1.47 -1.44 -1.41 -1.39 -1.41 ... ..$ temp004 : num -1.51 -1.47 -1.44 -1.41 -1.39 ... ..... ..$ aggr028 : num -1.74 0 0 0 0 ... ..$ training_flag: num 1 1 1 1 1 1 1 1 1 1 > dim(h2o.rbind(sub1_2,sub1_2)) [1] 2008 89 {code} System Information: * Windows 7 64bit * R {code} platform x86_64-w64-mingw32 arch x86_64 os mingw32 system x86_64, mingw32 status major 3 minor 3.0 year 2016 month 05 day 03 svn rev 70573 language R version.string R version 3.3.0 (2016-05-03) nickname Supposedly Educational {code} * H2O {code} H2O Build git branch rel-turchin H2O Build git hash 3da08b14a0f219fa1086c1c8d475e62fa3e16c29 H2O Build git describe jenkins-rel-turchin-9 H2O Build project version 3.8.2.9 H2O Built by jenkins H2O Built on 2016-06-10 13:25:13 Flow version 0.4.40 {code}
    via by Roberto Rösler,
    • java.lang.AssertionError: Input chunk (class water.fvec.C0DChunk) has float, but is expected to be categorical at water.rapids.ASTRBind$RbindMRTask.map(ASTColSlice.java:434) at water.MRTask.compute2(MRTask.java:627) at water.MRTask.compute2(MRTask.java:585) at water.H2O$H2OCountedCompleter.compute1(H2O.java:1197) at water.rapids.ASTRBind$RbindMRTask$Icer.compute1(ASTRBind$RbindMRTask$Icer.java) at water.H2O$H2OCountedCompleter.compute(H2O.java:1193) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.pollAndExecAll(ForkJoinPool.java:914) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:979) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
    No Bugmate found.