Skip to content

NPE during tag.getCommit().getLastStatus() #152

@vbauer

Description

@vbauer

NPE on the line "final GHCommitStatus lastStatus = commit.getLastStatus();", because owner is null.

    public Date getDate(final GHTag tag) throws Exception {
            final GHCommit commit = tag.getCommit();
            final GHCommitStatus lastStatus = commit.getLastStatus();
            return lastStatus.getCreatedAt();
    }

It looks like there is no way to retrieve information about tag/commit date.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions