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

Greg Harris updated KAFKA-14900:
--------------------------------
    Description: 
The AuthorizerTest has multiple tests that appear to have the same flaky 
failure:
{noformat}
org.apache.kafka.server.fault.FaultHandlerException: 
quorumTestHarnessFaultHandler: Unhandled error initializing new publishers: 
Cannot invoke "kafka.raft.KafkaRaftManager.client()" because the return value 
of "kafka.server.SharedServer.raftManager()" is null
        at 
app//kafka.server.SharedServer.$anonfun$start$3(SharedServer.scala:256)
        at 
app//org.apache.kafka.image.loader.MetadataLoader.stillNeedToCatchUp(MetadataLoader.java:229)
        at 
app//org.apache.kafka.image.loader.MetadataLoader.initializeNewPublishers(MetadataLoader.java:270)
        at 
app//org.apache.kafka.image.loader.MetadataLoader.lambda$scheduleInitializeNewPublishers$0(MetadataLoader.java:258)
        at 
app//org.apache.kafka.queue.KafkaEventQueue$EventContext.run(KafkaEventQueue.java:127)
        at 
app//org.apache.kafka.queue.KafkaEventQueue$EventHandler.handleEvents(KafkaEventQueue.java:210)
        at 
app//org.apache.kafka.queue.KafkaEventQueue$EventHandler.run(KafkaEventQueue.java:181)
        at java.base@17.0.4.1/java.lang.Thread.run(Thread.java:833)
Caused by: java.lang.NullPointerException: Cannot invoke 
"kafka.raft.KafkaRaftManager.client()" because the return value of 
"kafka.server.SharedServer.raftManager()" is null
        ... 8 more{noformat}

  was:
The AuthorizerTest has multiple tests that appear to have the same flaky 
failure:
{noformat}
org.apache.kafka.server.fault.FaultHandlerException: 
quorumTestHarnessFaultHandler: Unhandled error initializing new publishers: 
Cannot invoke "kafka.raft.KafkaRaftManager.client()" because the return value 
of "kafka.server.SharedServer.raftManager()" is null     at 
app//kafka.server.SharedServer.$anonfun$start$3(SharedServer.scala:256)      at 
app//org.apache.kafka.image.loader.MetadataLoader.stillNeedToCatchUp(MetadataLoader.java:229)
        at 
app//org.apache.kafka.image.loader.MetadataLoader.initializeNewPublishers(MetadataLoader.java:270)
   at 
app//org.apache.kafka.image.loader.MetadataLoader.lambda$scheduleInitializeNewPublishers$0(MetadataLoader.java:258)
  at 
app//org.apache.kafka.queue.KafkaEventQueue$EventContext.run(KafkaEventQueue.java:127)
       at 
app//org.apache.kafka.queue.KafkaEventQueue$EventHandler.handleEvents(KafkaEventQueue.java:210)
      at 
app//org.apache.kafka.queue.KafkaEventQueue$EventHandler.run(KafkaEventQueue.java:181)
       at java.base@17.0.4.1/java.lang.Thread.run(Thread.java:833)Caused by: 
java.lang.NullPointerException: Cannot invoke 
"kafka.raft.KafkaRaftManager.client()" because the return value of 
"kafka.server.SharedServer.raftManager()" is null        ... 8 more{noformat}


> Flaky test AuthorizerTest failing with NPE
> ------------------------------------------
>
>                 Key: KAFKA-14900
>                 URL: https://issues.apache.org/jira/browse/KAFKA-14900
>             Project: Kafka
>          Issue Type: Test
>          Components: kraft
>            Reporter: Greg Harris
>            Assignee: Greg Harris
>            Priority: Minor
>              Labels: flaky-test
>
> The AuthorizerTest has multiple tests that appear to have the same flaky 
> failure:
> {noformat}
> org.apache.kafka.server.fault.FaultHandlerException: 
> quorumTestHarnessFaultHandler: Unhandled error initializing new publishers: 
> Cannot invoke "kafka.raft.KafkaRaftManager.client()" because the return value 
> of "kafka.server.SharedServer.raftManager()" is null
>       at 
> app//kafka.server.SharedServer.$anonfun$start$3(SharedServer.scala:256)
>       at 
> app//org.apache.kafka.image.loader.MetadataLoader.stillNeedToCatchUp(MetadataLoader.java:229)
>       at 
> app//org.apache.kafka.image.loader.MetadataLoader.initializeNewPublishers(MetadataLoader.java:270)
>       at 
> app//org.apache.kafka.image.loader.MetadataLoader.lambda$scheduleInitializeNewPublishers$0(MetadataLoader.java:258)
>       at 
> app//org.apache.kafka.queue.KafkaEventQueue$EventContext.run(KafkaEventQueue.java:127)
>       at 
> app//org.apache.kafka.queue.KafkaEventQueue$EventHandler.handleEvents(KafkaEventQueue.java:210)
>       at 
> app//org.apache.kafka.queue.KafkaEventQueue$EventHandler.run(KafkaEventQueue.java:181)
>       at java.base@17.0.4.1/java.lang.Thread.run(Thread.java:833)
> Caused by: java.lang.NullPointerException: Cannot invoke 
> "kafka.raft.KafkaRaftManager.client()" because the return value of 
> "kafka.server.SharedServer.raftManager()" is null
>       ... 8 more{noformat}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to