java.lang.ArrayIndexOutOfBoundsException: -1

JIRA | Nidhi Mehta | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    On master Built on:Thu Mar 13 12:59:31 PDT 2014 Build git hash: 03cfcc0d029fdb57128284244ca8f2c0946238b4 On 3 nodes- Upload2 wave_noise.train file (attached) Convert C41 to factor Run GBM with VI 31-Mar 04:48:32.973 192.168.1.162:54545 3124 # Session INFO HTTPD: GET /2/GBM.html source=wave_noise_Train.hex grid_parallelism=1 score_each_iteration=0 max_depth=10 response=V41 nbins=20 classification=1 learn_rate=0.01 scale_importance=0 ntrees=500 min_rows=10 importance=1 Get - java.lang.ArrayIndexOutOfBoundsException: -1 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.GBM.doVarImpCalc(GBM.java:510) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.GBM.doVarImpCalc(GBM.java:24) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.SharedTreeModelBuilder.doScoring(SharedTreeModelBuilder.java:233) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.GBM.buildModel(GBM.java:158) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.GBM.buildModel(GBM.java:24) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.SharedTreeModelBuilder.buildModel(SharedTreeModelBuilder.java:177) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.GBM.execImpl(GBM.java:122) 04:29:22.448 FJ-9-295 INFO WATER: at water.Job.exec(Job.java:366) 04:29:22.448 FJ-9-295 INFO WATER: at water.Job.access$000(Job.java:27) 04:29:22.448 FJ-9-295 INFO WATER: at water.Job$3.compute2(Job.java:321) 04:29:22.448 FJ-9-295 INFO WATER: at water.H2O$H2OCountedCompleter.compute(H2O.java:713) 04:29:22.449 FJ-9-295 INFO WATER: at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 04:29:22.449 FJ-9-295 INFO WATER: at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) 04:29:22.449 FJ-9-295 INFO WATER: at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) 04:29:22.449 FJ-9-295 INFO WATER: at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) 04:29:22.450 FJ-9-295 INFO WATER: at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 3 years ago | Nidhi Mehta
    java.lang.ArrayIndexOutOfBoundsException: -1
  2. 0

    On master Built on:Thu Mar 13 12:59:31 PDT 2014 Build git hash: 03cfcc0d029fdb57128284244ca8f2c0946238b4 On 3 nodes- Upload2 wave_noise.train file (attached) Convert C41 to factor Run GBM with VI 31-Mar 04:48:32.973 192.168.1.162:54545 3124 # Session INFO HTTPD: GET /2/GBM.html source=wave_noise_Train.hex grid_parallelism=1 score_each_iteration=0 max_depth=10 response=V41 nbins=20 classification=1 learn_rate=0.01 scale_importance=0 ntrees=500 min_rows=10 importance=1 Get - java.lang.ArrayIndexOutOfBoundsException: -1 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.GBM.doVarImpCalc(GBM.java:510) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.GBM.doVarImpCalc(GBM.java:24) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.SharedTreeModelBuilder.doScoring(SharedTreeModelBuilder.java:233) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.GBM.buildModel(GBM.java:158) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.GBM.buildModel(GBM.java:24) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.SharedTreeModelBuilder.buildModel(SharedTreeModelBuilder.java:177) 04:29:22.448 FJ-9-295 INFO WATER: at hex.gbm.GBM.execImpl(GBM.java:122) 04:29:22.448 FJ-9-295 INFO WATER: at water.Job.exec(Job.java:366) 04:29:22.448 FJ-9-295 INFO WATER: at water.Job.access$000(Job.java:27) 04:29:22.448 FJ-9-295 INFO WATER: at water.Job$3.compute2(Job.java:321) 04:29:22.448 FJ-9-295 INFO WATER: at water.H2O$H2OCountedCompleter.compute(H2O.java:713) 04:29:22.449 FJ-9-295 INFO WATER: at jsr166y.CountedCompleter.exec(CountedCompleter.java:429) 04:29:22.449 FJ-9-295 INFO WATER: at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263) 04:29:22.449 FJ-9-295 INFO WATER: at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) 04:29:22.449 FJ-9-295 INFO WATER: at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) 04:29:22.450 FJ-9-295 INFO WATER: at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)

    JIRA | 3 years ago | Nidhi Mehta
    java.lang.ArrayIndexOutOfBoundsException: -1

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      -1

      at hex.gbm.GBM.doVarImpCalc()
    2. hex.gbm
      GBM.execImpl
      1. hex.gbm.GBM.doVarImpCalc(GBM.java:510)
      2. hex.gbm.GBM.doVarImpCalc(GBM.java:24)
      3. hex.gbm.SharedTreeModelBuilder.doScoring(SharedTreeModelBuilder.java:233)
      4. hex.gbm.GBM.buildModel(GBM.java:158)
      5. hex.gbm.GBM.buildModel(GBM.java:24)
      6. hex.gbm.SharedTreeModelBuilder.buildModel(SharedTreeModelBuilder.java:177)
      7. hex.gbm.GBM.execImpl(GBM.java:122)
      7 frames
    3. water
      H2O$H2OCountedCompleter.compute
      1. water.Job.exec(Job.java:366)
      2. water.Job.access$000(Job.java:27)
      3. water.Job$3.compute2(Job.java:321)
      4. water.H2O$H2OCountedCompleter.compute(H2O.java:713)
      4 frames
    4. jsr166y
      ForkJoinWorkerThread.run
      1. jsr166y.CountedCompleter.exec(CountedCompleter.java:429)
      2. jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:263)
      3. jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974)
      4. jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477)
      5. jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104)
      5 frames