Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Installed latest version successfully on Marse (4.5.2), but doesn't work! #73

Open
hedayat opened this issue May 4, 2016 · 8 comments

Comments

@hedayat
Copy link

hedayat commented May 4, 2016

Is there any logs I can inspect?!

@hedayat
Copy link
Author

hedayat commented May 4, 2016

Found:
`org.osgi.framework.BundleException: Could not resolve module: net.sf.redmine_mylyn.api [23]
Unresolved requirement: Require-Bundle: net.sf.redmine_mylyn.common; bundle-version="0.4.0"
-> Bundle-SymbolicName: net.sf.redmine_mylyn.common; bundle-version="-1.4.0.201602071631"; singleton:="true"
net.sf.redmine_mylyn.common [24]
No resolution report for the bundle. Bundle was not resolved because of a uses contraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource net.sf.redmine_mylyn.common [osgi.identity; osgi.identity="net.sf.redmine_mylyn.common"; type="osgi.bundle"; version:Version="0.4.0.201602071631"; singleton:="true"] because it is exposed to package 'org.slf4j.helpers' from resources org.slf4j.api [osgi.identity; osgi.identity="org.slf4j.api"; type="osgi.bundle"; version:Version="1.7.2.v20121108-1250"] and slf4j.api [osgi.identity; osgi.identity="slf4j.api"; type="osgi.bundle"; version:Version="1.7.12"] via two dependency chains.

Chain 1:
net.sf.redmine_mylyn.common [osgi.identity; osgi.identity="net.sf.redmine_mylyn.common"; type="osgi.bundle"; version:Version="0.4.0.201602071631"; singleton:="true"]
require: (&(osgi.wiring.bundle=org.slf4j.api)(bundle-version>=1.5.11))
|
provide: osgi.wiring.bundle: org.slf4j.api
org.slf4j.api [osgi.identity; osgi.identity="org.slf4j.api"; type="osgi.bundle"; version:Version="1.7.2.v20121108-1250"]

Chain 2:
net.sf.redmine_mylyn.common [osgi.identity; osgi.identity="net.sf.redmine_mylyn.common"; type="osgi.bundle"; version:Version="0.4.0.201602071631"; singleton:="true"]
require: (&(osgi.wiring.bundle=ch.qos.logback.classic)(bundle-version>=0.9.19))
|
provide: osgi.wiring.bundle; bundle-version:Version="1.0.7.v20121108-1250"; osgi.wiring.bundle="ch.qos.logback.classic"
ch.qos.logback.classic [osgi.identity; osgi.identity="ch.qos.logback.classic"; type="osgi.bundle"; version:Version="1.0.7.v20121108-1250"]
import: (&(osgi.wiring.package=org.slf4j.helpers)(version>=1.7.0))
|
export: osgi.wiring.package: org.slf4j.helpers
slf4j.api [osgi.identity; osgi.identity="slf4j.api"; type="osgi.bundle"; version:Version="1.7.12"]
at org.eclipse.osgi.container.Module.start(Module.java:434)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1582)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1561)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1533)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1476)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1)
at org.eclipse.osgi.framework.eventmgr.EventManager.dispatchEvent(EventManager.java:230)
at org.eclipse.osgi.framework.eventmgr.EventManager$EventThread.run(EventManager.java:340)
`

@hedayat
Copy link
Author

hedayat commented May 4, 2016

Solved somehow after fiddling with eclipse files!
But maybe the org.slf4j.api dependency should be changed to slf4j.api in newer eclipse versions.

@ljader
Copy link
Owner

ljader commented May 4, 2016

@hedayat Could you give more detais about your system?

Redmine version
Eclipse version (and flavor like JEE, SDK or Java...)
Redmine Mylyn Eclipse Plugin version
Redmine Mylyn Connector version and url where you get it
are you connecting using API Key or User/Pass

@hedayat
Copy link
Author

hedayat commented May 4, 2016

Redmine version: 3.2.x (will see the exact version number and report in a few days. No access to redmine instance right now).
Eclipse version: 4.5.2 I'm using Fedora 23's eclipse package for C++ development. So its mainly Eclipse + CDT with a number of other plugins.
Redmine mylyn connector is the one I introduced in #72: https://github.com/joaopedrotaveira/redmine_mylyn_connector
IIRC, I'm using API key.
Eclipse plugin is the latest one available right now: https://github.com/ljader/redmine-mylyn-plugin/releases/latest

@hedayat
Copy link
Author

hedayat commented May 4, 2016

Notice that it seems that the main problem is that my Eclipse installation uses slf4j.api version 1.7.12, while the plugin installs org.slf4j.api version 1.7.2.v20121108-1250, and it seems that both of these versions are 'exposed' to net.sf.redmine_mylyn.common

@ljader
Copy link
Owner

ljader commented May 4, 2016

@hedayat thanks very much for the info, currently I'm working on resolving dependencies with different library but I will give this also a look.

@hedayat
Copy link
Author

hedayat commented May 7, 2016

You're welcome. Thank you for considering this report & to develop this plugin. :)
Our redmine version is 3.1.1

@ljader
Copy link
Owner

ljader commented Oct 25, 2017

Hi @hedayat can you try to re-create the issue with recent 0.5.1 version of the plugin?
https://github.com/ljader/redmine-mylyn-plugin/releases

Thank you for your help.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants