Skip to content

Instantly share code, notes, and snippets.

@tkobayas
Created June 17, 2021 07:46
Show Gist options
  • Save tkobayas/9f7ae704ec03ec4bc244364cc8dad72c to your computer and use it in GitHub Desktop.
Save tkobayas/9f7ae704ec03ec4bc244364cc8dad72c to your computer and use it in GitHub Desktop.
kie-karaf-itests error
[INFO] Running org.kie.karaf.itest.blueprint.KieBlueprintProcessDependencyKarafIntegrationTest
16:34:22.902 [main] INFO o.k.k.i.AbstractKarafIntegrationTest.<clinit>:131 - KIE Project Version : 7.56.0-SNAPSHOT
16:34:22.927 [main] INFO o.k.k.i.AbstractKarafIntegrationTest.getKarafDistributionOption:179 - *** The karaf version is 4.2.3 ***
16:34:22.927 [main] INFO o.k.k.i.AbstractKarafIntegrationTest.getKarafDistributionOption:180 - *** The cxf version is 3.2.14 ***
16:34:22.927 [main] INFO o.k.k.i.AbstractKarafIntegrationTest.getKarafDistributionOption:181 - *** The camel version is 2.21.5 ***
16:34:22.943 [main] INFO o.k.k.i.AbstractKarafIntegrationTest.getFeaturesUrl:294 - Features URL: mvn:org.kie/kie-karaf-features/7.56.0-SNAPSHOT/xml/features
WARNING: An illegal reflective access operation has occurred
WARNING: Illegal reflective access by org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender (file:/home/tkobayas/usr/work/BXMSPROD-1372/droolsjbpm-integration/kie-osgi/kie-karaf-itests/target/paxexam/unpack/1bc03538-2e08-4ce2-a115-a89c58cbeaa2/system/org/apache/felix/org.apache.felix.framework/5.6.12/org.apache.felix.framework-5.6.12.jar) to method java.net.URLClassLoader.addURL(java.net.URL)
WARNING: Please consider reporting this to the maintainers of org.apache.felix.framework.ext.ClassPathExtenderFactory$DefaultClassLoaderExtender
WARNING: Use --illegal-access=warn to enable warnings of further illegal reflective access operations
WARNING: All illegal access operations will be denied in a future release
org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=jbpm; type=karaf.feature; version="[7.56.0.SNAPSHOT,7.56.0.SNAPSHOT]"; filter:="(&(osgi.identity=jbpm)(type=karaf.feature)(version>=7.56.0.SNAPSHOT)(version<=7.56.0.SNAPSHOT))" [caused by: Unable to resolve jbpm/7.56.0.SNAPSHOT: missing requirement [jbpm/7.56.0.SNAPSHOT] osgi.identity; osgi.identity=org.jbpm.persistence.api; type=osgi.bundle; version="[7.56.0.202106161001,7.56.0.202106161001]"; resolution:=mandatory [caused by: Unable to resolve org.jbpm.persistence.api/7.56.0.202106161001: missing requirement [org.jbpm.persistence.api/7.56.0.202106161001] osgi.wiring.package; filter:="(osgi.wiring.package=org.jbpm.workflow.instance.impl)" [caused by: Unable to resolve org.jbpm.flow.core/7.56.0.202106161001: missing requirement [org.jbpm.flow.core/7.56.0.202106161001] osgi.wiring.package; filter:="(osgi.wiring.package=com.fasterxml.jackson.databind)"]]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:392)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:378)
at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:332)
at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:257)
at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:388)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1058)
at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:994)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:834)
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve jbpm/7.56.0.SNAPSHOT: missing requirement [jbpm/7.56.0.SNAPSHOT] osgi.identity; osgi.identity=org.jbpm.persistence.api; type=osgi.bundle; version="[7.56.0.202106161001,7.56.0.202106161001]"; resolution:=mandatory [caused by: Unable to resolve org.jbpm.persistence.api/7.56.0.202106161001: missing requirement [org.jbpm.persistence.api/7.56.0.202106161001] osgi.wiring.package; filter:="(osgi.wiring.package=org.jbpm.workflow.instance.impl)" [caused by: Unable to resolve org.jbpm.flow.core/7.56.0.202106161001: missing requirement [org.jbpm.flow.core/7.56.0.202106161001] osgi.wiring.package; filter:="(osgi.wiring.package=com.fasterxml.jackson.databind)"]]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.jbpm.persistence.api/7.56.0.202106161001: missing requirement [org.jbpm.persistence.api/7.56.0.202106161001] osgi.wiring.package; filter:="(osgi.wiring.package=org.jbpm.workflow.instance.impl)" [caused by: Unable to resolve org.jbpm.flow.core/7.56.0.202106161001: missing requirement [org.jbpm.flow.core/7.56.0.202106161001] osgi.wiring.package; filter:="(osgi.wiring.package=com.fasterxml.jackson.databind)"]
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 13 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.jbpm.flow.core/7.56.0.202106161001: missing requirement [org.jbpm.flow.core/7.56.0.202106161001] osgi.wiring.package; filter:="(osgi.wiring.package=com.fasterxml.jackson.databind)"
at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1343)
... 14 more
[ERROR] Tests run: 2, Failures: 0, Errors: 2, Skipped: 0, Time elapsed: 180.893 s <<< FAILURE! - in org.kie.karaf.itest.blueprint.KieBlueprintProcessDependencyKarafIntegrationTest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment