java.lang.ArrayIndexOutOfBoundsException: 2

JIRA | Arno Candel | 12 months ago
  1. 0

    pyunit_javapredict_dynamic_data_paramsKmeans.py {code} [2015-12-09 20:49:49] Connect to h2o on IP: 127.0.0.1 PORT: 57789 -------------------------- ------------------------------------- H2O cluster uptime: 5 minutes 32 seconds 175 milliseconds H2O cluster version: 3.7.0.99999 H2O cluster name: H2O_runit_jenkins_2523471 H2O cluster total nodes: 1 H2O cluster total memory: 2.72 GB H2O cluster total cores: 40 H2O cluster allowed cores: 40 H2O cluster healthy: True H2O Connection ip: 127.0.0.1 H2O Connection port: 57789 -------------------------- ------------------------------------- Dataset parameters: {'categorical_fraction': 0.9, 'rows': 9679, 'has_response': True, 'factors': 65, 'missing_fraction': 0.12726600339388394, 'cols': 20, 'integer_fraction': -0.0, 'randomize': True} Create Frame Progress: [ ] 00% Create Frame Progress: [##################################################] 100% Training dataset: response C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 ---------- ----- ----- ----- ---- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- 0 ee7e1 d2a20 nan 697d2 85fc4 7b70d c246c 24b09 0fefc 3a01a cd8a8 0 6bb94 bdebe 0ac7e d2d6a addc8 1 1e3b1 2c587 241d3 nan 5f66f f03c4 4a8d0 8b2ab 886ac d8758 5a304 3a01a 5092f c53e2 0 fa699 41d79 e54d4 783f0 1 3ee22 0501f c6d14 0 7c439 225ba b32f9 50a83 cc92c c89f3 2c0fe 53b5b ba445 82cd1 0 c56bc ff3f3 9c042 de2cd da9c4 0 a732f bd452 2f803 nan 782af 2be7c b3170 0af14 24b09 70ec4 69d8b aac2b 7748d 47fbf 0 e3d59 3f298 d8200 da9c4 0 36ad9 bd452 e80c7 0 600d2 b68f9 4a8d0 ef422 e1e23 5dd29 f59ec 79dba 0 fce70 1ab99 6defd 5372b 098cb 0 503db 17cc7 68c52 0 10eb9 df489 3c68c 5a57e d48ad 416dd f7031 0e28f 0 9228e 9d552 b2357 105bc 53c88 0 58b1e 9c718 49bc2 0 bb89e 3342e fcc7e bb0fd 3f43d 048fd 5a304 0f726 df665 0 553b1 fb610 0ac7e 00c8a faff8 0 edbbd a86d4 a6232 0 8d33d da2a9 62cd5 cce71 367d8 d4df1 00d93 42c3b 5092f 084ec 0 3370f a0582 6defd 1132d 3a751 0 8c97b 3631a 0 530a8 f73a0 39b07 72cd5 a880e a3f47 cc54b c6f79 4cbad 0 677f6 1561c 403c5 4c9ec 1980c 1 60da4 48fb8 0 204c8 4a474 9a344 d62f2 dfce9 1d545 e55e9 f1d76 5ce81 30fb4 0 c83bc ea2cc ff721 105bc [9679 rows x 21 columns] Parameter list: {'k': 7, 'standardize': True, 'max_iterations': 754} Creating model in H2O kmeans Model Build Progress: [ ] 00% kmeans Model Build Progress: [ ] 00% kmeans Model Build Progress: [ ] 00% Traceback (most recent call last): File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/scripts/h2o-py-test-setup.py", line 144, in <module> h2o_test_setup(sys.argv) File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/scripts/h2o-py-test-setup.py", line 139, in h2o_test_setup elif _IS_PYUNIT_: pyunit_utils.pyunit_exec(_TEST_NAME_) File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/tests/pyunit_utils/utilsPY.py", line 283, in pyunit_exec exec pyunit_c in p File "<string>", line 55, in <module> File "<string>", line 50, in javapredict_dynamic_data File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/tests/pyunit_utils/utilsPY.py", line 142, in javapredict if algo == "kmeans" or algo == "pca": model.train(x=x, training_frame=train) File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/h2o/estimators/estimator_base.py", line 108, in train self.build_model(parms) File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/h2o/estimators/estimator_base.py", line 121, in build_model self._model_build(x, y, training_frame, validation_frame, algo_params) File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/h2o/estimators/estimator_base.py", line 145, in _model_build model.poll() File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/h2o/job.py", line 49, in poll raise EnvironmentError("Job with key {} failed with an exception: {}".format(self.job_key, self.exception)) EnvironmentError: Job with key $0301ac11029bbee1ffffffff$_9ab840718e5029ecfd041b1d9ba24cf1 failed with an exception: Got exception 'class java.lang.ArrayIndexOutOfBoundsException', with msg '2' java.lang.ArrayIndexOutOfBoundsException: 2 at hex.kmeans.KMeans$KMeansDriver.createScoringHistoryTable(KMeans.java:398) at hex.kmeans.KMeans$KMeansDriver.computeStatsFillModel(KMeans.java:227) at hex.kmeans.KMeans$KMeansDriver.compute2(KMeans.java:301) at water.H2O$H2OCountedCompleter.compute(H2O.java:1069) 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) Sucessfully closed the H2O Session. {code}

    JIRA | 12 months ago | Arno Candel
    java.lang.ArrayIndexOutOfBoundsException: 2
  2. 0

    pyunit_javapredict_dynamic_data_paramsKmeans.py {code} [2015-12-09 20:49:49] Connect to h2o on IP: 127.0.0.1 PORT: 57789 -------------------------- ------------------------------------- H2O cluster uptime: 5 minutes 32 seconds 175 milliseconds H2O cluster version: 3.7.0.99999 H2O cluster name: H2O_runit_jenkins_2523471 H2O cluster total nodes: 1 H2O cluster total memory: 2.72 GB H2O cluster total cores: 40 H2O cluster allowed cores: 40 H2O cluster healthy: True H2O Connection ip: 127.0.0.1 H2O Connection port: 57789 -------------------------- ------------------------------------- Dataset parameters: {'categorical_fraction': 0.9, 'rows': 9679, 'has_response': True, 'factors': 65, 'missing_fraction': 0.12726600339388394, 'cols': 20, 'integer_fraction': -0.0, 'randomize': True} Create Frame Progress: [ ] 00% Create Frame Progress: [##################################################] 100% Training dataset: response C1 C2 C3 C4 C5 C6 C7 C8 C9 C10 C11 C12 C13 C14 C15 C16 C17 C18 C19 C20 ---------- ----- ----- ----- ---- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- ----- 0 ee7e1 d2a20 nan 697d2 85fc4 7b70d c246c 24b09 0fefc 3a01a cd8a8 0 6bb94 bdebe 0ac7e d2d6a addc8 1 1e3b1 2c587 241d3 nan 5f66f f03c4 4a8d0 8b2ab 886ac d8758 5a304 3a01a 5092f c53e2 0 fa699 41d79 e54d4 783f0 1 3ee22 0501f c6d14 0 7c439 225ba b32f9 50a83 cc92c c89f3 2c0fe 53b5b ba445 82cd1 0 c56bc ff3f3 9c042 de2cd da9c4 0 a732f bd452 2f803 nan 782af 2be7c b3170 0af14 24b09 70ec4 69d8b aac2b 7748d 47fbf 0 e3d59 3f298 d8200 da9c4 0 36ad9 bd452 e80c7 0 600d2 b68f9 4a8d0 ef422 e1e23 5dd29 f59ec 79dba 0 fce70 1ab99 6defd 5372b 098cb 0 503db 17cc7 68c52 0 10eb9 df489 3c68c 5a57e d48ad 416dd f7031 0e28f 0 9228e 9d552 b2357 105bc 53c88 0 58b1e 9c718 49bc2 0 bb89e 3342e fcc7e bb0fd 3f43d 048fd 5a304 0f726 df665 0 553b1 fb610 0ac7e 00c8a faff8 0 edbbd a86d4 a6232 0 8d33d da2a9 62cd5 cce71 367d8 d4df1 00d93 42c3b 5092f 084ec 0 3370f a0582 6defd 1132d 3a751 0 8c97b 3631a 0 530a8 f73a0 39b07 72cd5 a880e a3f47 cc54b c6f79 4cbad 0 677f6 1561c 403c5 4c9ec 1980c 1 60da4 48fb8 0 204c8 4a474 9a344 d62f2 dfce9 1d545 e55e9 f1d76 5ce81 30fb4 0 c83bc ea2cc ff721 105bc [9679 rows x 21 columns] Parameter list: {'k': 7, 'standardize': True, 'max_iterations': 754} Creating model in H2O kmeans Model Build Progress: [ ] 00% kmeans Model Build Progress: [ ] 00% kmeans Model Build Progress: [ ] 00% Traceback (most recent call last): File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/scripts/h2o-py-test-setup.py", line 144, in <module> h2o_test_setup(sys.argv) File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/scripts/h2o-py-test-setup.py", line 139, in h2o_test_setup elif _IS_PYUNIT_: pyunit_utils.pyunit_exec(_TEST_NAME_) File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/tests/pyunit_utils/utilsPY.py", line 283, in pyunit_exec exec pyunit_c in p File "<string>", line 55, in <module> File "<string>", line 50, in javapredict_dynamic_data File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/tests/pyunit_utils/utilsPY.py", line 142, in javapredict if algo == "kmeans" or algo == "pca": model.train(x=x, training_frame=train) File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/h2o/estimators/estimator_base.py", line 108, in train self.build_model(parms) File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/h2o/estimators/estimator_base.py", line 121, in build_model self._model_build(x, y, training_frame, validation_frame, algo_params) File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/h2o/estimators/estimator_base.py", line 145, in _model_build model.poll() File "/home4/jenkins/slave_dir_from_mr-0xa1/workspace/arno_pyunit_small/h2o-py/h2o/job.py", line 49, in poll raise EnvironmentError("Job with key {} failed with an exception: {}".format(self.job_key, self.exception)) EnvironmentError: Job with key $0301ac11029bbee1ffffffff$_9ab840718e5029ecfd041b1d9ba24cf1 failed with an exception: Got exception 'class java.lang.ArrayIndexOutOfBoundsException', with msg '2' java.lang.ArrayIndexOutOfBoundsException: 2 at hex.kmeans.KMeans$KMeansDriver.createScoringHistoryTable(KMeans.java:398) at hex.kmeans.KMeans$KMeansDriver.computeStatsFillModel(KMeans.java:227) at hex.kmeans.KMeans$KMeansDriver.compute2(KMeans.java:301) at water.H2O$H2OCountedCompleter.compute(H2O.java:1069) 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) Sucessfully closed the H2O Session. {code}

    JIRA | 12 months ago | Arno Candel
    java.lang.ArrayIndexOutOfBoundsException: 2
  3. 0

    Error handling when reading from txt file

    Stack Overflow | 3 weeks ago | Buupu
    java.lang.ArrayIndexOutOfBoundsException: 2
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    migrating jsf1.1 to jsf1.1_02

    Oracle Community | 8 years ago | 843844
    java.lang.ArrayIndexOutOfBoundsException: 2

    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

      2

      at hex.kmeans.KMeans$KMeansDriver.createScoringHistoryTable()
    2. hex.kmeans
      KMeans$KMeansDriver.compute2
      1. hex.kmeans.KMeans$KMeansDriver.createScoringHistoryTable(KMeans.java:398)
      2. hex.kmeans.KMeans$KMeansDriver.computeStatsFillModel(KMeans.java:227)
      3. hex.kmeans.KMeans$KMeansDriver.compute2(KMeans.java:301)
      3 frames
    3. water
      H2O$H2OCountedCompleter.compute
      1. water.H2O$H2OCountedCompleter.compute(H2O.java:1069)
      1 frame
    4. jsr166y
      ForkJoinWorkerThread.run
      1. jsr166y.CountedCompleter.exec(CountedCompleter.java:468)
      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