java.lang.ArrayIndexOutOfBoundsException: 6

JIRA | Nidhi Mehta | 3 years ago
  1. 0
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    Steps to reproduce : 1) Import file : importFiles [ "/Users/nmadabhushi/0xdata/datasets/BigCross.data" ] 2) Parse these file: setupParse [ "nfs://Users/nmadabhushi/0xdata/datasets/BigCross.data" ] 3) Build model : buildModel 'glm', {"destination_key":"glm_model_1","training_frame":"BigCross.hex","validation_frame":"BigCross.hex","response_column":"C1","do_classification":true,"balance_classes":true,"family":"binomial","lambda_search":true} Console Error: 01-07 14:35:25.263 172.16.2.16:54321 26156 # Session INFO: Path: /3/Frames/BigCross.hex, route: /3/Frames/(?<key>.*), parms: {key=BigCross.hex} 01-07 14:36:32.651 172.16.2.16:54321 26156 # Session INFO: Path: /2/ModelBuilders/glm, route: ^(/\d+)?/ModelBuilders/glm, parms: {do_classification=true, destination_key=glm_model_1, family=binomial, training_frame=BigCross.hex, balance_classes=true, validation_frame=BigCross.hex, response_column=C1, lambda_search=true} 01-07 14:36:32.657 172.16.2.16:54321 26156 # Session INFO: Building H2O GLM model with these parameters: 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: { 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_destination_key": { 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "name": "glm_model_1", 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "type": "Iced" 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: }, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_train": { 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "name": "BigCross.hex", 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "type": "Iced" 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: }, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_valid": { 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "name": "BigCross.hex", 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "type": "Iced" 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: }, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_dropNA20Cols": false, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_score_each_iteration": false, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_max_confusion_matrix_size": 20, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_response_column": "C1", 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_convert_to_enum": true, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_balance_classes": true, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_max_after_balance_size": "Infinity", 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_max_hit_ratio_k": 10, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_standardize": true, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_family": "binomial", 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_link": "identity", 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_tweedie_variance_power": "NaN", 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_tweedie_link_power": "NaN", 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_alpha": [ 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: 0.5 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: ], 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_lambda": [ 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: 1.0E-5 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: ], 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_prior": -1.0, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_lambda_search": true, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_nlambdas": -1, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_lambda_min_ratio": -1.0, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_higher_accuracy": false, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_use_all_factor_levels": false, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_n_folds": 0, 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: "_max_active_predictors": 10000 01-07 14:36:32.704 172.16.2.16:54321 26156 # Session INFO: } 01-07 14:36:33.168 172.16.2.16:54321 26156 # Session INFO: Path: /2/Jobs/$0301ac10021032d4ffffffff$_84375ef9c028cd8d762f4f1884ff43fe, route: ^(/\d+)?/Jobs/(?<key>.*), parms: {key=$0301ac10021032d4ffffffff$_84375ef9c028cd8d762f4f1884ff43fe} 01-07 14:36:34.177 172.16.2.16:54321 26156 # Session INFO: Path: /2/Jobs/$0301ac10021032d4ffffffff$_84375ef9c028cd8d762f4f1884ff43fe, route: ^(/\d+)?/Jobs/(?<key>.*), parms: {key=$0301ac10021032d4ffffffff$_84375ef9c028cd8d762f4f1884ff43fe} 01-07 14:36:35.204 172.16.2.16:54321 26156 # Session INFO: Path: /2/Jobs/$0301ac10021032d4ffffffff$_84375ef9c028cd8d762f4f1884ff43fe, route: ^(/\d+)?/Jobs/(?<key>.*), parms: {key=$0301ac10021032d4ffffffff$_84375ef9c028cd8d762f4f1884ff43fe} 01-07 14:36:36.286 172.16.2.16:54321 26156 # Session INFO: Path: /2/Jobs/$0301ac10021032d4ffffffff$_84375ef9c028cd8d762f4f1884ff43fe, route: ^(/\d+)?/Jobs/(?<key>.*), parms: {key=$0301ac10021032d4ffffffff$_84375ef9c028cd8d762f4f1884ff43fe} barrier onExCompletion for hex.glm.GLM$1@5bdfcc0e java.lang.ArrayIndexOutOfBoundsException: 16 at hex.ConfusionMatrix.add(ConfusionMatrix.java:74) at hex.glm.GLMValidation.add(GLMValidation.java:72) at hex.glm.GLMTask$GLMIterationTask.processRow(GLMTask.java:288) at hex.glm.GLMTask$LMAXTask.processRow(GLMTask.java:134) at hex.FrameTask.map(FrameTask.java:580) at water.MRTask.compute2(MRTask.java:426) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.MRTask.compute2(MRTask.java:370) at water.H2O$H2OCountedCompleter.compute(H2O.java:580) 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) 01-07 14:36:37.300 172.16.2.16:54321 26156 # Session INFO: Path: /2/Jobs/$0301ac10021032d4ffffffff$_84375ef9c028cd8d762f4f1884ff43fe, route: ^(/\d+)?/Jobs/(?<key>.*), parms: {key=$0301ac10021032d4ffffffff$_84375ef9c028cd8d762f4f1884ff43fe}

    JIRA | 2 years ago | Neeraja Madabhushi
    java.lang.ArrayIndexOutOfBoundsException: 16
  4. 0

    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

      6

      at hex.ConfusionMatrix.add()
    2. hex
      ConfusionMatrix.add
      1. hex.ConfusionMatrix.add(ConfusionMatrix.java:63)
      1 frame
    3. hex.glm
      GLMTask$GLMIterationTask.map
      1. hex.glm.GLMValidation.add(GLMValidation.java:95)
      2. hex.glm.GLMTask$GLMIterationTask.processRow(GLMTask.java:321)
      3. hex.glm.GLMTask.map(GLMTask.java:202)
      4. hex.glm.GLMTask$GLMIterationTask.map(GLMTask.java:342)
      4 frames
    4. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask2.compute2(MRTask2.java:279)
      2. water.H2O$H2OCountedCompleter.compute(H2O.java:599)
      2 frames
    5. 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