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

Chia-Ping Tsai updated KAFKA-19990:
-----------------------------------
    Fix Version/s: 3.9.2
                   4.2.0
                   4.0.2
                   4.1.2

> NPE on handling an AllocateProducerIdsResponse 
> -----------------------------------------------
>
>                 Key: KAFKA-19990
>                 URL: https://issues.apache.org/jira/browse/KAFKA-19990
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 3.9.1, 4.1.1
>            Reporter: Gaurav Narula
>            Assignee: Gaurav Narula
>            Priority: Major
>             Fix For: 3.9.2, 4.2.0, 4.0.2, 4.1.2
>
>
> {{RPCProducerIdManager}} attempts to invoke 
> {{handleAllocateProducerIdsResponse}} without checks for 
> {{authenticationException}} and {{versionMismatch}} which can cause NPE at 
> {{response.data()}} since {{response}} might be {{null}}.
> Update: The NPE is only in the Scala implmentation of 
> {{RPCProducerIdManager}}. Trunk is not impacted by the NPE but the broker 
> will not retry the request on auth failure.



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

Reply via email to