java.lang.ArrayIndexOutOfBoundsException: 3

JIRA | Kevin Normoyle | 3 years ago
  1. 0

    seed was 1248889326508410620 so this should repeat it, but it seems intermittent? cd testdir_single_jvm python test_exec2_operators.py -s 1248889326508410620 (the test does random, but hopefully the above makes it repeat) I included the sequence in commands.log below 02:41:41.779 # Session ERRR WATER: + java.lang.ArrayIndexOutOfBoundsException: 600275 + at water.fvec.C1NChunk.at8_impl(C1NChunk.java:12) + at water.fvec.Chunk.at80(Chunk.java:66) + at water.fvec.Frame$DeepSlice.map(Frame.java:651) + at water.MRTask2.compute2(MRTask2.java:358) + at water.H2O$H2OCountedCompleter.compute(H2O.java:676) + 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) 2013-12-17 14:41:22.590941 -- Start http://192.168.1.80:54321/2/PostFile.json?key=year2013.csv #/home/kevin/home-0xdiag-datasets/airlines/year2013.csv 2013-12-17 14:41:25.001625 -- Start http://192.168.1.80:54321/2/Parse2.json?destination_key=i.hex&source_key=year2013.csv 2013-12-17 14:41:29.836958 -- Start http://192.168.1.80:54321/2/SummaryPage2.json?source=i.hex&max_ncols=1000 2013-12-17 14:41:32.359289 -- Start http://192.168.1.80:54321/2/Exec2.json?str=r.hex=i.hex 2013-12-17 14:41:33.910944 -- Start http://192.168.1.80:54321/2/Exec2.json?str=r1.hex=i.hex 2013-12-17 14:41:35.220777 -- Start http://192.168.1.80:54321/2/Exec2.json?str=r2.hex=i.hex 2013-12-17 14:41:36.626605 -- Start http://192.168.1.80:54321/2/Exec2.json?str=r3.hex=i.hex 2013-12-17 14:41:38.191916 -- Start http://192.168.1.80:54321/2/Exec2.json?str=z.hex=r.hex-r.hex; 2013-12-17 14:41:40.915687 -- Start http://192.168.1.80:54321/2/Exec2.json?str=z.hex=r.hex[nrow(r.hex),];

    JIRA | 3 years ago | Kevin Normoyle
    java.lang.ArrayIndexOutOfBoundsException: 600275
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    seed was 1248889326508410620 so this should repeat it, but it seems intermittent? cd testdir_single_jvm python test_exec2_operators.py -s 1248889326508410620 (the test does random, but hopefully the above makes it repeat) I included the sequence in commands.log below 02:41:41.779 # Session ERRR WATER: + java.lang.ArrayIndexOutOfBoundsException: 600275 + at water.fvec.C1NChunk.at8_impl(C1NChunk.java:12) + at water.fvec.Chunk.at80(Chunk.java:66) + at water.fvec.Frame$DeepSlice.map(Frame.java:651) + at water.MRTask2.compute2(MRTask2.java:358) + at water.H2O$H2OCountedCompleter.compute(H2O.java:676) + 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) 2013-12-17 14:41:22.590941 -- Start http://192.168.1.80:54321/2/PostFile.json?key=year2013.csv #/home/kevin/home-0xdiag-datasets/airlines/year2013.csv 2013-12-17 14:41:25.001625 -- Start http://192.168.1.80:54321/2/Parse2.json?destination_key=i.hex&source_key=year2013.csv 2013-12-17 14:41:29.836958 -- Start http://192.168.1.80:54321/2/SummaryPage2.json?source=i.hex&max_ncols=1000 2013-12-17 14:41:32.359289 -- Start http://192.168.1.80:54321/2/Exec2.json?str=r.hex=i.hex 2013-12-17 14:41:33.910944 -- Start http://192.168.1.80:54321/2/Exec2.json?str=r1.hex=i.hex 2013-12-17 14:41:35.220777 -- Start http://192.168.1.80:54321/2/Exec2.json?str=r2.hex=i.hex 2013-12-17 14:41:36.626605 -- Start http://192.168.1.80:54321/2/Exec2.json?str=r3.hex=i.hex 2013-12-17 14:41:38.191916 -- Start http://192.168.1.80:54321/2/Exec2.json?str=z.hex=r.hex-r.hex; 2013-12-17 14:41:40.915687 -- Start http://192.168.1.80:54321/2/Exec2.json?str=z.hex=r.hex[nrow(r.hex),];

    JIRA | 3 years ago | Kevin Normoyle
    java.lang.ArrayIndexOutOfBoundsException: 600275
  4. 0

    Finding mean departure delays by day of week, using following function- fun <- function(df){ sum(df[,16],na.rm=T)/nrow(df) } h2o.addFunction(remote.h2o, fun) res <- h2o.ddply(air_noDepDelayedNAs, c('DayOfWeek'), fun) Error in .h2o.__remoteSend(client, .h2o.__PAGE_EXEC2, str = expr) : http://192.168.1.162:54545/2/Exec2.json returned the following error: from /192.168.1.162:54545; java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 8388608 Get following error (on master)- 06-Mar 01:06:22.103 192.168.1.162:54545 31087 # Session INFO HTTPD: POST /2/Exec2.json str=Last.value.19 = ddply(Last.value.13,c(4),fun) 06-Mar 01:06:49.975 192.168.1.162:54545 31087 # Session ERRR WATER: + water.DException$DistributedException: from /192.168.1.162:54545; java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 8388608 + at water.fvec.NewChunk.append2slow(NewChunk.java:151) + at water.fvec.NewChunk.append2(NewChunk.java:122) + at water.fvec.NewChunk.addNum(NewChunk.java:91) + at water.fvec.Frame$DeepSlice.map(Frame.java:762) + at water.MRTask2.compute2(MRTask2.java:366) + at water.H2O$H2OCountedCompleter.compute(H2O.java:713) + 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)

    JIRA | 3 years ago | Nidhi Mehta
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 8388608

    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

      3

      at water.fvec.Frame$DeepSlice.map()
    2. water.fvec
      Frame$DeepSlice.map
      1. water.fvec.Frame$DeepSlice.map(Frame.java:832)
      1 frame
    3. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask2.compute2(MRTask2.java:404)
      2. water.MRTask2.compute2(MRTask2.java:358)
      3. water.MRTask2.compute2(MRTask2.java:358)
      4. water.MRTask2.compute2(MRTask2.java:358)
      5. water.H2O$H2OCountedCompleter.compute(H2O.java:732)
      5 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