Kamil Trysiński created NIFI-15711:
--------------------------------------

             Summary: Possible NPE on GitHub login resolution
                 Key: NIFI-15711
                 URL: https://issues.apache.org/jira/browse/NIFI-15711
             Project: Apache NiFi
          Issue Type: Bug
          Components: Extensions
            Reporter: Kamil Trysiński


In GitHubRepositoryClient the commit author login is always being resolved. 
However, a commit can have an author that is not tied to any github account, 
[example 
commit|https://github.com/Kamilkime/nifi-flow-repo-test/commit/019afecebf11d257f4c18b1c5487db66e266efb8].

In such a case GHCommit#getAuthor will return null, so executing getLogin 
throws a NPE.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to