You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@sling.apache.org by "Robert Munteanu (JIRA)" <ji...@apache.org> on 2019/04/01 16:52:03 UTC

[jira] [Resolved] (SLING-8339) CLI hangs when an unhandled exception occurs

     [ https://issues.apache.org/jira/browse/SLING-8339?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Robert Munteanu resolved SLING-8339.
------------------------------------
    Resolution: Fixed

Fixed with [sling-whiteboard commit 3c88db9|https://github.com/apache/sling-whiteboard/commit/3c88db9]


> 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
>            Priority: Major
>             Fix For: CLI 1.0.0
>
>         Attachments: sling-cli-error-thread-dump.txt
>
>
> 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)