Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cdt-dev] Fwd: [Bug 559641] No Meson in CDT due to Meson UI causing OSGi wiring issue: org.osgi.framework.BundleException: Could not resolve module: org.eclipse.cdt.meson.ui

I saw the same problem, I don't why. However using the latest cdt master version I can't see it anymore.

Il mar 28 gen 2020, 19:28 Jonah Graham <jonah@xxxxxxxxxxxxxxxx> ha scritto:
Hello cdt-devers,

I have an interesting problem that I hope someone can shed some light on in Bug 559641 regarding OSGi wiring problems causing no Meson support to work.

--- From bug description --- 

When I launch Eclipse CDT in my dev environment with every project in the git repo I get a wiring error around org.eclipse.cdt.meson.ui. This does not happen with 2020-03 M1 C/C++ For Eclipse Developers.

!ENTRY org.eclipse.cdt.meson.ui 4 0 2020-01-28 13:15:44.865
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module: org.eclipse.cdt.meson.ui [180]
  Bundle was not resolved because of a uses constraint violation.
  org.apache.felix.resolver.reason.ReasonException: Uses constraint violation. Unable to resolve resource org.eclipse.cdt.meson.ui [osgi.identity; osgi.identity="org.eclipse.cdt.meson.ui"; type="osgi.bundle"; version:Version="1.0.400.qualifier"; singleton:="true"] because it is exposed to package 'javax.xml.bind.annotation' from resources org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.15.200.v20200107-1357"; singleton:="true"] and javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.2.0.v201105210648"] via two dependency chains.

Chain 1:
  org.eclipse.cdt.meson.ui [osgi.identity; osgi.identity="org.eclipse.cdt.meson.ui"; type="osgi.bundle"; version:Version="1.0.400.qualifier"; singleton:="true"]
    require: (&(osgi.wiring.bundle=org.eclipse.core.runtime)(bundle-version>=3.13.0))
     |
    provide: osgi.wiring.bundle: org.eclipse.core.runtime
  org.eclipse.osgi [osgi.identity; osgi.identity="org.eclipse.osgi"; type="osgi.bundle"; version:Version="3.15.200.v20200107-1357"; singleton:="true"]

Chain 2:
  org.eclipse.cdt.meson.ui [osgi.identity; osgi.identity="org.eclipse.cdt.meson.ui"; type="osgi.bundle"; version:Version="1.0.400.qualifier"; singleton:="true"]
    require: (&(osgi.wiring.bundle=com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider)(bundle-version>=2.9.9))
     |
    provide: osgi.wiring.bundle; bundle-version:Version="2.9.9.v20190906-1522"; osgi.wiring.bundle="com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider"
  com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider [osgi.identity; osgi.identity="com.fasterxml.jackson.jaxrs.jackson-jaxrs-json-provider"; type="osgi.bundle"; version:Version="2.9.9.v20190906-1522"]
    import: (&(osgi.wiring.package=com.fasterxml.jackson.jaxrs.base)(version>=2.9.9))
     |
    export: osgi.wiring.package=com.fasterxml.jackson.jaxrs.base; uses:=javax.ws.rs.core
  com.fasterxml.jackson.jaxrs.jackson-jaxrs-base [osgi.identity; osgi.identity="com.fasterxml.jackson.jaxrs.jackson-jaxrs-base"; type="osgi.bundle"; version:Version="2.9.9.v20190906-1522"]
    import: (&(osgi.wiring.package=javax.ws.rs.core)(version>=1.1.1))
     |
    export: osgi.wiring.package=javax.ws.rs.core; uses:=javax.xml.bind.annotation
  javax.ws.rs [osgi.identity; osgi.identity="javax.ws.rs"; type="osgi.bundle"; version:Version="2.0.1.v201504171603"]
    import: (&(osgi.wiring.package=javax.xml.bind.annotation)(&(version>=2.2.0)(!(version>=3.0.0))))
     |
    export: osgi.wiring.package: javax.xml.bind.annotation
  javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind"; type="osgi.bundle"; version:Version="2.2.0.v201105210648"]
at org.eclipse.osgi.container.Module.start(Module.java:462)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel$2.run(ModuleContainer.java:1844)
at org.eclipse.osgi.internal.framework.EquinoxContainerAdaptor$1$1.execute(EquinoxContainerAdaptor.java:136)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1837)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1778)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1742)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1664)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:234)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:345)

_______________________________________________
cdt-dev mailing list
cdt-dev@xxxxxxxxxxx
To change your delivery options, retrieve your password, or unsubscribe from this list, visit
https://www.eclipse.org/mailman/listinfo/cdt-dev

Back to the top