java.lang.RuntimeException

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.

  • A proper error msg should be thrown when user sets the max depth =0 ntr = h2o.uploadFile(h,"/Users/nidhimehta/Desktop/shuttle_tr.csv", key="ntr") nts = h2o.uploadFile(h,"/Users/nidhimehta/Desktop/shuttle_ts.csv", key="nts") ntr ntr$C10 = as.factor(ntr$C10) nts$C10 = as.factor(nts$C10) myX = 1:9 myY = 10 tree = 10 my_gbm = h2o.gbm(x=myX,y=myY,loss = "multinomial",training_frame=ntr,validation_frame=nts, ntrees=tree,max_depth=0,min_rows=10,learn_rate=0.01,nbins=20) | | 0% Got exception 'class java.lang.RuntimeException', with msg 'water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1' java.lang.RuntimeException: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1 at water.MRTask.getResult(MRTask.java:265) at water.MRTask.doAll(MRTask.java:220) at water.MRTask.doAll(MRTask.java:216) at hex.tree.gbm.GBM$GBMDriver.buildNextKTrees(GBM.java:311) at hex.tree.gbm.GBM$GBMDriver.buildModel(GBM.java:150) at hex.tree.SharedTree$Driver.compute2(SharedTree.java:165) at water.H2O$H2OCountedCompleter.compute(H2O.java:682) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 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: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1 at hex.tree.DTree.node(DTree.java:50) at hex.tree.DTree.decided(DTree.java:53) at hex.tree.gbm.GBM$GBMDriver$GammaPass.map(GBM.java:404) at water.MRTask.compute2(MRTask.java:415) ... 6 more Error: 'water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1'
    via by Nidhi Mehta,
  • A proper error msg should be thrown when user sets the max depth =0 ntr = h2o.uploadFile(h,"/Users/nidhimehta/Desktop/shuttle_tr.csv", key="ntr") nts = h2o.uploadFile(h,"/Users/nidhimehta/Desktop/shuttle_ts.csv", key="nts") ntr ntr$C10 = as.factor(ntr$C10) nts$C10 = as.factor(nts$C10) myX = 1:9 myY = 10 tree = 10 my_gbm = h2o.gbm(x=myX,y=myY,loss = "multinomial",training_frame=ntr,validation_frame=nts, ntrees=tree,max_depth=0,min_rows=10,learn_rate=0.01,nbins=20) | | 0% Got exception 'class java.lang.RuntimeException', with msg 'water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1' java.lang.RuntimeException: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1 at water.MRTask.getResult(MRTask.java:265) at water.MRTask.doAll(MRTask.java:220) at water.MRTask.doAll(MRTask.java:216) at hex.tree.gbm.GBM$GBMDriver.buildNextKTrees(GBM.java:311) at hex.tree.gbm.GBM$GBMDriver.buildModel(GBM.java:150) at hex.tree.SharedTree$Driver.compute2(SharedTree.java:165) at water.H2O$H2OCountedCompleter.compute(H2O.java:682) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 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: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1 at hex.tree.DTree.node(DTree.java:50) at hex.tree.DTree.decided(DTree.java:53) at hex.tree.gbm.GBM$GBMDriver$GammaPass.map(GBM.java:404) at water.MRTask.compute2(MRTask.java:415) ... 6 more Error: 'water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1'
    via by Nidhi Mehta,
    • java.lang.RuntimeException: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1 at water.MRTask.getResult(MRTask.java:265) at water.MRTask.doAll(MRTask.java:220) at water.MRTask.doAll(MRTask.java:216) at hex.tree.gbm.GBM$GBMDriver.buildNextKTrees(GBM.java:311) at hex.tree.gbm.GBM$GBMDriver.buildModel(GBM.java:150) at hex.tree.SharedTree$Driver.compute2(SharedTree.java:165) at water.H2O$H2OCountedCompleter.compute(H2O.java:682) at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 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: water.DException$DistributedException: from /192.168.1.100:54321; by class hex.tree.gbm.GBM$GBMDriver$GammaPass; class java.lang.ArrayIndexOutOfBoundsException: -1 at hex.tree.DTree.node(DTree.java:50) at hex.tree.DTree.decided(DTree.java:53) at hex.tree.gbm.GBM$GBMDriver$GammaPass.map(GBM.java:404) at water.MRTask.compute2(MRTask.java:415) ... 6 more
    No Bugmate found.