You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@geode.apache.org by "Owen Nichols (Jira)" <ji...@apache.org> on 2022/06/22 20:47:03 UTC

[jira] [Closed] (GEODE-9867) NPE When a connection is terminated after the client already sent in the operation

     [ https://issues.apache.org/jira/browse/GEODE-9867?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Owen Nichols closed GEODE-9867.
-------------------------------

> 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.7#820007)