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

CLI hangs when an unhandled exception occurs

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • Committer CLI 1.0.0
    • Tooling
    • None

    Description

      An example stack trace is

      Exception in thread "ExecutionTriggerThread" java.lang.IllegalArgumentException: No repository found with id 2059
      	at org.apache.sling.cli.impl.nexus.StagingRepositoryFinder.lambda$find$6(StagingRepositoryFinder.java:78)
      	at java.base/java.util.Optional.orElseThrow(Unknown Source)
      	at org.apache.sling.cli.impl.nexus.StagingRepositoryFinder.lambda$find$7(StagingRepositoryFinder.java:78)
      	at org.apache.sling.cli.impl.nexus.StagingRepositoryFinder.withStagingRepositories(StagingRepositoryFinder.java:94)
      	at org.apache.sling.cli.impl.nexus.StagingRepositoryFinder.find(StagingRepositoryFinder.java:71)
      	at org.apache.sling.cli.impl.release.UpdateJiraCommand.execute(UpdateJiraCommand.java:48)
      	at org.apache.sling.cli.impl.CommandProcessor.runCommand(CommandProcessor.java:65)
      	at org.apache.sling.cli.impl.ExecutionTrigger.lambda$activate$0(ExecutionTrigger.java:33)
      	at java.base/java.lang.Thread.run(Unknown Source)

      Attachments

        1. sling-cli-error-thread-dump.txt
          10 kB
          Robert Munteanu

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: