diff --git a/geode-web/src/main/java/org/apache/geode/management/internal/web/http/converter/ServerSerializableObjectHttpMessageConverter.java b/geode-web/src/main/java/org/apache/geode/management/internal/web/http/converter/ServerSerializableObjectHttpMessageConverter.java index bf3b574fd6b8..f04d472b0f57 100644 --- a/geode-web/src/main/java/org/apache/geode/management/internal/web/http/converter/ServerSerializableObjectHttpMessageConverter.java +++ b/geode-web/src/main/java/org/apache/geode/management/internal/web/http/converter/ServerSerializableObjectHttpMessageConverter.java @@ -62,7 +62,8 @@ public ServerSerializableObjectHttpMessageConverter() { @Override protected boolean supports(final Class type) { if (logger.isTraceEnabled()) { - logger.trace(String.format("%1$s.supports(%2$s)", getClass().getName(), type.getName()), + logger.trace(String.format("%1$s.supports(%2$s)", getClass().getName(), + type == null ? null : type.getName()), new Throwable()); }