Dan Klco created SLING-12148:
--------------------------------

             Summary: 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


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)

Reply via email to