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

Sergio Peña commented on SENTRY-1986:
-------------------------------------

Yeah, I missed that line when I was porting this patch to upstream.
I will close it as this is not fixing anything.

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

Reply via email to