Skip to main content

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [List Home]
Re: [cross-project-issues-dev] org.eclipse.mylyn.commons.notifications.feed still part of Mylyn feature and causing Bundle exceptions

Hi Lars,

This is a p2 bug exposed by the set of version constraints that exist in Mylyn + JAXB and other users. The issue is worked around in EPP, but not SDK. In EPP we always install the JAXB bundles that p2 misses:

https://git.eclipse.org/r/plugins/gitiles/epp/org.eclipse.epp.packages/+/refs/heads/master/packages/org.eclipse.epp.package.common.feature/feature.xml#23

"we" are waiting on Mylyn to update to newer versions of jaxb: Bug 569078
The p2 bug is https://bugs.eclipse.org/bugs/show_bug.cgi?id=525368

There is a workaround to force installation of the missing bundle that p2 doesn't install: https://bugs.eclipse.org/bugs/show_bug.cgi?id=569078#c4

HTH,
Jonah


~~~
Jonah Graham
Kichwa Coders
www.kichwacoders.com


On Wed, 10 Nov 2021 at 08:11, Lars Vogel <lars.vogel@xxxxxxxxxxx> wrote:
Dear all,

During startup I see the following exception (see below) from
org.eclipse.mylyn.commons.notifications.feed. Checking my
installation, I see that the EGit Github integration includes the
Mylyn Task List.

AFAIK Mylyn is not actively working on the current release.

What is the right thing to do here? Ask EGit to remove Mylyn from
their installation list? Or ask Mylyn to look into this and
potentially remove org.eclipse.mylyn.commons.notifications.feed?

Best regards, Lars

!ENTRY org.eclipse.mylyn.commons.notifications.feed 4 0 2021-11-10 13:57:22.003
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module:
org.eclipse.mylyn.commons.notifications.feed [284]
  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.mylyn.commons.notifications.feed [osgi.identity;
osgi.identity="org.eclipse.mylyn.commons.notifications.feed";
type="osgi.bundle"; version:Version="1.17.2.v20200813-0821";
singleton:="true"] because it is exposed to package 'javax.xml.bind'
from resources javax.xml.bind [osgi.identity;
osgi.identity="javax.xml.bind"; type="osgi.bundle";
version:Version="2.2.0.v201105210648"] and jakarta.xml.bind
[osgi.identity; osgi.identity="jakarta.xml.bind"; type="osgi.bundle";
version:Version="2.3.3.v20201118-1818"] via two dependency chains.

Chain 1:
  org.eclipse.mylyn.commons.notifications.feed [osgi.identity;
osgi.identity="org.eclipse.mylyn.commons.notifications.feed";
type="osgi.bundle"; version:Version="1.17.2.v20200813-0821";
singleton:="true"]
    require: (&(osgi.wiring.bundle=javax.xml.bind)(bundle-version>=2.2.0))
     |
    provide: osgi.wiring.bundle: javax.xml.bind
  javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind";
type="osgi.bundle"; version:Version="2.2.0.v201105210648"]

Chain 2:
  org.eclipse.mylyn.commons.notifications.feed [osgi.identity;
osgi.identity="org.eclipse.mylyn.commons.notifications.feed";
type="osgi.bundle"; version:Version="1.17.2.v20200813-0821";
singleton:="true"]
    require: (&(osgi.wiring.bundle=com.sun.xml.bind)(bundle-version>=2.2.0))
     |
    provide: osgi.wiring.bundle;
bundle-version:Version="2.3.3.v20201118-1818";
osgi.wiring.bundle="com.sun.xml.bind"
  com.sun.xml.bind [osgi.identity; osgi.identity="com.sun.xml.bind";
type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"]
    import: (&(osgi.wiring.package=javax.xml.bind)(&(version>=2.3.3)(!(version>=2.3.4))))
     |
    export: osgi.wiring.package: javax.xml.bind
  jakarta.xml.bind [osgi.identity; osgi.identity="jakarta.xml.bind";
type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"]
at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.lambda$1(ModuleContainer.java:1834)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1829)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1775)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1739)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1661)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:228)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:339)

!ENTRY org.eclipse.mylyn.github.ui 4 0 2021-11-10 13:57:22.019
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module:
org.eclipse.mylyn.github.ui [297]
  Unresolved requirement: Require-Bundle: org.eclipse.mylyn.tasks.ui;
bundle-version="[3.20.0,4.0.0)"
    -> Bundle-SymbolicName: org.eclipse.mylyn.tasks.ui;
bundle-version="3.25.2.v20200814-0512"; singleton:="true"
       org.eclipse.mylyn.tasks.ui [305]
         Unresolved requirement: Require-Bundle:
org.eclipse.mylyn.commons.notifications.feed; bundle-version="1.0.0"
           -> Bundle-SymbolicName:
org.eclipse.mylyn.commons.notifications.feed;
bundle-version="1.17.2.v20200813-0821"; singleton:="true"
              org.eclipse.mylyn.commons.notifications.feed [284]
                No resolution report for the bundle.  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.mylyn.commons.notifications.feed [osgi.identity;
osgi.identity="org.eclipse.mylyn.commons.notifications.feed";
type="osgi.bundle"; version:Version="1.17.2.v20200813-0821";
singleton:="true"] because it is exposed to package 'javax.xml.bind'
from resources javax.xml.bind [osgi.identity;
osgi.identity="javax.xml.bind"; type="osgi.bundle";
version:Version="2.2.0.v201105210648"] and jakarta.xml.bind
[osgi.identity; osgi.identity="jakarta.xml.bind"; type="osgi.bundle";
version:Version="2.3.3.v20201118-1818"] via two dependency chains.

Chain 1:
  org.eclipse.mylyn.commons.notifications.feed [osgi.identity;
osgi.identity="org.eclipse.mylyn.commons.notifications.feed";
type="osgi.bundle"; version:Version="1.17.2.v20200813-0821";
singleton:="true"]
    require: (&(osgi.wiring.bundle=javax.xml.bind)(bundle-version>=2.2.0))
     |
    provide: osgi.wiring.bundle: javax.xml.bind
  javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind";
type="osgi.bundle"; version:Version="2.2.0.v201105210648"]

Chain 2:
  org.eclipse.mylyn.commons.notifications.feed [osgi.identity;
osgi.identity="org.eclipse.mylyn.commons.notifications.feed";
type="osgi.bundle"; version:Version="1.17.2.v20200813-0821";
singleton:="true"]
    require: (&(osgi.wiring.bundle=com.sun.xml.bind)(bundle-version>=2.2.0))
     |
    provide: osgi.wiring.bundle;
bundle-version:Version="2.3.3.v20201118-1818";
osgi.wiring.bundle="com.sun.xml.bind"
  com.sun.xml.bind [osgi.identity; osgi.identity="com.sun.xml.bind";
type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"]
    import: (&(osgi.wiring.package=javax.xml.bind)(&(version>=2.3.3)(!(version>=2.3.4))))
     |
    export: osgi.wiring.package: javax.xml.bind
  jakarta.xml.bind [osgi.identity; osgi.identity="jakarta.xml.bind";
type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"]
at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.lambda$1(ModuleContainer.java:1834)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1829)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1775)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1739)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1661)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:228)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:339)

!ENTRY org.eclipse.mylyn.tasks.ui 4 0 2021-11-10 13:57:22.031
!MESSAGE FrameworkEvent ERROR
!STACK 0
org.osgi.framework.BundleException: Could not resolve module:
org.eclipse.mylyn.tasks.ui [305]
  Unresolved requirement: Require-Bundle:
org.eclipse.mylyn.commons.notifications.feed; bundle-version="1.0.0"
    -> Bundle-SymbolicName:
org.eclipse.mylyn.commons.notifications.feed;
bundle-version="1.17.2.v20200813-0821"; singleton:="true"
       org.eclipse.mylyn.commons.notifications.feed [284]
         No resolution report for the bundle.  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.mylyn.commons.notifications.feed [osgi.identity;
osgi.identity="org.eclipse.mylyn.commons.notifications.feed";
type="osgi.bundle"; version:Version="1.17.2.v20200813-0821";
singleton:="true"] because it is exposed to package 'javax.xml.bind'
from resources javax.xml.bind [osgi.identity;
osgi.identity="javax.xml.bind"; type="osgi.bundle";
version:Version="2.2.0.v201105210648"] and jakarta.xml.bind
[osgi.identity; osgi.identity="jakarta.xml.bind"; type="osgi.bundle";
version:Version="2.3.3.v20201118-1818"] via two dependency chains.

Chain 1:
  org.eclipse.mylyn.commons.notifications.feed [osgi.identity;
osgi.identity="org.eclipse.mylyn.commons.notifications.feed";
type="osgi.bundle"; version:Version="1.17.2.v20200813-0821";
singleton:="true"]
    require: (&(osgi.wiring.bundle=javax.xml.bind)(bundle-version>=2.2.0))
     |
    provide: osgi.wiring.bundle: javax.xml.bind
  javax.xml.bind [osgi.identity; osgi.identity="javax.xml.bind";
type="osgi.bundle"; version:Version="2.2.0.v201105210648"]

Chain 2:
  org.eclipse.mylyn.commons.notifications.feed [osgi.identity;
osgi.identity="org.eclipse.mylyn.commons.notifications.feed";
type="osgi.bundle"; version:Version="1.17.2.v20200813-0821";
singleton:="true"]
    require: (&(osgi.wiring.bundle=com.sun.xml.bind)(bundle-version>=2.2.0))
     |
    provide: osgi.wiring.bundle;
bundle-version:Version="2.3.3.v20201118-1818";
osgi.wiring.bundle="com.sun.xml.bind"
  com.sun.xml.bind [osgi.identity; osgi.identity="com.sun.xml.bind";
type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"]
    import: (&(osgi.wiring.package=javax.xml.bind)(&(version>=2.3.3)(!(version>=2.3.4))))
     |
    export: osgi.wiring.package: javax.xml.bind
  jakarta.xml.bind [osgi.identity; osgi.identity="jakarta.xml.bind";
type="osgi.bundle"; version:Version="2.3.3.v20201118-1818"]
at org.eclipse.osgi.container.Module.start(Module.java:463)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.lambda$1(ModuleContainer.java:1834)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1829)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1775)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1739)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1661)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:228)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:339)
!SESSION 2021-11-10 13:57:10.145 -----------------------------------------------
eclipse.buildId=4.22.0.I20211108-1800
java.version=16.0.2
java.vendor=Eclipse Foundation

--
Eclipse Platform project co-lead
CEO vogella GmbH

Haindaalwisch 17a, 22395 Hamburg
Amtsgericht Hamburg: HRB 127058
Geschäftsführer: Lars Vogel, Jennifer Nerlich de Vogel
USt-IdNr.: DE284122352
Fax (040) 5247 6322, Email: lars.vogel@xxxxxxxxxxx, Web: http://www.vogella.com
_______________________________________________
cross-project-issues-dev mailing list
cross-project-issues-dev@xxxxxxxxxxx
To unsubscribe from this list, visit https://www.eclipse.org/mailman/listinfo/cross-project-issues-dev

Back to the top