Uploaded image for project: 'Sling'
  1. Sling
  2. SLING-12140

Creating new jira version fails: No releases found in 'Parent 60 (Java 11)'

    XMLWordPrintableJSON

Details

    Description

      $ sling-cli release create-new-jira-version -r 2804 -x INTERACTIVE
      Found Version: XSS Protection API 2.4.0 (id=12353773, fixed issues=8).
      java.lang.IllegalArgumentException: No releases found in 'Parent 60 (Java 11)'
      	at org.apache.sling.cli.impl.release.Release.fromString(Release.java:62)
      	at org.apache.sling.cli.impl.jira.VersionClient.lambda$findSuccessorVersion$2(VersionClient.java:134)
      	at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
      	at java.base/java.util.stream.ReferencePipeline$2$1.accept(Unknown Source)
      	at java.base/java.util.ArrayList$ArrayListSpliterator.forEachRemaining(Unknown Source)
      	at java.base/java.util.stream.AbstractPipeline.copyInto(Unknown Source)
      	at java.base/java.util.stream.AbstractPipeline.wrapAndCopyInto(Unknown Source)
      	at java.base/java.util.stream.ReduceOps$ReduceOp.evaluateSequential(Unknown Source)
      	at java.base/java.util.stream.AbstractPipeline.evaluate(Unknown Source)
      	at java.base/java.util.stream.ReferencePipeline.reduce(Unknown Source)
      	at java.base/java.util.stream.ReferencePipeline.min(Unknown Source)
      	at org.apache.sling.cli.impl.jira.VersionClient.findVersion(VersionClient.java:338)
      	at org.apache.sling.cli.impl.jira.VersionClient.findSuccessorVersion(VersionClient.java:133)
      	at org.apache.sling.cli.impl.release.CreateJiraVersionCommand.call(CreateJiraVersionCommand.java:79)
      	at org.apache.sling.cli.impl.release.CreateJiraVersionCommand.call(CreateJiraVersionCommand.java:39)
      	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)

      Attachments

        Issue Links

          Activity

            People

              rombert Robert Munteanu
              rombert Robert Munteanu
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: