Community
Participate
Working Groups
I am experiencing a problem which seems to be coming from the recent re-factorings i.e. Bug 360301, Bug 350385 and Bug 305782 After installing latest Mylyn Reiews, the Eclipse installation is not starting and is complaining of a class not found exception, so the TasksUIPlugin can not be started. Caused by: java.lang.NoClassDefFoundError: org/eclipse/mylyn/internal/tasks/core/notifications/Environment at java.lang.Class.getDeclaredConstructors0(Native Method) at java.lang.Class.privateGetDeclaredConstructors(Class.java:2389) at java.lang.Class.getConstructor0(Class.java:2699) at java.lang.Class.newInstance0(Class.java:326) at java.lang.Class.newInstance(Class.java:308) at org.eclipse.osgi.framework.internal.core.AbstractBundle.loadBundleActivator(AbstractBundle.java:166) ... 69 more Looking at the latest changes in Tasks core, it can be seen that the class above was removed from o.e.m.tasks.core However the upgraded installation picked up the new tasks.core plug-in but not the latest o.e.m.tasks.ui plug-in. Looking at the o.e.mylyn.taks.ui manifest, it specifies dependencies to o.e.m.tasks.core [3.0.0, 4.0.0). I think the minimum dependency should now be moved to 3.7 so the latest tasks.ui gets loaded as well. A separate task shall also be raised to make sure Mylyn Versions and Mylyn Reviews introduce dependencies at the feature level to make the propagation of dependencies more robust.
Created attachment 208464 [details] eclipse failing to start
Created attachment 208465 [details] List of updated Mylyn Bundles
Created attachment 208466 [details] Showing Tasks Ui not updated to latest
On the same discussion, it seems org.eclipse.mylyn-feature needs to replace the dependency to o.e.mylyn.commons.core bundle to o.e.m.commons-feature
Thanks for pointing that out. I have changed the version constraints in all framework bundles to require version 0.9.0 or 3.7.0 or higher of other Mylyn bundles. I am not sure why you encountered this error. It seems that the updated notifications bundle did get installed but since there are several versions of some bundles Eclipse may have loaded the wrong combination of versions. The changes I made and restructured Mylyn commons features should avoid this scenario in the future.
Created attachment 208515 [details] mylyn/context/zip