diff --git a/grpc/src/main/java/com/navercorp/pinpoint/grpc/channelz/ChannelzServerTransportFilter.java b/grpc/src/main/java/com/navercorp/pinpoint/grpc/channelz/ChannelzServerTransportFilter.java index f7760229a8ff..1d1651882dbe 100644 --- a/grpc/src/main/java/com/navercorp/pinpoint/grpc/channelz/ChannelzServerTransportFilter.java +++ b/grpc/src/main/java/com/navercorp/pinpoint/grpc/channelz/ChannelzServerTransportFilter.java @@ -49,6 +49,10 @@ private TransportMetadata getTransportMetadata(Attributes transportAttrs) { @Override public void transportTerminated(Attributes transportAttrs) { + // transport is not ready + if (transportAttrs == null) { + return; + } final TransportMetadata transportMetadata = getTransportMetadata(transportAttrs); final InetSocketAddress remoteAddress = transportMetadata.getRemoteAddress();