You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Denes Arvay (Jira)" <ji...@apache.org> on 2021/09/08 10:06:00 UTC

[jira] [Created] (NIFI-9201) NullPointerException in AbstractKerberosUser if the tgt is not renewable

Denes Arvay created NIFI-9201:
---------------------------------

             Summary: NullPointerException in AbstractKerberosUser if the tgt is not renewable
                 Key: NIFI-9201
                 URL: https://issues.apache.org/jira/browse/NIFI-9201
             Project: Apache NiFi
          Issue Type: Bug
            Reporter: Denes Arvay
            Assignee: Denes Arvay


KerberosTicket.getRenewTill() returns null if the ticket is non-renewable (seeĀ [1]) and this causes NPEx in AbstractKerberosUser.getRefreshTime() ([2])

[1] https://docs.oracle.com/javase/8/docs/api/javax/security/auth/kerberos/KerberosTicket.html#getRenewTill--
[2] https://github.com/apache/nifi/blob/main/nifi-commons/nifi-security-kerberos/src/main/java/org/apache/nifi/security/krb/AbstractKerberosUser.java#L266



--
This message was sent by Atlassian Jira
(v8.3.4#803005)