Yuta HIGUCHI

NettyMessagingService: add null check

Change-Id: Ic4897e69253526d3c3cd2c0a0fe00df1bdc7d787
......@@ -315,7 +315,11 @@ public class NettyMessagingService implements MessagingService {
return;
}
MessageHandler handler = NettyMessagingService.this.getMessageHandler(type);
handler.handle(message);
if (handler != null) {
handler.handle(message);
} else {
log.debug("No handler registered for {}", type);
}
}
@Override
......