From 053d29dc1967133e453c8e07f585def88b752cc7 Mon Sep 17 00:00:00 2001 From: Mark Payne Date: Tue, 10 Mar 2015 12:01:42 -0400 Subject: [PATCH] NIFI-409: Fixed NPE --- .../apache/nifi/remote/client/socket/EndpointConnectionPool.java | 1 - 1 file changed, 1 deletion(-) diff --git a/nifi/nifi-commons/nifi-site-to-site-client/src/main/java/org/apache/nifi/remote/client/socket/EndpointConnectionPool.java b/nifi/nifi-commons/nifi-site-to-site-client/src/main/java/org/apache/nifi/remote/client/socket/EndpointConnectionPool.java index 885f3579dd..e80f3284f5 100644 --- a/nifi/nifi-commons/nifi-site-to-site-client/src/main/java/org/apache/nifi/remote/client/socket/EndpointConnectionPool.java +++ b/nifi/nifi-commons/nifi-site-to-site-client/src/main/java/org/apache/nifi/remote/client/socket/EndpointConnectionPool.java @@ -314,7 +314,6 @@ public class EndpointConnectionPool { if ( protocol.isDestinationFull() ) { logger.warn("{} {} indicates that port's destination is full; penalizing peer", this, peer); penalize(peer, penalizationMillis); - connectionQueue.offer(connection); continue; } else if ( protocol.isPortInvalid() ) { penalize(peer, penalizationMillis);