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) 

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via hortonworks.com by Unknown author, 1 year ago
scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244at scala.collection.TraversableLike$$anonfun$map$1.apply(TraversableLike.scala:244at scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59
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(ProducerPerformance.scala)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.