You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@phoenix.apache.org by "Karan Mehta (JIRA)" <ji...@apache.org> on 2018/08/25 01:22:00 UTC

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

     [ https://issues.apache.org/jira/browse/PHOENIX-4864?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Karan Mehta resolved PHOENIX-4864.
----------------------------------
    Resolution: Fixed

[~ashuparekh]

Please attach the patch file here. Refer: [https://phoenix.apache.org/contributing.html]

Thanks for the patch. Committed to 4.x-HBase-1.2, 4.x-HBase-1.3, 4.x-HBase-1.4 and master branches.

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