Skip to content

Instantly share code, notes, and snippets.

@dkincaid
Last active May 1, 2022 10:35
Show Gist options
  • Save dkincaid/9924418 to your computer and use it in GitHub Desktop.
Save dkincaid/9924418 to your computer and use it in GitHub Desktop.
Java 8 Stack Trace on Protege 4.3
ERROR: Bundle org.protege.common [1] Error starting file:/home/davek/apps/Protege_4.3/bundles/org.protege.common.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.common [1]: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.common [1]: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
Error: Could not parse XML contribution for "org.eclipse.equinox.registry//plugin.xml". Any contributed extensions and extension points will be ignored.
ERROR: Bundle org.protege.editor.core.application [7] Error starting file:/home/davek/apps/Protege_4.3/bundles/org.protege.editor.core.application.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.editor.core.application [7]: Unable to resolve 7.0: missing requirement [7.0] osgi.wiring.package; (&(osgi.wiring.package=com.jgoodies.looks)(version>=2.2.1)) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))])
org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.editor.core.application [7]: Unable to resolve 7.0: missing requirement [7.0] osgi.wiring.package; (&(osgi.wiring.package=com.jgoodies.looks)(version>=2.2.1)) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.protege.owl.rdf [9] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.protege.owl.rdf.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.owl.rdf [9]: Unable to resolve 9.0: missing requirement [9.0] osgi.wiring.package; (&(osgi.wiring.package=javax.imageio)(version>=0.0.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.owl.rdf [9]: Unable to resolve 9.0: missing requirement [9.0] osgi.wiring.package; (&(osgi.wiring.package=javax.imageio)(version>=0.0.0))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.semanticweb.owl.owlapi [10] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.semanticweb.owl.owlapi.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.semanticweb.owl.owlapi [10]: Unable to resolve 10.0: missing requirement [10.0] osgi.wiring.package; (&(osgi.wiring.package=javax.swing)(version>=0.0.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.semanticweb.owl.owlapi [10]: Unable to resolve 10.0: missing requirement [10.0] osgi.wiring.package; (&(osgi.wiring.package=javax.swing)(version>=0.0.0))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.protege.owl.diff [11] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.protege.owl.diff.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.owl.diff [11]: Unable to resolve 11.0: missing requirement [11.0] osgi.wiring.package; (osgi.wiring.package=org.apache.log4j) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))])
org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.owl.diff [11]: Unable to resolve 11.0: missing requirement [11.0] osgi.wiring.package; (osgi.wiring.package=org.apache.log4j) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.mayo.bmi.semantator [12] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.mayo.bsi.semantator.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.mayo.bmi.semantator [12]: Unable to resolve 12.0: missing requirement [12.0] osgi.wiring.package; (osgi.wiring.package=javax.accessibility))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.mayo.bmi.semantator [12]: Unable to resolve 12.0: missing requirement [12.0] osgi.wiring.package; (osgi.wiring.package=javax.accessibility)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.protege.editor.owl [13] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.protege.editor.owl.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.editor.owl [13]: Unable to resolve 13.0: missing requirement [13.0] osgi.wiring.package; (&(osgi.wiring.package=com.clarkparsia.owlapi.explanation)(version>=3.2.4)) [caused by: Unable to resolve 10.0: missing requirement [10.0] osgi.wiring.package; (&(osgi.wiring.package=javax.swing)(version>=0.0.0))])
org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.editor.owl [13]: Unable to resolve 13.0: missing requirement [13.0] osgi.wiring.package; (&(osgi.wiring.package=com.clarkparsia.owlapi.explanation)(version>=3.2.4)) [caused by: Unable to resolve 10.0: missing requirement [10.0] osgi.wiring.package; (&(osgi.wiring.package=javax.swing)(version>=0.0.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.protege.editor.owl.codegeneration [14] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.protege.editor.owl.codegeneration.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.editor.owl.codegeneration [14]: Unable to resolve 14.0: missing requirement [14.0] osgi.wiring.package; (osgi.wiring.package=javax.swing))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.editor.owl.codegeneration [14]: Unable to resolve 14.0: missing requirement [14.0] osgi.wiring.package; (osgi.wiring.package=javax.swing)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.coode.dlquery [15] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.coode.dlquery.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.coode.dlquery [15]: Unable to resolve 15.0: missing requirement [15.0] osgi.wiring.package; (osgi.wiring.package=org.apache.log4j) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))])
org.osgi.framework.BundleException: Unresolved constraint in bundle org.coode.dlquery [15]: Unable to resolve 15.0: missing requirement [15.0] osgi.wiring.package; (osgi.wiring.package=org.apache.log4j) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle uk.ac.manchester.cs.owl.explanation [16] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.protege.explanation.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle uk.ac.manchester.cs.owl.explanation [16]: Unable to resolve 16.0: missing requirement [16.0] osgi.wiring.package; (osgi.wiring.package=org.apache.log4j) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))])
org.osgi.framework.BundleException: Unresolved constraint in bundle uk.ac.manchester.cs.owl.explanation [16]: Unable to resolve 16.0: missing requirement [16.0] osgi.wiring.package; (osgi.wiring.package=org.apache.log4j) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle uk.ac.manchester.cs.owl.factplusplus [17] Error starting file:/home/davek/apps/Protege_4.3/plugins/uk.ac.manchester.cs.owl.factplusplus.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle uk.ac.manchester.cs.owl.factplusplus [17]: Unable to resolve 17.0: missing requirement [17.0] osgi.wiring.package; (osgi.wiring.package=org.apache.log4j) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))])
org.osgi.framework.BundleException: Unresolved constraint in bundle uk.ac.manchester.cs.owl.factplusplus [17]: Unable to resolve 17.0: missing requirement [17.0] osgi.wiring.package; (osgi.wiring.package=org.apache.log4j) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.coode.owlviz [18] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.coode.owlviz.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.coode.owlviz [18]: Unable to resolve 18.0: missing requirement [18.0] osgi.wiring.package; (osgi.wiring.package=javax.swing))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.coode.owlviz [18]: Unable to resolve 18.0: missing requirement [18.0] osgi.wiring.package; (osgi.wiring.package=javax.swing)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle ca.uvic.cs.chisel.cajun [19] Error starting file:/home/davek/apps/Protege_4.3/plugins/ca.uvic.cs.chisel.cajun.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle ca.uvic.cs.chisel.cajun [19]: Unable to resolve 19.0: missing requirement [19.0] osgi.wiring.package; (&(osgi.wiring.package=javax.imageio)(version>=0.0.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle ca.uvic.cs.chisel.cajun [19]: Unable to resolve 19.0: missing requirement [19.0] osgi.wiring.package; (&(osgi.wiring.package=javax.imageio)(version>=0.0.0))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.protege.editor.owl.rdf [20] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.protege.editor.owl.rdf.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.editor.owl.rdf [20]: Unable to resolve 20.0: missing requirement [20.0] osgi.wiring.package; (&(osgi.wiring.package=javax.swing)(version>=0.0.0)))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.editor.owl.rdf [20]: Unable to resolve 20.0: missing requirement [20.0] osgi.wiring.package; (&(osgi.wiring.package=javax.swing)(version>=0.0.0))
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.semanticweb.HermiT [21] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.semanticweb.HermiT.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.semanticweb.HermiT [21]: Unable to resolve 21.0: missing requirement [21.0] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.protege.editor.core.application)(bundle-version>=4.1.0)) [caused by: Unable to resolve 7.0: missing requirement [7.0] osgi.wiring.package; (&(osgi.wiring.package=com.jgoodies.looks)(version>=2.2.1)) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))]])
org.osgi.framework.BundleException: Unresolved constraint in bundle org.semanticweb.HermiT [21]: Unable to resolve 21.0: missing requirement [21.0] osgi.wiring.bundle; (&(osgi.wiring.bundle=org.protege.editor.core.application)(bundle-version>=4.1.0)) [caused by: Unable to resolve 7.0: missing requirement [7.0] osgi.wiring.package; (&(osgi.wiring.package=com.jgoodies.looks)(version>=2.2.1)) [caused by: Unable to resolve 1.0: missing requirement [1.0] osgi.wiring.package; (&(osgi.wiring.package=org.w3c.dom)(version>=0.0.0))]]
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.protege.ontograf [22] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.protege.ontograf.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.ontograf [22]: Unable to resolve 22.0: missing requirement [22.0] osgi.wiring.package; (osgi.wiring.package=javax.imageio))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.ontograf [22]: Unable to resolve 22.0: missing requirement [22.0] osgi.wiring.package; (osgi.wiring.package=javax.imageio)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
ERROR: Bundle org.protege.editor.owl.diff [23] Error starting file:/home/davek/apps/Protege_4.3/plugins/org.protege.editor.owl.diff.jar (org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.editor.owl.diff [23]: Unable to resolve 23.0: missing requirement [23.0] osgi.wiring.package; (osgi.wiring.package=javax.swing))
org.osgi.framework.BundleException: Unresolved constraint in bundle org.protege.editor.owl.diff [23]: Unable to resolve 23.0: missing requirement [23.0] osgi.wiring.package; (osgi.wiring.package=javax.swing)
at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3818)
at org.apache.felix.framework.Felix.startBundle(Felix.java:1868)
at org.apache.felix.framework.Felix.setActiveStartLevel(Felix.java:1191)
at org.apache.felix.framework.FrameworkStartLevelImpl.run(FrameworkStartLevelImpl.java:295)
at java.lang.Thread.run(Thread.java:744)
@juniorsthifler
Copy link

juniorsthifler commented Jun 25, 2020

It worked very well for me. Thank you. 06/20/2020

@maina401
Copy link

Awesome! You are a life saver, Thanks.

@Wendkouny
Copy link

Wonderful, this solved my problem. Thanks

@kyryloshevchenko
Copy link

Thanks, I resolved by replacing the felix.jar. you can download from here only felix.jar. https://github.com/Adiii717/protege_docker/blob/master/felix.jar

Cheers Mate!

@PratyushTalreja
Copy link

Thanks @YaVon :) It worked for me!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment