[ https://issues.apache.org/jira/browse/GEODE-9867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Anthony Baker updated GEODE-9867: --------------------------------- Labels: GeodeOperationAPI pull-request-available unreleased (was: GeodeOperationAPI pull-request-available) > NPE When a connection is terminated after the client already sent in the > operation > ---------------------------------------------------------------------------------- > > Key: GEODE-9867 > URL: https://issues.apache.org/jira/browse/GEODE-9867 > Project: Geode > Issue Type: Bug > Components: client/server > Reporter: Jinmei Liao > Assignee: Jinmei Liao > Priority: Major > Labels: GeodeOperationAPI, pull-request-available, unreleased > Fix For: 1.15.0 > > > The sequence of action is: > # the client sent in the operation to the server > # the message dispatcher to the client encountered some error and unregister > this client and terminates the connection > # the other thread continues to use the connection to process the command > and we get the NPE: > > java.lang.NullPointerException > at > org.apache.geode.internal.cache.tier.sockets.ServerConnection.bindSubject(ServerConnection.java:907) > at > org.apache.geode.internal.cache.tier.sockets.ServerConnection.doNormalMessage(ServerConnection.java:867) > at > org.apache.geode.internal.cache.tier.sockets.ServerConnection.doOneMessage(ServerConnection.java:1055) > at > org.apache.geode.internal.cache.tier.sockets.ServerConnection.run(ServerConnection.java:1326) > at > java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149) > at > java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624) > at > org.apache.geode.internal.cache.tier.sockets.AcceptorImpl.lambda$initializeServerConnectionThreadPool$3(AcceptorImpl.java:690) > at > org.apache.geode.logging.internal.executors.LoggingThreadFactory.lambda$newThread$0(LoggingThreadFactory.java:120) > at java.lang.Thread.run(Thread.java:748) -- This message was sent by Atlassian Jira (v8.20.1#820001)