Menu

#5 Jautodoc is not initialized on Oxygen

v1.0_(example)
open
nobody
None
5
2019-01-06
2018-01-31
mgscat
No

This is de error log:

eclipse.buildId=4.7.2.M20171130-0510
java.version=1.8.0_144
java.vendor=Oracle Corporation
BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=ca_ES
Framework arguments: -product org.eclipse.epp.package.jee.product
Command-line arguments: -os linux -ws gtk -arch x86_64 -product org.eclipse.epp.package.jee.product

net.sf.jautodoc
Error
Wed Jan 31 11:56:00 CET 2018
FrameworkEvent ERROR

org.osgi.framework.BundleException: Could not resolve module: net.sf.jautodoc [1647]
Bundle was not resolved because of a uses contraint violation.
org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource net.sf.jautodoc [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc"; singleton:="true"] because it is exposed to package 'org.apache.oro.text.regex' from resources net.sf.jautodoc.velocity [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc.velocity"] and oracle.eclipse.tools.common.templating [osgi.identity; type="osgi.bundle"; version:Version="16.4.0.201705251324"; osgi.identity="oracle.eclipse.tools.common.templating"; singleton:="true"] via two dependency chains.

Chain 1:
net.sf.jautodoc [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc"; singleton:="true"]
require: (osgi.wiring.bundle=net.sf.jautodoc.velocity)
|
provide: osgi.wiring.bundle: net.sf.jautodoc.velocity
net.sf.jautodoc.velocity [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc.velocity"]

Chain 2:
net.sf.jautodoc [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc"; singleton:="true"]
require: (osgi.wiring.bundle=org.apache.ant)
|
provide: osgi.wiring.bundle; bundle-version:Version="1.10.1.v20170504-0840"; osgi.wiring.bundle="org.apache.ant"
org.apache.ant [osgi.identity; type="osgi.bundle"; version:Version="1.10.1.v20170504-0840"; osgi.identity="org.apache.ant"]
import: (osgi.wiring.package=org.apache.oro.text.regex)
|
export: osgi.wiring.package: org.apache.oro.text.regex
oracle.eclipse.tools.common.templating [osgi.identity; type="osgi.bundle"; version:Version="16.4.0.201705251324"; osgi.identity="oracle.eclipse.tools.common.templating"; singleton:="true"]
at org.eclipse.osgi.container.Module.start(Module.java:444)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1613)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585)
at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528)
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)

Related

Bugs: #5

Discussion

  • Martin Kesting

    Martin Kesting - 2018-02-03

    Seems to be a conflict with the Oracle Enterprise Pack, because both export the package "org.apache.oro.text.regex". I removed this export in the attached version of the velocity plugin. Please try to replace this version in the plugins directory of your Eclipse installation and restart Eclipse.

     
    • mgscat

      mgscat - 2018-02-06

      Sorry,
      Doing that simply avoids the error. JAutodoc still does not appear in the preferences > java menu (nor anywhere else)

       
  • Martin Kesting

    Martin Kesting - 2018-02-06

    Maybe you can try to run Eclipse with the -clean option.

    Is there no other error message about JAutodoc in the Error Log View or in "workspace.metadata.log" ?

     
  • Greg Woolsey

    Greg Woolsey - 2019-01-04

    I see a similar error with MyEclipse CI 2018.12.0. It looks in this case like MyEclipse is including Velocity for something already? Not an OSGI guru, though, I'm just reading the error message as best I can. This is on Windows 10, if that makes a difference (probably not).

    org.osgi.framework.BundleException: Could not resolve module: net.sf.jautodoc [1774]
      Bundle was not resolved because of a uses contraint violation.
      org.osgi.service.resolver.ResolutionException: Uses constraint violation. Unable to resolve resource net.sf.jautodoc [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc"; singleton:="true"] because it is exposed to package 'org.apache.oro.text.regex' from resources net.sf.jautodoc.velocity [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc.velocity"] and com.genuitec.eclipse.templates [osgi.identity; type="osgi.bundle"; version:Version="13.0.0.me201805280638"; osgi.identity="com.genuitec.eclipse.templates"] via two dependency chains.
    
    Chain 1:
      net.sf.jautodoc [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc"; singleton:="true"]
        require: (osgi.wiring.bundle=net.sf.jautodoc.velocity)
         |
        provide: osgi.wiring.bundle: net.sf.jautodoc.velocity
      net.sf.jautodoc.velocity [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc.velocity"]
    
    Chain 2:
      net.sf.jautodoc [osgi.identity; type="osgi.bundle"; version:Version="1.14.0"; osgi.identity="net.sf.jautodoc"; singleton:="true"]
        require: (osgi.wiring.bundle=org.apache.ant)
         |
        provide: osgi.wiring.bundle; bundle-version:Version="1.10.3.v20180417-1627"; osgi.wiring.bundle="org.apache.ant"
      org.apache.ant [osgi.identity; type="osgi.bundle"; version:Version="1.10.3.v20180417-1627"; osgi.identity="org.apache.ant"]
        import: (osgi.wiring.package=org.apache.oro.text.regex)
         |
        export: osgi.wiring.package: org.apache.oro.text.regex
      com.genuitec.eclipse.templates [osgi.identity; type="osgi.bundle"; version:Version="13.0.0.me201805280638"; osgi.identity="com.genuitec.eclipse.templates"]
        at org.eclipse.osgi.container.Module.start(Module.java:444)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1682)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1661)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1624)
        at org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1555)
        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)
    
     
  • Martin Kesting

    Martin Kesting - 2019-01-06

    I removed all exports of 'org.apache.oro' in the attached version of the velocity plugin. Please try to replace this version in the plugins directory of your Eclipse installation and restart Eclipse. Maybe you need to run Eclipse with the -clean option.

     
    • Greg Woolsey

      Greg Woolsey - 2019-01-07

      I already tried this one, attached to the issue. I just tried again with
      the link you provided, and got the same startup error, even with --clean.
      Something else is broken in combination with the default plugins installed
      with the MyEclipse packaging of Eclipse.

      On Sun, Jan 6, 2019 at 1:49 PM Martin Kesting mkesting@users.sourceforge.net wrote:

      I removed all exports of 'org.apache.oro' in the attached version of the
      velocity plugin. Please try to replace this version in the plugins
      directory of your Eclipse installation and restart Eclipse. Maybe you need
      to run Eclipse with the -clean option.

      Attachments:


      Status: open
      Group: v1.0_(example)
      Created: Wed Jan 31, 2018 11:09 AM UTC by Marc GS
      Last Updated: Fri Jan 04, 2019 09:37 PM UTC
      Owner: nobody

      This is de error log:

      eclipse.buildId=4.7.2.M20171130-0510
      java.version=1.8.0_144
      java.vendor=Oracle Corporation
      BootLoader constants: OS=linux, ARCH=x86_64, WS=gtk, NL=ca_ES
      Framework arguments: -product org.eclipse.epp.package.jee.product
      Command-line arguments: -os linux -ws gtk -arch x86_64 -product
      org.eclipse.epp.package.jee.product

      net.sf.jautodoc
      Error
      Wed Jan 31 11:56:00 CET 2018
      FrameworkEvent ERROR

      org.osgi.framework.BundleException: Could not resolve module:
      net.sf.jautodoc [1647]
      Bundle was not resolved because of a uses contraint violation.
      org.osgi.service.resolver.ResolutionException: Uses constraint violation.
      Unable to resolve resource net.sf.jautodoc [osgi.identity;
      type="osgi.bundle"; version:Version="1.14.0";
      osgi.identity="net.sf.jautodoc"; singleton:="true"]
      because it is exposed
      to package 'org.apache.oro.text.regex' from resources
      net.sf.jautodoc.velocity [osgi.identity; type="osgi.bundle";
      version:Version="1.14.0"; osgi.identity="net.sf.jautodoc.velocity"]
      and
      oracle.eclipse.tools.common.templating [osgi.identity;
      type="osgi.bundle"; version:Version="16.4.0.201705251324";
      osgi.identity="oracle.eclipse.tools.common.templating"; singleton:="true"]

      via two dependency chains.

      Chain 1:
      net.sf.jautodoc [osgi.identity; type="osgi.bundle";
      version:Version="1.14.0"; osgi.identity="net.sf.jautodoc";
      singleton:="true"]

      require: (osgi.wiring.bundle=net.sf.jautodoc.velocity)
      |
      provide: osgi.wiring.bundle: net.sf.jautodoc.velocity
      net.sf.jautodoc.velocity [osgi.identity; type="osgi.bundle";
      version:Version="1.14.0"; osgi.identity="net.sf.jautodoc.velocity"]

      Chain 2:
      net.sf.jautodoc [osgi.identity; type="osgi.bundle";
      version:Version="1.14.0"; osgi.identity="net.sf.jautodoc";
      singleton:="true"]

      require: (osgi.wiring.bundle=org.apache.ant)
      |
      provide: osgi.wiring.bundle;
      bundle-version:Version="1.10.1.v20170504-0840";
      osgi.wiring.bundle="org.apache.ant"
      org.apache.ant [osgi.identity; type="osgi.bundle";
      version:Version="1.10.1.v20170504-0840"; osgi.identity="org.apache.ant"]

      import: (osgi.wiring.package=org.apache.oro.text.regex)
      |
      export: osgi.wiring.package: org.apache.oro.text.regex
      oracle.eclipse.tools.common.templating [osgi.identity;
      type="osgi.bundle"; version:Version="16.4.0.201705251324";
      osgi.identity="oracle.eclipse.tools.common.templating"; singleton:="true"]

      at org.eclipse.osgi.container.Module.start(Module.java:444)
      at
      org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1634)
      at
      org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.incStartLevel(ModuleContainer.java:1613)
      at
      org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.doContainerStartLevel(ModuleContainer.java:1585)
      at
      org.eclipse.osgi.container.ModuleContainer$ContainerStartLevel.dispatchEvent(ModuleContainer.java:1528)
      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)


      Sent from sourceforge.net because you indicated interest in
      https://sourceforge.net/p/jautodoc/bugs/5/

      To unsubscribe from further messages, please visit
      https://sourceforge.net/auth/subscriptions/

       

      Related

      Bugs: #5


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.