java.lang.ArrayIndexOutOfBoundsException: -1

JIRA | Arno Candel | 6 months ago
  1. 0

    {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}

    JIRA | 6 months ago | Arno Candel
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    {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}

    JIRA | 6 months ago | Arno Candel
    java.lang.ArrayIndexOutOfBoundsException: -1
  3. 0

    ArrayIndexOutOfBounds When Splitting String

    Stack Overflow | 4 years ago | n0shadow
    java.lang.ArrayIndexOutOfBoundsException: 1
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    ArrayIndexOutOfBoundsException occurring when program running

    Stack Overflow | 4 years ago | dharma
    java.lang.ArrayIndexOutOfBoundsException: 1
  6. 0

    Parsing Data from CSV to Array in Java

    Stack Overflow | 5 years ago
    java.lang.ArrayIndexOutOfBoundsException: 1

    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.ArrayIndexOutOfBoundsException

      -1

      at hex.tree.gbm.GBM$GBMDriver$ComputeMinMax.map()
    2. hex.tree.gbm
      GBM$GBMDriver$ComputeMinMax.map
      1. hex.tree.gbm.GBM$GBMDriver$ComputeMinMax.map(GBM.java:336)
      1 frame
    3. water
      H2O$H2OCountedCompleter.compute1
      1. water.MRTask.compute2(MRTask.java:630)
      2. water.H2O$H2OCountedCompleter.compute1(H2O.java:1197)
      2 frames
    4. hex.tree.gbm
      GBM$GBMDriver$ComputeMinMax$Icer.compute1
      1. hex.tree.gbm.GBM$GBMDriver$ComputeMinMax$Icer.compute1(GBM$GBMDriver$ComputeMinMax$Icer.java)
      1 frame
    5. water
      H2O$H2OCountedCompleter.compute
      1. water.H2O$H2OCountedCompleter.compute(H2O.java:1193)
      1 frame