You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Tamas Kornai (Jira)" <ji...@apache.org> on 2021/02/08 14:23:00 UTC

[jira] [Updated] (KAFKA-12312) kafka_2.13:2.6.1 throws NoSuchMethodError when running against scala-sdk-2.13.4

     [ https://issues.apache.org/jira/browse/KAFKA-12312?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Tamas Kornai updated KAFKA-12312:
---------------------------------
    Description: 
The below snippet runs without issues with {{scala-sdk-2.13.3}}, but throws {{NoSuchMethodError}} for {{scala-sdk-2.13.4}}: 
{quote}val authorize = new AclAuthorizer()
 val acls = authorize.acls(AclBindingFilter.ANY)
{quote}
The error is: 
{quote}Exception in thread "main" java.lang.NoSuchMethodError: 'scala.collection.immutable.RedBlackTree$Tree scala.collection.immutable.TreeMap.scala$collection$immutable$TreeMap$$tree()'
 at kafka.security.authorizer.AclAuthorizer.acls(AclAuthorizer.scala:293)
{quote}

  was:
The below snippet runs without issues with {{scala-sdk-2.13.3}}, but throws {{NoSuchMethodError}} for {{scala-sdk-2.13.4}}: 
{quote}{{    val authorize = new AclAuthorizer()
    val acls = authorize.acls(AclBindingFilter.ANY)}}
{quote}
The error is: 
{quote}{{Exception in thread "main" java.lang.NoSuchMethodError: 'scala.collection.immutable.RedBlackTree$Tree scala.collection.immutable.TreeMap.scala$collection$immutable$TreeMap$$tree()'
	at kafka.security.authorizer.AclAuthorizer.acls(AclAuthorizer.scala:293)}}
{quote}


> kafka_2.13:2.6.1 throws NoSuchMethodError when running against scala-sdk-2.13.4
> -------------------------------------------------------------------------------
>
>                 Key: KAFKA-12312
>                 URL: https://issues.apache.org/jira/browse/KAFKA-12312
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 2.6.0, 2.6.1
>            Reporter: Tamas Kornai
>            Priority: Minor
>
> The below snippet runs without issues with {{scala-sdk-2.13.3}}, but throws {{NoSuchMethodError}} for {{scala-sdk-2.13.4}}: 
> {quote}val authorize = new AclAuthorizer()
>  val acls = authorize.acls(AclBindingFilter.ANY)
> {quote}
> The error is: 
> {quote}Exception in thread "main" java.lang.NoSuchMethodError: 'scala.collection.immutable.RedBlackTree$Tree scala.collection.immutable.TreeMap.scala$collection$immutable$TreeMap$$tree()'
>  at kafka.security.authorizer.AclAuthorizer.acls(AclAuthorizer.scala:293)
> {quote}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)