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

Apache's JIRA Issue Tracker | S Shan | 1 year ago
tip
Click on the to mark the solution that helps you, Samebug will learn from it.
As a community member, you’ll be rewarded for you help.
  1. 0

    While running the tests and examples from Kafka c/c++ library librdkafka (version 0.9), Kafka repeated threw the ArrayIndexOutOfBoundsException due to "Array index out of range". [2016-04-13 12:02:27,490] ERROR Processor got uncaught exception. (kafka.network.Processor) java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 17 at org.apache.kafka.common.protocol.ApiKeys.forId(ApiKeys.java:68) at org.apache.kafka.common.requests.AbstractRequest.getRequest(AbstractRequest.java:39) at kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:79) at kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:426) at kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:421) at scala.collection.Iterator$class.foreach(Iterator.scala:742) at scala.collection.AbstractIterator.foreach(Iterator.scala:1194) at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) at scala.collection.AbstractIterable.foreach(Iterable.scala:54) at kafka.network.Processor.run(SocketServer.scala:421) at java.lang.Thread.run(Thread.java:798) ... [2016-04-20 13:39:59,973] INFO [Group Metadata Manager on Broker 2]: Removed 0 expired offsets in 0 milliseconds. (kafka.coordinator.GroupMetadataManager) [2016-04-20 13:40:00,446] INFO [Group Metadata Manager on Broker 0]: Removed 0 expired offsets in 0 milliseconds. (kafka.coordinator.GroupMetadataManager) [2016-04-20 13:40:07,135] ERROR Processor got uncaught exception. (kafka.network.Processor) java.lang.ArrayIndexOutOfBoundsException at org.apache.kafka.common.protocol.ApiKeys.forId(ApiKeys.java:68) at org.apache.kafka.common.requests.AbstractRequest.getRequest(AbstractRequest.java:39) at kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:79) at kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:426) at kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:421) at scala.collection.Iterator$class.foreach(Iterator.scala:742) at scala.collection.AbstractIterator.foreach(Iterator.scala:1194) at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) at scala.collection.AbstractIterable.foreach(Iterable.scala:54) at kafka.network.Processor.run(SocketServer.scala:421) at java.lang.Thread.run(Thread.java:798) [2016-04-20 13:40:17,478] ERROR Processor got uncaught exception. (kafka.network.Processor) java.lang.ArrayIndexOutOfBoundsException at org.apache.kafka.common.protocol.ApiKeys.forId(ApiKeys.java:68) at org.apache.kafka.common.requests.AbstractRequest.getRequest(AbstractRequest.java:39) at kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:79) at kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:426) at kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:421) at scala.collection.Iterator$class.foreach(Iterator.scala:742) at scala.collection.AbstractIterator.foreach(Iterator.scala:1194) at scala.collection.IterableLike$class.foreach(IterableLike.scala:72) at scala.collection.AbstractIterable.foreach(Iterable.scala:54) at kafka.network.Processor.run(SocketServer.scala:421) at java.lang.Thread.run(Thread.java:798)

    Apache's JIRA Issue Tracker | 1 year ago | S Shan
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 17
  2. 0

    Help: use sasl plain failed?

    GitHub | 7 months ago | skysilence
    java.lang.ArrayIndexOutOfBoundsException: 18
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 606#208733436

    GitHub | 1 year ago | ah-
    java.lang.ArrayIndexOutOfBoundsException: 17
  5. 0

    VGO server crashing

    GitHub | 2 years ago | dweer
    java.lang.ArrayIndexOutOfBoundsException: 0 at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_ 150819_a(SourceFile:34) at net.minecraft.world.chunk.storage.ExtendedBlockStorage.func_ 76672_e(SourceFile:121) at net.minecraft.world.chunk.storage.AnvilChunkLoader.func_7582 3_a(AnvilChunkLoader.java:441) at net.minecraft.world.chunk.storage.AnvilChunkLoader.checkedRe adChunkFromNBT__Async(AnvilChunkLoader.java:154) at net.minecraft.world.chunk.storage.AnvilChunkLoader.loadChunk __Async(AnvilChunkLoader.java:124) at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage1 (ChunkIOProvider.java:20) at net.minecraftforge.common.chunkio.ChunkIOProvider.callStage1 (ChunkIOProvider.java:12) at net.minecraftforge.common.util.AsynchronousExecutor$Task.ini t(AsynchronousExecutor.java:151) at net.minecraftforge.common.util.AsynchronousExecutor$Task.ini tAsync(AsynchronousExecutor.java:96) at net.minecraftforge.common.util.AsynchronousExecutor$Task.run (AsynchronousExecutor.java:86) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPool Executor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoo lExecutor.java:615)

    1 unregistered visitors
    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

      Array index out of range: 17

      at org.apache.kafka.common.protocol.ApiKeys.forId()
    2. Apache Kafka
      AbstractRequest.getRequest
      1. org.apache.kafka.common.protocol.ApiKeys.forId(ApiKeys.java:68)
      2. org.apache.kafka.common.requests.AbstractRequest.getRequest(AbstractRequest.java:39)
      2 frames
    3. Apache Kafka
      Processor$$anonfun$run$11.apply
      1. kafka.network.RequestChannel$Request.<init>(RequestChannel.scala:79)
      2. kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:426)
      3. kafka.network.Processor$$anonfun$run$11.apply(SocketServer.scala:421)
      3 frames
    4. Scala
      AbstractIterable.foreach
      1. scala.collection.Iterator$class.foreach(Iterator.scala:742)
      2. scala.collection.AbstractIterator.foreach(Iterator.scala:1194)
      3. scala.collection.IterableLike$class.foreach(IterableLike.scala:72)
      4. scala.collection.AbstractIterable.foreach(Iterable.scala:54)
      4 frames
    5. Apache Kafka
      Processor.run
      1. kafka.network.Processor.run(SocketServer.scala:421)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:798)
      1 frame