java.lang.ArrayIndexOutOfBoundsException: 5

GitHub | getGitxxx | 6 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

    presto-kafka Query kafka topic got error ArrayIndexOutOfBoundsException sometimes

    Google Groups | 6 months ago | Chris Yuan
    java.lang.ArrayIndexOutOfBoundsException: 5
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      5

      at kafka.api.TopicMetadata$$anonfun$readFrom$1.apply$mcVI$sp()
    2. Apache Kafka
      TopicMetadata$$anonfun$readFrom$1.apply$mcVI$sp
      1. kafka.api.TopicMetadata$$anonfun$readFrom$1.apply$mcVI$sp(TopicMetadata.scala:38)
      1 frame
    3. Scala
      Range.foreach$mVc$sp
      1. scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)
      1 frame
    4. Apache Kafka
      TopicMetadataResponse$$anonfun$3.apply
      1. kafka.api.TopicMetadata$.readFrom(TopicMetadata.scala:36)
      2. kafka.api.TopicMetadataResponse$$anonfun$3.apply(TopicMetadataResponse.scala:31)
      3. kafka.api.TopicMetadataResponse$$anonfun$3.apply(TopicMetadataResponse.scala:31)
      3 frames
    5. Scala
      AbstractTraversable.map
      1. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      2. scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)
      3. scala.collection.immutable.Range.foreach(Range.scala:141)
      4. scala.collection.TraversableLike$class.map(TraversableLike.scala:244)
      5. scala.collection.AbstractTraversable.map(Traversable.scala:105)
      5 frames
    6. Apache Kafka
      SimpleConsumer.send
      1. kafka.api.TopicMetadataResponse$.readFrom(TopicMetadataResponse.scala:31)
      2. kafka.consumer.SimpleConsumer.send(SimpleConsumer.scala:92)
      3. kafka.javaapi.consumer.SimpleConsumer.send(SimpleConsumer.scala:68)
      3 frames
    7. com.facebook.presto
      KafkaSplitManager.getSplits
      1. com.facebook.presto.kafka.KafkaSplitManager.getSplits(KafkaSplitManager.java:83)
      1 frame
    8. presto-main
      QueuedExecution.lambda$start$1
      1. com.facebook.presto.split.SplitManager.getSplits(SplitManager.java:45)
      2. com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitTableScan(DistributedExecutionPlanner.java:112)
      3. com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitTableScan(DistributedExecutionPlanner.java:92)
      4. com.facebook.presto.sql.planner.plan.TableScanNode.accept(TableScanNode.java:135)
      5. com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitLimit(DistributedExecutionPlanner.java:258)
      6. com.facebook.presto.sql.planner.DistributedExecutionPlanner$Visitor.visitLimit(DistributedExecutionPlanner.java:92)
      7. com.facebook.presto.sql.planner.plan.LimitNode.accept(LimitNode.java:86)
      8. com.facebook.presto.sql.planner.DistributedExecutionPlanner.plan(DistributedExecutionPlanner.java:78)
      9. com.facebook.presto.sql.planner.DistributedExecutionPlanner.plan(DistributedExecutionPlanner.java:83)
      10. com.facebook.presto.execution.SqlQueryExecution.planDistribution(SqlQueryExecution.java:303)
      11. com.facebook.presto.execution.SqlQueryExecution.start(SqlQueryExecution.java:226)
      12. com.facebook.presto.execution.QueuedExecution.lambda$start$1(QueuedExecution.java:62)
      12 frames
    9. Java RT
      Thread.run
      1. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
      2. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
      3. java.lang.Thread.run(Thread.java:745)
      3 frames