java.lang.ArrayIndexOutOfBoundsException: 512

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

    Data on 192.168.1.162 /home/nidhi/kddcup.data.corrected On Master Build git hash:6237360cf1f5e5fc3a6e602c806dd72a6dfc5c6a Slit frame 02:49:37.815 # Session INFO HTTPD: GET /2/FrameSplitPage.html ratios=0.7 source=kddcup_data.hex Exception in thread "FJ-0-51" java.lang.ArrayIndexOutOfBoundsException: 512 at water.fvec.NewChunk.chunkD(NewChunk.java:663) at water.fvec.NewChunk.compress(NewChunk.java:405) at water.fvec.NewChunk.new_close(NewChunk.java:292) at water.fvec.Chunk.close(Chunk.java:145) at water.fvec.NewChunkHelper.extractChunkPart(NewChunkHelper.java:43) at hex.FrameSplitter$FrameSplitTask.map(FrameSplitter.java:156) at water.MRTask2.compute2(MRTask2.java:378) at water.H2O$H2OCountedCompleter.compute(H2O.java:731) 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) java.lang.AssertionError: Key kddcup_data_part0.hex already locked; lks=[null] at water.Lockable$PriorWriteLock.atomic(Lockable.java:81) at water.Lockable$PriorWriteLock.atomic(Lockable.java:74) at water.TAtomic.atomic(TAtomic.java:19) at water.Atomic.compute2(Atomic.java:58) at water.Atomic.fork(Atomic.java:42) at water.Atomic.invoke(Atomic.java:34) at water.Lockable.delete(Lockable.java:113) at hex.FrameSplitter.onDone(FrameSplitter.java:125) at hex.FrameSplitter.onExceptionalCompletion(FrameSplitter.java:82) at jsr166y.CountedCompleter.internalPropagateException(CountedCompleter.java:421) at jsr166y.ForkJoinTask.setExceptionalCompletion(ForkJoinTask.java:453) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:265) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) The two splited files seem to exist in storeview, and if try to deleted them get - Key kddcup_data_part0.hex already locked; lks=[null] Screen shot attached

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

    Data on 192.168.1.162 /home/nidhi/kddcup.data.corrected On Master Build git hash:6237360cf1f5e5fc3a6e602c806dd72a6dfc5c6a Slit frame 02:49:37.815 # Session INFO HTTPD: GET /2/FrameSplitPage.html ratios=0.7 source=kddcup_data.hex Exception in thread "FJ-0-51" java.lang.ArrayIndexOutOfBoundsException: 512 at water.fvec.NewChunk.chunkD(NewChunk.java:663) at water.fvec.NewChunk.compress(NewChunk.java:405) at water.fvec.NewChunk.new_close(NewChunk.java:292) at water.fvec.Chunk.close(Chunk.java:145) at water.fvec.NewChunkHelper.extractChunkPart(NewChunkHelper.java:43) at hex.FrameSplitter$FrameSplitTask.map(FrameSplitter.java:156) at water.MRTask2.compute2(MRTask2.java:378) at water.H2O$H2OCountedCompleter.compute(H2O.java:731) 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) java.lang.AssertionError: Key kddcup_data_part0.hex already locked; lks=[null] at water.Lockable$PriorWriteLock.atomic(Lockable.java:81) at water.Lockable$PriorWriteLock.atomic(Lockable.java:74) at water.TAtomic.atomic(TAtomic.java:19) at water.Atomic.compute2(Atomic.java:58) at water.Atomic.fork(Atomic.java:42) at water.Atomic.invoke(Atomic.java:34) at water.Lockable.delete(Lockable.java:113) at hex.FrameSplitter.onDone(FrameSplitter.java:125) at hex.FrameSplitter.onExceptionalCompletion(FrameSplitter.java:82) at jsr166y.CountedCompleter.internalPropagateException(CountedCompleter.java:421) at jsr166y.ForkJoinTask.setExceptionalCompletion(ForkJoinTask.java:453) at jsr166y.ForkJoinTask.doExec(ForkJoinTask.java:265) at jsr166y.ForkJoinPool$WorkQueue.runTask(ForkJoinPool.java:974) at jsr166y.ForkJoinPool.runWorker(ForkJoinPool.java:1477) at jsr166y.ForkJoinWorkerThread.run(ForkJoinWorkerThread.java:104) The two splited files seem to exist in storeview, and if try to deleted them get - Key kddcup_data_part0.hex already locked; lks=[null] Screen shot attached

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

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      512

      at water.fvec.NewChunk.chunkD()
    2. water.fvec
      NewChunkHelper.extractChunkPart
      1. water.fvec.NewChunk.chunkD(NewChunk.java:663)
      2. water.fvec.NewChunk.compress(NewChunk.java:405)
      3. water.fvec.NewChunk.new_close(NewChunk.java:292)
      4. water.fvec.Chunk.close(Chunk.java:145)
      5. water.fvec.NewChunkHelper.extractChunkPart(NewChunkHelper.java:43)
      5 frames
    3. hex
      FrameSplitter$FrameSplitTask.map
      1. hex.FrameSplitter$FrameSplitTask.map(FrameSplitter.java:156)
      1 frame
    4. water
      H2O$H2OCountedCompleter.compute
      1. water.MRTask2.compute2(MRTask2.java:378)
      2. water.H2O$H2OCountedCompleter.compute(H2O.java:731)
      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