albertogpz commented on a change in pull request #7471: URL: https://github.com/apache/geode/pull/7471#discussion_r832472455
########## File path: geode-core/src/main/java/org/apache/geode/cache/client/internal/QueueManagerImpl.java ########## @@ -853,7 +853,8 @@ void recoverPrimary(Set<ServerLocation> excludedServers) { return; } final boolean isDebugEnabled = logger.isDebugEnabled(); - if (queueConnections.getPrimary() != null && !queueConnections.getPrimary().isDestroyed()) { + if (queueConnections != null && queueConnections.getPrimary() != null + && !queueConnections.getPrimary().isDestroyed()) { Review comment: Under what circumstance could queueConnections become null? If there is a condition for that, I would write a test case to verify the fix. -- 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: notifications-unsubscr...@geode.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org