[
https://issues.apache.org/jira/browse/NIFI-15711?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18065599#comment-18065599
]
ASF subversion and git services commented on NIFI-15711:
--------------------------------------------------------
Commit ade183e3994068c01073e75059eaf387fe31f5df in nifi's branch
refs/heads/main from Kamil Trysiński
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=ade183e3994 ]
NIFI-15711 - Get raw commit author name if commit not tied to any GH user
(#11000)
> 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
> Priority: Minor
> Time Spent: 20m
> Remaining Estimate: 0h
>
> 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)