Since 4.2.0 snapshot build 4065 and later: Unable to resolve root: missing requirement

This happens on the 4.2.0 snapshot build 4068. Also tried the latest build 4070, it’s still happening.

Installation method: plain distro zip extraction, running under java17 on ubuntu 20.

This is on a clean test installation.
I have tried wiping everything out (removing openhab completely) and reinstalling a clean 4064, and this error doesn’t occur.
If I then wipe everything out and then install any build after 4064, the errors would occur.

What’s wrong and how can I resolve it?

23:07:26.411 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-automation-pidcontroller, openhab-automation-jrubyscripting': Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=eventadmin; type=karaf.feature; version="[4.4.5,4.4.5]"; filter:="(&(osgi.identity=eventadmin)(type=karaf.feature)(version>=4.4.5)(version<=4.4.5))" [caused by: Unable to resolve eventadmin/4.4.5: missing requirement [eventadmin/4.4.5] osgi.identity; osgi.identity=org.apache.karaf.services.eventadmin; type=osgi.bundle; version="[4.4.5,4.4.5]"; resolution:=mandatory [caused by: Unable to resolve org.apache.karaf.services.eventadmin/4.4.5: missing requirement [org.apache.karaf.services.eventadmin/4.4.5] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.framework)(version>=1.0.0)(!(version>=3.0.0)))" [caused by: Unable to resolve org.eclipse.osgi/3.18.0.v20220516-2155: missing requirement [org.eclipse.osgi/3.18.0.v20220516-2155] osgi.ee; filter:="(| (&(osgi.ee=JavaSE)(version=1.8)) (&(osgi.ee=JavaSE/compact1)(version=1.8)) )"]]]
23:07:26.730 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed to refresh bundles after processing config update
org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-core-config-discovery-addon-usb; type=karaf.feature; version="[4.2.0.SNAPSHOT,4.2.0.SNAPSHOT]"; filter:="(&(osgi.identity=openhab-core-config-discovery-addon-usb)(type=karaf.feature)(version>=4.2.0.SNAPSHOT)(version<=4.2.0.SNAPSHOT))" [caused by: Unable to resolve openhab-core-config-discovery-addon-usb/4.2.0.SNAPSHOT: missing requirement [openhab-core-config-discovery-addon-usb/4.2.0.SNAPSHOT] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/4.2.0.SNAPSHOT: missing requirement [openhab-core-base/4.2.0.SNAPSHOT] osgi.identity; osgi.identity=org.openhab.core.config.discovery; type=osgi.bundle; version="[4.2.0.202405070311,4.2.0.202405070311]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.config.discovery/4.2.0.202405070311: missing requirement [org.openhab.core.config.discovery/4.2.0.202405070311] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core.common.registry)(version>=4.2.0)(!(version>=5.0.0)))" [caused by: Unable to resolve org.openhab.core/4.2.0.202405070301: missing requirement [org.openhab.core/4.2.0.202405070301] osgi.wiring.package; filter:="(&(osgi.wiring.package=io.methvin.watcher.hashing)(version>=0.18.0)(!(version>=1.0.0)))" [caused by: Unable to resolve io.methvin.directory-watcher/0.18.0: missing requirement [io.methvin.directory-watcher/0.18.0] osgi.wiring.package; filter:="(osgi.wiring.package=java.io)"]]]]]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:256) ~[?:?]
        at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) ~[?:?]
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) ~[?:?]
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
        at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-core-config-discovery-addon-usb/4.2.0.SNAPSHOT: missing requirement [openhab-core-config-discovery-addon-usb/4.2.0.SNAPSHOT] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/4.2.0.SNAPSHOT: missing requirement [openhab-core-base/4.2.0.SNAPSHOT] osgi.identity; osgi.identity=org.openhab.core.config.discovery; type=osgi.bundle; version="[4.2.0.202405070311,4.2.0.202405070311]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.config.discovery/4.2.0.202405070311: missing requirement [org.openhab.core.config.discovery/4.2.0.202405070311] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core.common.registry)(version>=4.2.0)(!(version>=5.0.0)))" [caused by: Unable to resolve org.openhab.core/4.2.0.202405070301: missing requirement [org.openhab.core/4.2.0.202405070301] osgi.wiring.package; filter:="(&(osgi.wiring.package=io.methvin.watcher.hashing)(version>=0.18.0)(!(version>=1.0.0)))" [caused by: Unable to resolve io.methvin.directory-watcher/0.18.0: missing requirement [io.methvin.directory-watcher/0.18.0] osgi.wiring.package; filter:="(osgi.wiring.package=java.io)"]]]]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve openhab-core-base/4.2.0.SNAPSHOT: missing requirement [openhab-core-base/4.2.0.SNAPSHOT] osgi.identity; osgi.identity=org.openhab.core.config.discovery; type=osgi.bundle; version="[4.2.0.202405070311,4.2.0.202405070311]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.config.discovery/4.2.0.202405070311: missing requirement [org.openhab.core.config.discovery/4.2.0.202405070311] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core.common.registry)(version>=4.2.0)(!(version>=5.0.0)))" [caused by: Unable to resolve org.openhab.core/4.2.0.202405070301: missing requirement [org.openhab.core/4.2.0.202405070301] osgi.wiring.package; filter:="(&(osgi.wiring.package=io.methvin.watcher.hashing)(version>=0.18.0)(!(version>=1.0.0)))" [caused by: Unable to resolve io.methvin.directory-watcher/0.18.0: missing requirement [io.methvin.directory-watcher/0.18.0] osgi.wiring.package; filter:="(osgi.wiring.package=java.io)"]]]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core.config.discovery/4.2.0.202405070311: missing requirement [org.openhab.core.config.discovery/4.2.0.202405070311] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core.common.registry)(version>=4.2.0)(!(version>=5.0.0)))" [caused by: Unable to resolve org.openhab.core/4.2.0.202405070301: missing requirement [org.openhab.core/4.2.0.202405070301] osgi.wiring.package; filter:="(&(osgi.wiring.package=io.methvin.watcher.hashing)(version>=0.18.0)(!(version>=1.0.0)))" [caused by: Unable to resolve io.methvin.directory-watcher/0.18.0: missing requirement [io.methvin.directory-watcher/0.18.0] osgi.wiring.package; filter:="(osgi.wiring.package=java.io)"]]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.openhab.core/4.2.0.202405070301: missing requirement [org.openhab.core/4.2.0.202405070301] osgi.wiring.package; filter:="(&(osgi.wiring.package=io.methvin.watcher.hashing)(version>=0.18.0)(!(version>=1.0.0)))" [caused by: Unable to resolve io.methvin.directory-watcher/0.18.0: missing requirement [io.methvin.directory-watcher/0.18.0] osgi.wiring.package; filter:="(osgi.wiring.package=java.io)"]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve io.methvin.directory-watcher/0.18.0: missing requirement [io.methvin.directory-watcher/0.18.0] osgi.wiring.package; filter:="(osgi.wiring.package=java.io)"
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
23:08:26.388 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-automation-pidcontroller, openhab-automation-jrubyscripting': Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=openhab-core-config-discovery-addon-ip; type=karaf.feature; version="[4.2.0.SNAPSHOT,4.2.0.SNAPSHOT]"; filter:="(&(osgi.identity=openhab-core-config-discovery-addon-ip)(type=karaf.feature)(version>=4.2.0.SNAPSHOT)(version<=4.2.0.SNAPSHOT))" [caused by: Unable to resolve openhab-core-config-discovery-addon-ip/4.2.0.SNAPSHOT: missing requirement [openhab-core-config-discovery-addon-ip/4.2.0.SNAPSHOT] osgi.identity; osgi.identity=openhab-core-base; type=karaf.feature [caused by: Unable to resolve openhab-core-base/4.2.0.SNAPSHOT: missing requirement [openhab-core-base/4.2.0.SNAPSHOT] osgi.identity; osgi.identity=org.openhab.core.config.discovery; type=osgi.bundle; version="[4.2.0.202405070311,4.2.0.202405070311]"; resolution:=mandatory [caused by: Unable to resolve org.openhab.core.config.discovery/4.2.0.202405070311: missing requirement [org.openhab.core.config.discovery/4.2.0.202405070311] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.openhab.core.common)(version>=4.2.0)(!(version>=5.0.0)))" [caused by: Unable to resolve org.openhab.core/4.2.0.202405070301: missing requirement [org.openhab.core/4.2.0.202405070301] osgi.wiring.package; filter:="(&(osgi.wiring.package=io.methvin.watcher.hashing)(version>=0.18.0)(!(version>=1.0.0)))" [caused by: Unable to resolve io.methvin.directory-watcher/0.18.0: missing requirement [io.methvin.directory-watcher/0.18.0] osgi.wiring.package; filter:="(osgi.wiring.package=java.io)"]]]]]
23:08:26.752 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed to refresh bundles after processing config update
org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=shell; type=karaf.feature; version="[4.4.5,4.4.5]"; filter:="(&(osgi.identity=shell)(type=karaf.feature)(version>=4.4.5)(version<=4.4.5))" [caused by: Unable to resolve shell/4.4.5: missing requirement [shell/4.4.5] osgi.identity; osgi.identity=org.apache.karaf.shell.commands; type=osgi.bundle; version="[4.4.5,4.4.5]"; resolution:=mandatory [caused by: Unable to resolve org.apache.karaf.shell.commands/4.4.5: missing requirement [org.apache.karaf.shell.commands/4.4.5] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.framework)(version>=1.0.0)(!(version>=3.0.0)))" [caused by: Unable to resolve org.eclipse.osgi/3.18.0.v20220516-2155: missing requirement [org.eclipse.osgi/3.18.0.v20220516-2155] osgi.ee; filter:="(| (&(osgi.ee=JavaSE)(version=1.8)) (&(osgi.ee=JavaSE/compact1)(version=1.8)) )"]]]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:256) ~[?:?]
        at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) ~[?:?]
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) ~[?:?]
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
        at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve shell/4.4.5: missing requirement [shell/4.4.5] osgi.identity; osgi.identity=org.apache.karaf.shell.commands; type=osgi.bundle; version="[4.4.5,4.4.5]"; resolution:=mandatory [caused by: Unable to resolve org.apache.karaf.shell.commands/4.4.5: missing requirement [org.apache.karaf.shell.commands/4.4.5] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.framework)(version>=1.0.0)(!(version>=3.0.0)))" [caused by: Unable to resolve org.eclipse.osgi/3.18.0.v20220516-2155: missing requirement [org.eclipse.osgi/3.18.0.v20220516-2155] osgi.ee; filter:="(| (&(osgi.ee=JavaSE)(version=1.8)) (&(osgi.ee=JavaSE/compact1)(version=1.8)) )"]]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.apache.karaf.shell.commands/4.4.5: missing requirement [org.apache.karaf.shell.commands/4.4.5] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.framework)(version>=1.0.0)(!(version>=3.0.0)))" [caused by: Unable to resolve org.eclipse.osgi/3.18.0.v20220516-2155: missing requirement [org.eclipse.osgi/3.18.0.v20220516-2155] osgi.ee; filter:="(| (&(osgi.ee=JavaSE)(version=1.8)) (&(osgi.ee=JavaSE/compact1)(version=1.8)) )"]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.eclipse.osgi/3.18.0.v20220516-2155: missing requirement [org.eclipse.osgi/3.18.0.v20220516-2155] osgi.ee; filter:="(| (&(osgi.ee=JavaSE)(version=1.8)) (&(osgi.ee=JavaSE/compact1)(version=1.8)) )"
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
23:09:26.437 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed installing 'openhab-automation-pidcontroller, openhab-automation-jrubyscripting': Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=service; type=karaf.feature; version="[4.4.5,4.4.5]"; filter:="(&(osgi.identity=service)(type=karaf.feature)(version>=4.4.5)(version<=4.4.5))" [caused by: Unable to resolve service/4.4.5: missing requirement [service/4.4.5] osgi.identity; osgi.identity=org.apache.karaf.service.core; type=osgi.bundle; version="[4.4.5,4.4.5]"; resolution:=mandatory [caused by: Unable to resolve org.apache.karaf.service.core/4.4.5: missing requirement [org.apache.karaf.service.core/4.4.5] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.framework)(version>=1.0.0)(!(version>=3.0.0)))" [caused by: Unable to resolve org.eclipse.osgi/3.18.0.v20220516-2155: missing requirement [org.eclipse.osgi/3.18.0.v20220516-2155] osgi.ee; filter:="(| (&(osgi.ee=JavaSE)(version=1.8)) (&(osgi.ee=JavaSE/compact1)(version=1.8)) )"]]]
23:09:26.836 [ERROR] [.core.karaf.internal.FeatureInstaller] - Failed to refresh bundles after processing config update
org.apache.felix.resolver.reason.ReasonException: Unable to resolve root: missing requirement [root] osgi.identity; osgi.identity=jaas; type=karaf.feature; version="[4.4.5,4.4.5]"; filter:="(&(osgi.identity=jaas)(type=karaf.feature)(version>=4.4.5)(version<=4.4.5))" [caused by: Unable to resolve jaas/4.4.5: missing requirement [jaas/4.4.5] osgi.identity; osgi.identity=org.apache.karaf.jaas.config; type=osgi.bundle; version="[4.4.5,4.4.5]"; resolution:=mandatory [caused by: Unable to resolve org.apache.karaf.jaas.config/4.4.5: missing requirement [org.apache.karaf.jaas.config/4.4.5] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.framework)(version>=1.0.0)(!(version>=3.0.0)))" [caused by: Unable to resolve org.eclipse.osgi/3.18.0.v20220516-2155: missing requirement [org.eclipse.osgi/3.18.0.v20220516-2155] osgi.ee; filter:="(| (&(osgi.ee=JavaSE)(version=1.8)) (&(osgi.ee=JavaSE/compact1)(version=1.8)) )"]]]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.ResolverImpl.doResolve(ResolverImpl.java:433) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:420) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.ResolverImpl.resolve(ResolverImpl.java:374) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.karaf.features.internal.region.SubsystemResolver.resolve(SubsystemResolver.java:256) ~[?:?]
        at org.apache.karaf.features.internal.service.Deployer.deploy(Deployer.java:399) ~[?:?]
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.doProvision(FeaturesServiceImpl.java:1069) ~[?:?]
        at org.apache.karaf.features.internal.service.FeaturesServiceImpl.lambda$doProvisionInThread$13(FeaturesServiceImpl.java:1004) ~[?:?]
        at java.util.concurrent.FutureTask.run(FutureTask.java:264) ~[?:?]
        at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1136) [?:?]
        at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:635) [?:?]
        at java.lang.Thread.run(Thread.java:840) [?:?]
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve jaas/4.4.5: missing requirement [jaas/4.4.5] osgi.identity; osgi.identity=org.apache.karaf.jaas.config; type=osgi.bundle; version="[4.4.5,4.4.5]"; resolution:=mandatory [caused by: Unable to resolve org.apache.karaf.jaas.config/4.4.5: missing requirement [org.apache.karaf.jaas.config/4.4.5] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.framework)(version>=1.0.0)(!(version>=3.0.0)))" [caused by: Unable to resolve org.eclipse.osgi/3.18.0.v20220516-2155: missing requirement [org.eclipse.osgi/3.18.0.v20220516-2155] osgi.ee; filter:="(| (&(osgi.ee=JavaSE)(version=1.8)) (&(osgi.ee=JavaSE/compact1)(version=1.8)) )"]]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.apache.karaf.jaas.config/4.4.5: missing requirement [org.apache.karaf.jaas.config/4.4.5] osgi.wiring.package; filter:="(&(osgi.wiring.package=org.osgi.framework)(version>=1.0.0)(!(version>=3.0.0)))" [caused by: Unable to resolve org.eclipse.osgi/3.18.0.v20220516-2155: missing requirement [org.eclipse.osgi/3.18.0.v20220516-2155] osgi.ee; filter:="(| (&(osgi.ee=JavaSE)(version=1.8)) (&(osgi.ee=JavaSE/compact1)(version=1.8)) )"]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
Caused by: org.apache.felix.resolver.reason.ReasonException: Unable to resolve org.eclipse.osgi/3.18.0.v20220516-2155: missing requirement [org.eclipse.osgi/3.18.0.v20220516-2155] osgi.ee; filter:="(| (&(osgi.ee=JavaSE)(version=1.8)) (&(osgi.ee=JavaSE/compact1)(version=1.8)) )"
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        at org.apache.felix.resolver.Candidates$MissingRequirementError.toException(Candidates.java:1341) ~[org.eclipse.osgi-3.18.0.jar:?]
        ... 12 more
1 Like

If you are sure it started in snapshot 4065, we can search what changed in 4065.

That is probably this change that broke something.

I’m 95% sure. I think I started noticing it when we were having the Thing file reload issue. This is when I first mentioned this issue: Thing File based configuration not loaded correctly after changing · Issue #4201 · openhab/openhab-core · GitHub

I don’t know where I can download build 4065, it seems to have been deleted from jfrog. I happen to have a copy of build 4064 that I can use and confirm that it doesn’t happen on 4064.

I am also running 4064.
Even with 4064, at the very first start, I got such errors one time but then bundles were finally installed.
With 4069, it is trying to install bundles ever and ever but never succeeded.

Have you tried reverting the changes from pr#4209 and replacing the affected jars onto a post-4064 build?

No, I let the specialists analyze the problem first.
There are two other PRs that could also require to be reverted.

This topic was automatically closed 41 days after the last reply. New replies are no longer allowed.