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

Latest version update throwing exception #459

Open
vnalla opened this issue Aug 22, 2018 · 4 comments
Open

Latest version update throwing exception #459

vnalla opened this issue Aug 22, 2018 · 4 comments

Comments

@vnalla
Copy link

vnalla commented Aug 22, 2018

image

@tfesenko
Copy link
Member

Hi @vnalla , Sorry to hear that you are having this issue with KaiZen-OpenAPI-Editor and thank you for reporting it.
I can't see this problem on my build. Can you please provide more details so I could reproduce it:

  • Version of KaiZen-OpenAPI-Editor
  • Eclipse distribution which you use as a host for KaiZen-OpenAPI-Editor
  • How to reproduce this error. E.g., is it happening on opening an OAS3 file?
  • Do you have anything in the Error Log?

These details will help to diagnose the issue. Thanks!

@vnalla
Copy link
Author

vnalla commented Aug 22, 2018

Version of KaiZen-OpenAPI-Editor -- 0.8.0.201808221157
Eclipse Version: Orxygen.3a Release (4.7.3a) Build id:20180405-1200
Yes for OAS3 files
ErrorLog.log

@vnalla
Copy link
Author

vnalla commented Aug 22, 2018

I also tried to install in the Eclipse Photon version as well, but it does not have OAS3 Spec.

image

Eclipse Version: Photon Release (4.8.0) Build id: 20180619-1200
KaiZen-OpenAPI-Editor version: 0.8.0.201808221157 -- latest version from Eclipse Market place
ErrorLog1.log

@tfesenko
Copy link
Member

@ghillairet , @andylowry , this is our latest build (from six hours ago), the problem is in duplicate instances of javax.mail.

org.osgi.framework.BundleException: Could not resolve module: com.reprezen.swagedit.openapi3 [1098]
  Unresolved requirement: Require-Bundle: com.github.eclipsecolortheme; resolution:="optional"
  Bundle was not resolved because of a uses contraint violation.
  org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource com.reprezen.swagedit.openapi3 [osgi.identity; type="osgi.bundle"; version:Version="0.8.0.201808221157"; osgi.identity="com.reprezen.swagedit.openapi3"; singleton:="true"] because it is exposed to package 'javax.mail' from resources com.sun.mail.javax.mail [osgi.identity; type="osgi.bundle"; version:Version="1.6.1"; osgi.identity="com.sun.mail.javax.mail"] and javax.mail [osgi.identity; type="osgi.bundle"; version:Version="1.4.0.v201005080615"; osgi.identity="javax.mail"] via two dependency chains.

Chain 1:
  com.reprezen.swagedit.openapi3 [osgi.identity; type="osgi.bundle"; version:Version="0.8.0.201808221157"; osgi.identity="com.reprezen.swagedit.openapi3"; singleton:="true"]
    require: (&(osgi.wiring.bundle=javax.mail-api)(bundle-version>=1.6.1))
     |
    provide: osgi.wiring.bundle: javax.mail-api
  com.sun.mail.javax.mail [osgi.identity; type="osgi.bundle"; version:Version="1.6.1"; osgi.identity="com.sun.mail.javax.mail"]

Chain 2:
  com.reprezen.swagedit.openapi3 [osgi.identity; type="osgi.bundle"; version:Version="0.8.0.201808221157"; osgi.identity="com.reprezen.swagedit.openapi3"; singleton:="true"]
    require: (&(osgi.wiring.bundle=org.slf4j.api)(bundle-version>=1.7.2))
     |
    provide: osgi.wiring.bundle; bundle-version:Version="1.7.2.v20121108-1250"; osgi.wiring.bundle="org.slf4j.api"
  org.slf4j.api [osgi.identity; type="osgi.bundle"; version:Version="1.7.2.v20121108-1250"; osgi.identity="org.slf4j.api"]
    require: (&(osgi.wiring.bundle=ch.qos.logback.classic)(&(bundle-version>=1.0.7)(!(bundle-version>=1.0.8))))
     |
    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; type="osgi.bundle"; version:Version="1.0.7.v20121108-1250"; osgi.identity="ch.qos.logback.classic"]
    import: (&(osgi.wiring.package=ch.qos.logback.core.status)(version>=1.0.7))
     |
    export: osgi.wiring.package=ch.qos.logback.core.status; uses:=javax.mail
  ch.qos.logback.core [osgi.identity; type="osgi.bundle"; version:Version="1.0.7.v20121108-1250"; osgi.identity="ch.qos.logback.core"]
    import: (osgi.wiring.package=javax.mail)

tfesenko added a commit that referenced this issue Aug 23, 2018
andylowry added a commit that referenced this issue Aug 24, 2018
#459 - remove dependency on javax.mail
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