Joerg Hoh created SLING-13376:
---------------------------------

             Summary: 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


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to