java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 8388608

JIRA | Kevin Normoyle | 2 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

    repros every time. single jvm create 9M vector with Rapids, then add it to itself test does some other Rapids first, but eventually fails here cd h2o-dev/py2/testdir_single_jvm python test_rapids_vec_fail1.py if connecting to existing localhost:54321 python test_rapids_vec_fail1.py -uc rapids parameters: {'funs': None, 'ast': '(= !v (c {(: #0 #8999999)})'} exec: { "ast": "(= !v (c {(: #0 #8999999)})", "col_names": [ "C1" ], "exception": null, "funs": null, "funstr": null, "key": { "name": "v" }, "num_cols": 1, "num_rows": 9000000, "result": "", "scalar": 0.0, "schema_name": "RapidsV1", "schema_type": "Rapids", "schema_version": 1, "string": null } rapids parameters: {'funs': None, 'ast': '(= !v (+ $v $v))'} ERROR 11-23 17:15:04.468 192.168.0.34:54333 10641 # Session ERRR: java.lang.RuntimeException: water.DException$DistributedException: from /192.168.0.34:54333; by class water.rapids.ASTBinOp$1; class java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 8388608 java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 8388608 at water.fvec.NewChunk.append2slowd(NewChunk.java:392) at water.fvec.NewChunk.addNum(NewChunk.java:239) at water.rapids.ASTBinOp$1.map(ASTOp.java:921) at water.MRTask.compute2(MRTask.java:426) at water.H2O$H2OCountedCompleter.compute(H2O.java:566) 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) ERROR

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 8388608
  2. 0

    repros every time. single jvm create 9M vector with Rapids, then add it to itself test does some other Rapids first, but eventually fails here cd h2o-dev/py2/testdir_single_jvm python test_rapids_vec_fail1.py if connecting to existing localhost:54321 python test_rapids_vec_fail1.py -uc rapids parameters: {'funs': None, 'ast': '(= !v (c {(: #0 #8999999)})'} exec: { "ast": "(= !v (c {(: #0 #8999999)})", "col_names": [ "C1" ], "exception": null, "funs": null, "funstr": null, "key": { "name": "v" }, "num_cols": 1, "num_rows": 9000000, "result": "", "scalar": 0.0, "schema_name": "RapidsV1", "schema_type": "Rapids", "schema_version": 1, "string": null } rapids parameters: {'funs': None, 'ast': '(= !v (+ $v $v))'} ERROR 11-23 17:15:04.468 192.168.0.34:54333 10641 # Session ERRR: java.lang.RuntimeException: water.DException$DistributedException: from /192.168.0.34:54333; by class water.rapids.ASTBinOp$1; class java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 8388608 java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 8388608 at water.fvec.NewChunk.append2slowd(NewChunk.java:392) at water.fvec.NewChunk.addNum(NewChunk.java:239) at water.rapids.ASTBinOp$1.map(ASTOp.java:921) at water.MRTask.compute2(MRTask.java:426) at water.H2O$H2OCountedCompleter.compute(H2O.java:566) 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) ERROR

    JIRA | 2 years ago | Kevin Normoyle
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 8388608

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      Array index out of range: 8388608

      at water.fvec.NewChunk.append2slowd()
    2. water.fvec
      NewChunk.addNum
      1. water.fvec.NewChunk.append2slowd(NewChunk.java:392)
      2. water.fvec.NewChunk.addNum(NewChunk.java:239)
      2 frames
    3. water.rapids
      ASTBinOp$1.map
      1. water.rapids.ASTBinOp$1.map(ASTOp.java:921)
      1 frame
    4. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask.compute2(MRTask.java:426)
      2. water.H2O$H2OCountedCompleter.compute(H2O.java:566)
      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