This is an automated email from the ASF dual-hosted git repository. markt pushed a commit to branch 10.0.x in repository https://gitbox.apache.org/repos/asf/tomcat.git
The following commit(s) were added to refs/heads/10.0.x by this push: new 0e44119 Fix NPE observed investigating current CI failuers 0e44119 is described below commit 0e44119742ff742cf2c0fadf81d742ecad749bce Author: Mark Thomas <ma...@apache.org> AuthorDate: Thu Nov 11 10:11:49 2021 +0000 Fix NPE observed investigating current CI failuers --- java/org/apache/tomcat/util/net/AprEndpoint.java | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/java/org/apache/tomcat/util/net/AprEndpoint.java b/java/org/apache/tomcat/util/net/AprEndpoint.java index b3fbf22..9dda480 100644 --- a/java/org/apache/tomcat/util/net/AprEndpoint.java +++ b/java/org/apache/tomcat/util/net/AprEndpoint.java @@ -2343,7 +2343,10 @@ public class AprEndpoint extends AbstractEndpoint<Long,Long> implements SNICallB if (sslOutputBuffer != null) { ByteBufferUtils.cleanDirectBuffer(sslOutputBuffer); } - ((AprEndpoint) getEndpoint()).getPoller().close(getSocket().longValue()); + Poller poller = ((AprEndpoint) getEndpoint()).getPoller(); + if (poller != null) { + poller.close(getSocket().longValue()); + } } --------------------------------------------------------------------- To unsubscribe, e-mail: dev-unsubscr...@tomcat.apache.org For additional commands, e-mail: dev-h...@tomcat.apache.org