Uploaded image for project: 'Phoenix'
  1. Phoenix
  2. PHOENIX-4864

Fix NullPointerException while Logging some DDL Statements

Attach filesAttach ScreenshotVotersWatch issueWatchersCreate sub-taskLinkCloneUpdate Comment AuthorReplace String in CommentUpdate Comment VisibilityDelete Comments
    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Minor
    • Resolution: Fixed
    • None
    • 4.15.0, 5.1.0, 4.14.2
    • None
    • None

    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)

      ...

      Attachments

        Activity

          This comment will be Viewable by All Users Viewable by All Users
          Cancel

          People

            ashuparekh Ashutosh Parekh
            ashuparekh Ashutosh Parekh
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Slack

                Issue deployment