mattisonchao commented on code in PR #19571:
URL: https://github.com/apache/pulsar/pull/19571#discussion_r1112451746


##########
pulsar-broker/src/main/java/org/apache/pulsar/broker/service/persistent/PersistentDispatcherMultipleConsumers.java:
##########
@@ -781,7 +782,7 @@ private boolean sendChunkedMessagesToConsumers(ReadType 
readType,
             }
             final SendMessageInfo sendMessageInfo = 
SendMessageInfo.getThreadLocal();
             final EntryBatchSizes batchSizes = 
EntryBatchSizes.get(messagesForC);
-            final EntryBatchIndexesAcks batchIndexesAcks = 
EntryBatchIndexesAcks.get(messagesForC);
+            final EntryBatchIndexesAcks batchIndexesAcks = 
getEntryBatchIndexesAcks(messagesForC);

Review Comment:
   There is an NPE at line 799



-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to