You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@phoenix.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/08/24 02:09:00 UTC

[jira] [Commented] (PHOENIX-4864) Fix NullPointerException while Logging some DDL Statements

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

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

GitHub user ashuparekh opened a pull request:

    https://github.com/apache/phoenix/pull/336

    PHOENIX-4864 Fix NullPointerException while Logging some DDL Statements

    Fixed the error. Still to add corresponding test case. @vincentpoon @karanmehta93 

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/ashuparekh/phoenix 4.x-HBase-1.4

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/phoenix/pull/336.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #336
    
----
commit e34d4ee4e81ede77a3076815f86c2d2d10917e5a
Author: Ashutosh <ap...@...>
Date:   2018-08-23T19:11:23Z

    PHOENIX-4864 Fix NullPointerException while Logging some DDL Statements

----


> 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)