You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@sentry.apache.org by "Sergio Peña (JIRA)" <ji...@apache.org> on 2017/10/13 18:10:00 UTC

[jira] [Updated] (SENTRY-1986) Fix NPE on createGrantTask from SentryHiveAuthorizationTaskFactoryImpl.java

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

Sergio Peña updated SENTRY-1986:
--------------------------------
    Attachment: SENTRY-1986.1.patch

> Fix NPE on createGrantTask from SentryHiveAuthorizationTaskFactoryImpl.java
> ---------------------------------------------------------------------------
>
>                 Key: SENTRY-1986
>                 URL: https://issues.apache.org/jira/browse/SENTRY-1986
>             Project: Sentry
>          Issue Type: Bug
>          Components: Sentry
>    Affects Versions: 2.0.0
>            Reporter: Sergio Peña
>            Assignee: Sergio Peña
>         Attachments: SENTRY-1986.1.patch
>
>
> A NPE can happen on the following code from SentryHiveAuthorizationTaskFactoryImpl.java:
> {noformat}
> if (privilegeObj.getPartSpec() != null) {
>       throw new SemanticException(SentryHiveConstants.PARTITION_PRIVS_NOT_SUPPORTED);
>     }
> {noformat}



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)