[
https://issues.apache.org/jira/browse/SLING-13376?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18125363#comment-18125363
]
Bhavik Kothari commented on SLING-13376:
----------------------------------------
Hi [~joerghoh]
I have submitted pull requests addressing the missing artifact diagnostics for
this issue
* [https://github.com/apache/sling-org-apache-sling-feature-launcher/pull/52]
*
[https://github.com/apache/sling-org-apache-sling-feature-extension-apiregions/pull/24]
Could you please review them when you have a moment? Thanks!
> Add diagnostics for non-found artifacts in Feature Model Launcher
> -----------------------------------------------------------------
>
> Key: SLING-13376
> URL: https://issues.apache.org/jira/browse/SLING-13376
> Project: Sling
> Issue Type: Task
> Components: Feature Model
> Affects Versions: Feature Model 2.0.6
> Reporter: Joerg Hoh
> Priority: Major
>
> I have this exception:
> {noformat}
> [INFO] Apache Sling Application Launcher
> [INFO] ---------------------------------
> [INFO] Initializing...
> [INFO] Artifact Repositories: [file:///opt/aem/launcher/cache]
> [INFO] Assembling final feature model...
> [INFO]
> [INFO] Assembling launcher...
> [ERROR] Error during bootstrap
> java.lang.IllegalStateException: Error while assembling launcher:
> java.io.IOException: Artifact
> :org/apache/commons/commons-lang3/3.18.0/commons-lang3-3.18.0.jar not found
> in any repository.
> at
> org.apache.sling.feature.launcher.impl.Bootstrap.runWithException(Bootstrap.java:195)
> at
> org.apache.sling.feature.launcher.impl.Bootstrap.run(Bootstrap.java:120)
> at org.apache.sling.feature.launcher.impl.Main.main(Main.java:425)
> Caused by: java.io.UncheckedIOException: java.io.IOException: Artifact
> :org/apache/commons/commons-lang3/3.18.0/commons-lang3-3.18.0.jar not found
> in any repository.
> at
> org.apache.sling.feature.extension.apiregions.launcher.RegionLauncher.lambda$prepare$0(RegionLauncher.java:48)
> at
> org.apache.sling.feature.extension.apiregions.launcher.LauncherProperties.getBundleIDtoBSNandVersionMap(LauncherProperties.java:59)
> at
> org.apache.sling.feature.extension.apiregions.launcher.RegionLauncher.prepare(RegionLauncher.java:59)
> at
> com.adobe.granite.feature.launcher.FeatureLauncher.prepare(FeatureLauncher.java:36)
> at
> org.apache.sling.feature.launcher.impl.Bootstrap.runWithException(Bootstrap.java:174)
> ... 2 more
> Caused by: java.io.IOException: Artifact
> :org/apache/commons/commons-lang3/3.18.0/commons-lang3-3.18.0.jar not found
> in any repository.
> at
> org.apache.sling.feature.io.artifacts.ArtifactManager.getArtifactHandler(ArtifactManager.java:297)
> at
> org.apache.sling.feature.launcher.impl.Bootstrap$1.getArtifactFile(Bootstrap.java:164)
> at
> org.apache.sling.feature.extension.apiregions.launcher.RegionLauncher.lambda$prepare$0(RegionLauncher.java:44)
> ... 6 more
> {noformat}
> and it caused the Feature Launcher to fail consistently. Some more
> diagnostics would be helpful (if it's a true 404 or a network issue, which
> repositories were consulted etc)
--
This message was sent by Atlassian Jira
(v8.20.10#820010)