Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
0.12.0, 0.12.1
-
None
Description
As of the Refactor engine depends on components that are not included within the Stable launcher users do currently get the following exception during startup
ERROR: Bundle org.apache.stanbol.enhancer.engines.refactor [89]: Error starting slinginstall:org.apache.stanbol.enhancer.engines.refactor-0.9.0-incubating-SNAPSHOT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.stanbol.enhancer.engines.refactor [89]: Unable to resolve 89.0: missing requirement [89.0] package; (package=org.apache.stanbol.ontologymanager.ontonet.api))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.apache.stanbol.enhancer.engines.refactor [89]: Unable to resolve 89.0: missing requirement [89.0] package; (package=org.apache.stanbol.ontologymanager.ontonet.api)
at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3443)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1727)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1156)
at org.apache.felix.framework.StartLevelImpl.run(StartLevelImpl.java:264)
at java.lang.Thread.run(Thread.java:680)
Note that this does not affect any functionality of the Stanble launcher because the Refector Engine is not intended to be included in the Stanble Laucher.
There are several solutions how to fix this the Refactor engine dependency needs to be moved from the Enhancer bundle list to a different location.
Possibilities include
- adding it directly to the list.xml of the launcher
- adding it to the bundle list of the rules
I would prefer the later option