java.lang.ArrayIndexOutOfBoundsException: 18

kafka-users | 王天鹏 | 7 months 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

    Help: use sasl plain failed?

    GitHub | 4 months ago | skysilence
    java.lang.ArrayIndexOutOfBoundsException: 18
  2. 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 | 10 months ago | S Shan
    java.lang.ArrayIndexOutOfBoundsException: Array index out of range: 17
  3. Speed up your debug routine!

    Automated exception search integrated into your IDE

  4. 0

    GitHub comment 606#208733436

    GitHub | 10 months ago | ah-
    java.lang.ArrayIndexOutOfBoundsException: 17

    1 unregistered visitors

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      18

      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:745)
      1 frame