Description
We encounter a NullPointerException when ResultSet is null when some type of DDL queries are executed. The following error is encountered.
java.lang.NullPointerException: null
at org.apache.phoenix.jdbc.LoggingPhoenixResultSet.close(LoggingPhoenixResultSet.java:40)
at org.apache.calcite.avatica.jdbc.JdbcMeta$StatementExpiryHandler.onRemoval(JdbcMeta.java:1105)
at com.google.common.cache.LocalCache.processPendingNotifications(LocalCache.java:1963)
...