[ https://issues.apache.org/jira/browse/KAFKA-3141?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15113399#comment-15113399 ]
ASF GitHub Bot commented on KAFKA-3141: --------------------------------------- GitHub user SinghAsDev opened a pull request: https://github.com/apache/kafka/pull/806 KAFKA-3141: Skip misformed properties instead of throwing ArrayIndexO… Skip misformed properties instead of throwing ArrayIndexOutOfBoundsException You can merge this pull request into a Git repository by running: $ git pull https://github.com/SinghAsDev/kafka KAFKA-3141 Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/806.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #806 ---- commit c7ff10bdde3482db2d594faaa6760ea5c0137c0b Author: Ashish Singh <asi...@cloudera.com> Date: 2016-01-23T00:24:15Z KAFKA-3141: Skip misformed properties instead of throwing ArrayIndexOutOfBoundsException ---- > kafka-acls.sh throws ArrayIndexOutOfBoundsException for an invalid > authorizer-property > -------------------------------------------------------------------------------------- > > Key: KAFKA-3141 > URL: https://issues.apache.org/jira/browse/KAFKA-3141 > Project: Kafka > Issue Type: Bug > Reporter: Ashish K Singh > Assignee: Ashish K Singh > > kafka-acls.sh throws ArrayIndexOutOfBoundsException for an invalid > authorizer-property. ST below. > {code} > Error while executing topic Acl command 1 > java.lang.ArrayIndexOutOfBoundsException: 1 > at > kafka.admin.AclCommand$$anonfun$withAuthorizer$2.apply(AclCommand.scala:65) > at > kafka.admin.AclCommand$$anonfun$withAuthorizer$2.apply(AclCommand.scala:65) > at > scala.collection.mutable.ResizableArray$class.foreach(ResizableArray.scala:59) > at scala.collection.mutable.ArrayBuffer.foreach(ArrayBuffer.scala:47) > at kafka.admin.AclCommand$.withAuthorizer(AclCommand.scala:65) > at kafka.admin.AclCommand$.addAcl(AclCommand.scala:78) > at kafka.admin.AclCommand$.main(AclCommand.scala:48) > at kafka.admin.AclCommand.main(AclCommand.scala) > {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)