You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Dan Klco (Jira)" <ji...@apache.org> on 2023/11/13 15:43:00 UTC

[jira] [Commented] (SLING-12148) Committer CLI Fails to Parse CI Status

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

Dan Klco commented on SLING-12148:
----------------------------------

Looks like the issue is due to a .git suffix when it extracts GitHub urls from the poms:
https://github.com/apache/sling-org-apache-sling-committer-cli/pull/26

> Committer CLI Fails to Parse CI Status
> --------------------------------------
>
>                 Key: SLING-12148
>                 URL: https://issues.apache.org/jira/browse/SLING-12148
>             Project: Sling
>          Issue Type: Bug
>          Components: CI
>    Affects Versions: Committer CLI 1.0.0
>            Reporter: Dan Klco
>            Priority: Major
>
> The committer CLI has been failing to verify releases with:
> {{java.lang.NullPointerException: Cannot invoke "com.google.gson.JsonElement.getAsString()" because the return value of "com.google.gson.JsonObject.get(String)" is null
> 	at org.apache.sling.cli.impl.ci.CIStatusValidator.isValid(CIStatusValidator.java:145)
> 	at org.apache.sling.cli.impl.release.VerifyReleasesCommand.call(VerifyReleasesCommand.java:123)
> 	at org.apache.sling.cli.impl.release.VerifyReleasesCommand.call(VerifyReleasesCommand.java:42)
> 	at picocli.CommandLine.executeUserObject(CommandLine.java:1701)
> 	at picocli.CommandLine.access$900(CommandLine.java:146)
> 	at picocli.CommandLine$RunLast.handle(CommandLine.java:2059)
> 	at picocli.CommandLine$RunLast.handle(CommandLine.java:2026)
> 	at picocli.CommandLine$AbstractParseResultHandler.execute(CommandLine.java:1893)
> 	at picocli.CommandLine.execute(CommandLine.java:1822)
> 	at org.apache.sling.cli.impl.CommandProcessor.runCommand(CommandProcessor.java:110)
> 	at org.apache.sling.cli.impl.ExecutionTrigger.lambda$activate$0(ExecutionTrigger.java:33)
> 	at java.base/java.lang.Thread.run(Unknown Source)}}



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