satishd commented on code in PR #13040: URL: https://github.com/apache/kafka/pull/13040#discussion_r1101429242
########## core/src/test/scala/integration/kafka/api/TransactionsTest.scala: ########## @@ -685,7 +685,7 @@ class TransactionsTest extends IntegrationTestHarness { // get here without having bumped the epoch. If bumping the epoch is possible, the producer will attempt to, so // check there that the epoch has actually increased producerStateEntry = - brokers(partitionLeader).logManager.getLog(new TopicPartition(testTopic, 0)).get.producerStateManager.activeProducers(producerId) + brokers(partitionLeader).logManager.getLog(new TopicPartition(testTopic, 0)).get.producerStateManager.activeProducers.get(producerId) Review Comment: Added a not null check for `producerStateEntry`. -- 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