java.lang.ArrayIndexOutOfBoundsException: 1  at kafka.client.ClientUtils$$anonfun$parseBrokerList$1.apply(ClientUtils.scala:102)  at kafka.client.ClientUtils$$anonfun$parseBrokerList$1.apply(ClientUtils.scala:97)  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)  at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)  at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)  at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)  at scala.collection.AbstractTraversable.map(Traversable.scala:105)  at kafka.client.ClientUtils$.parseBrokerList(ClientUtils.scala:97)  at kafka.producer.BrokerPartitionInfo.<init>(BrokerPartitionInfo.scala:32)  at kafka.producer.async.DefaultEventHandler.<init>(DefaultEventHandler.scala:41)  at kafka.producer.Producer.<init>(Producer.scala:59)  at kafka.perf.ProducerPerformance$ProducerThread.<init>(ProducerPerformance.scala:196)  at kafka.perf.ProducerPerformance$$anonfun$main$1.apply$mcVI$sp(ProducerPerformance.scala:57)  at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)  at kafka.perf.ProducerPerformance$.main(ProducerPerformance.scala:56) 

hortonworks.com | 8 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. 1

    Kafka broker produces an array index out of bounds error - Hortonworks

    hortonworks.com | 8 months ago
    java.lang.ArrayIndexOutOfBoundsException: 1  at kafka.client.ClientUtils$$anonfun$parseBrokerList$1.apply(ClientUtils.scala:102)  at kafka.client.ClientUtils$$anonfun$parseBrokerList$1.apply(ClientUtils.scala:97)  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)  at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)  at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)  at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)  at scala.collection.AbstractTraversable.map(Traversable.scala:105)  at kafka.client.ClientUtils$.parseBrokerList(ClientUtils.scala:97)  at kafka.producer.BrokerPartitionInfo.<init>(BrokerPartitionInfo.scala:32)  at kafka.producer.async.DefaultEventHandler.<init>(DefaultEventHandler.scala:41)  at kafka.producer.Producer.<init>(Producer.scala:59)  at kafka.perf.ProducerPerformance$ProducerThread.<init>(ProducerPerformance.scala:196)  at kafka.perf.ProducerPerformance$$anonfun$main$1.apply$mcVI$sp(ProducerPerformance.scala:57)  at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)  at kafka.perf.ProducerPerformance$.main(ProducerPerformance.scala:56) 

    Root Cause Analysis

    1. java.lang.ArrayIndexOutOfBoundsException

      1  at kafka.client.ClientUtils$$anonfun$parseBrokerList$1.apply(ClientUtils.scala:102)  at kafka.client.ClientUtils$$anonfun$parseBrokerList$1.apply(ClientUtils.scala:97)  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)  at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244)  at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59)  at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47)  at scala.collection.TraversableLike$class.map(TraversableLike.scala:244)  at scala.collection.AbstractTraversable.map(Traversable.scala:105)  at kafka.client.ClientUtils$.parseBrokerList(ClientUtils.scala:97)  at kafka.producer.BrokerPartitionInfo.<init>(BrokerPartitionInfo.scala:32)  at kafka.producer.async.DefaultEventHandler.<init>(DefaultEventHandler.scala:41)  at kafka.producer.Producer.<init>(Producer.scala:59)  at kafka.perf.ProducerPerformance$ProducerThread.<init>(ProducerPerformance.scala:196)  at kafka.perf.ProducerPerformance$$anonfun$main$1.apply$mcVI$sp(ProducerPerformance.scala:57)  at scala.collection.immutable.Range.foreach$mVc$sp(Range.scala:141)  at kafka.perf.ProducerPerformance$.main(ProducerPerformance.scala:56) 

      at kafka.perf.ProducerPerformance.main()
    2. kafka.perf
      ProducerPerformance.main
      1. kafka.perf.ProducerPerformance.main(ProducerPerformance.scala)
      1 frame