java.lang.ArrayIndexOutOfBoundsException

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.

  • {code} library(h2o) h2o.init(nthreads=-1) htable = h2o.uploadFile("/users/arno/h2o-3/smalldata/gbm_test/moppe.csv") htable$premiekl = as.factor(htable$premiekl) htable$moptva = as.factor(htable$moptva) htable$zon = as.factor(htable$zon) h2o.gbm(x = 1:3,y = "medskad",training_frame = htable,distribution = "gamma",weights_column = "antskad", ntrees = 20,max_depth = 1,min_rows = 1,learn_rate = 1,min_split_improvement=1e-5) {code} DistributedException from /172.16.2.68:54321, caused by java.lang.ArrayIndexOutOfBoundsException: -1 {code} 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: DistributedException from /172.16.2.68:54321, caused by java.lang.ArrayIndexOutOfBoundsException: -1 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.MRTask.getResult(MRTask.java:477) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.MRTask.getResult(MRTask.java:485) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.MRTask.doAll(MRTask.java:389) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.MRTask.doAll(MRTask.java:384) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.tree.gbm.GBM$GBMDriver.buildNextKTrees(GBM.java:433) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.tree.SharedTree$Driver.scoreAndBuildTrees(SharedTree.java:355) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.tree.SharedTree$Driver.computeImpl(SharedTree.java:289) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:168) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.H2O$H2OCountedCompleter.compute(H2O.java:1194) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.tree.gbm.GBM$GBMDriver$ComputeMinMax.map(GBM.java:336) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.MRTask.compute2(MRTask.java:630) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.H2O$H2OCountedCompleter.compute1(H2O.java:1197) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.tree.gbm.GBM$GBMDriver$ComputeMinMax$Icer.compute1(GBM$GBMDriver$ComputeMinMax$Icer.java) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.H2O$H2OCountedCompleter.compute(H2O.java:1193) {code}
    via by Arno Candel,
  • {code} library(h2o) h2o.init(nthreads=-1) htable = h2o.uploadFile("/users/arno/h2o-3/smalldata/gbm_test/moppe.csv") htable$premiekl = as.factor(htable$premiekl) htable$moptva = as.factor(htable$moptva) htable$zon = as.factor(htable$zon) h2o.gbm(x = 1:3,y = "medskad",training_frame = htable,distribution = "gamma",weights_column = "antskad", ntrees = 20,max_depth = 1,min_rows = 1,learn_rate = 1,min_split_improvement=1e-5) {code} DistributedException from /172.16.2.68:54321, caused by java.lang.ArrayIndexOutOfBoundsException: -1 {code} 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: DistributedException from /172.16.2.68:54321, caused by java.lang.ArrayIndexOutOfBoundsException: -1 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.MRTask.getResult(MRTask.java:477) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.MRTask.getResult(MRTask.java:485) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.MRTask.doAll(MRTask.java:389) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.MRTask.doAll(MRTask.java:384) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.tree.gbm.GBM$GBMDriver.buildNextKTrees(GBM.java:433) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.tree.SharedTree$Driver.scoreAndBuildTrees(SharedTree.java:355) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.tree.SharedTree$Driver.computeImpl(SharedTree.java:289) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:168) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.H2O$H2OCountedCompleter.compute(H2O.java:1194) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.tree.gbm.GBM$GBMDriver$ComputeMinMax.map(GBM.java:336) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.MRTask.compute2(MRTask.java:630) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.H2O$H2OCountedCompleter.compute1(H2O.java:1197) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at hex.tree.gbm.GBM$GBMDriver$ComputeMinMax$Icer.compute1(GBM$GBMDriver$ComputeMinMax$Icer.java) 06-07 15:12:09.282 172.16.2.68:54321 90764 FJ-1-13 ERRR: at water.H2O$H2OCountedCompleter.compute(H2O.java:1193) {code}
    via by Arno Candel,
    • java.lang.ArrayIndexOutOfBoundsException: -1 at water.MRTask.getResult(MRTask.java:477) at water.MRTask.getResult(MRTask.java:485) at water.MRTask.doAll(MRTask.java:389) at water.MRTask.doAll(MRTask.java:384) at hex.tree.gbm.GBM$GBMDriver.buildNextKTrees(GBM.java:433) at hex.tree.SharedTree$Driver.scoreAndBuildTrees(SharedTree.java:355) at hex.tree.SharedTree$Driver.computeImpl(SharedTree.java:289) at hex.ModelBuilder$Driver.compute2(ModelBuilder.java:168) at water.H2O$H2OCountedCompleter.compute(H2O.java:1194) at jsr166y.CountedCompleter.exec(CountedCompleter.java:468) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) Caused by: java.lang.ArrayIndexOutOfBoundsException: -1 at hex.tree.gbm.GBM$GBMDriver$ComputeMinMax.map(GBM.java:336) at water.MRTask.compute2(MRTask.java:630) at water.H2O$H2OCountedCompleter.compute1(H2O.java:1197) at hex.tree.gbm.GBM$GBMDriver$ComputeMinMax$Icer.compute1(GBM$GBMDriver$ComputeMinMax$Icer.java) at water.H2O$H2OCountedCompleter.compute(H2O.java:1193)
    No Bugmate found.