YordanPavlov commented on PR #15444:
URL: https://github.com/apache/kafka/pull/15444#issuecomment-2851054615

   Hi @chiacyu @showuon 
   can you please explain how this fix prevents the NPE, since at this point:
   
https://github.com/apache/kafka/blob/trunk/storage/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogManager.java#L998
   the Optional is again converted to null. The an NPE happens a bit latter:
   
https://github.com/apache/kafka/blob/trunk/storage/src/main/java/org/apache/kafka/server/log/remote/storage/RemoteLogManager.java#L1014


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: jira-unsubscr...@kafka.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to