Robert Munteanu created SLING-8339:
--------------------------------------
Summary: CLI hangs when an unhandled exception occurs
Key: SLING-8339
URL: https://issues.apache.org/jira/browse/SLING-8339
Project: Sling
Issue Type: Bug
Components: Tooling
Reporter: Robert Munteanu
Assignee: Robert Munteanu
Fix For: CLI 1.0.0
An example stack trace is
{noformat}
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){noformat}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)