[ 
https://issues.apache.org/jira/browse/PHOENIX-4864?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16592169#comment-16592169
 ] 

ASF GitHub Bot commented on PHOENIX-4864:
-----------------------------------------

Github user karanmehta93 commented on a diff in the pull request:

    https://github.com/apache/phoenix/pull/336#discussion_r212756862
  
    --- Diff: 
phoenix-core/src/it/java/org/apache/phoenix/monitoring/PhoenixLoggingMetricsIT.java
 ---
    @@ -32,6 +35,7 @@
     
     import static org.junit.Assert.assertTrue;
     
    +
    --- End diff --
    
    nit


> Fix NullPointerException while Logging some DDL Statements
> ----------------------------------------------------------
>
>                 Key: PHOENIX-4864
>                 URL: https://issues.apache.org/jira/browse/PHOENIX-4864
>             Project: Phoenix
>          Issue Type: Bug
>            Reporter: Ashutosh Parekh
>            Priority: Minor
>
> 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)
> ...



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)

Reply via email to