RepreZen / KaiZen-OpenAPI-Editor

Eclipse Editor for the Swagger-OpenAPI Description Language
Eclipse Public License 1.0
115 stars 12 forks source link

Latest version update throwing exception #459

Open vnalla opened 6 years ago

vnalla commented 6 years ago

image

tfesenko commented 6 years ago

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:

These details will help to diagnose the issue. Thanks!

vnalla commented 6 years ago

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 commented 6 years ago

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 commented 6 years ago

@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)