Uploaded image for project: 'Bamboo Artifactory Plug-in'
  1. Bamboo Artifactory Plug-in
  2. BAP-91

Bamboo 3.2 fails to start using Bamboo Artifactory Plug-in

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: 1.4.0
    • Fix Version/s: 1.4.2
    • Labels:
      None

      Description

      After upgrading to the latest bamboo version (3.2), bamboo fails to start if one is using your plugin.
      Following exceptions do occur:

      2011-07-28 12:06:24,902 ERROR [main] [OsgiPlugin] Detected an error (BundleException) enabling the plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin' : Constraint violation for package 'org.codehaus.jackson.map.annotate' when resolving module 38.0 between existing import 38.0.org.codehaus.jackson.map.annotate BLAMED ON [[38.0] package; (&(package=org.codehaus.jackson.map.annotate)(version>=1.4.4))] and uses constraint 0.org.codehaus.jackson.map.annotate BLAMED ON [[38.0] package; (&(package=org.codehaus.jackson.xc)(version>=1.4.4)), [31.0] package; (&(package=org.codehaus.jackson.map.annotate)(version>=1.4.0))]. This error usually occurs when your plugin imports a package from another bundle with a specific version constraint and either the bundle providing that package doesn't meet those version constraints, or there is no bundle available that provides the specified package. For more details on how to fix this, see http://confluence.atlassian.com/x/1xy6D
      2011-07-28 12:06:24,903 WARN [main] [OsgiPlugin] Unable to enable plugin 'com.atlassian.upm.atlassian-universal-plugin-manager-plugin'
      com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.upm.atlassian-universal-plugin-manager-plugin
      at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:430)
      at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237)
      at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114)
      at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99)
      at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:682)
      at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:156)
      at com.atlassian.bamboo.container.BambooContainer.init(BambooContainer.java:173)
      at com.atlassian.bamboo.container.BambooContainer.initialise(BambooContainer.java:137)
      at com.atlassian.bamboo.upgrade.UpgradeLauncher.initialiseBambooContainer(UpgradeLauncher.java:176)
      at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:92)
      at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:39)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:633)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1160)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:576)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)
      at org.eclipse.jetty.server.Server.doStart(Server.java:243)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
      at com.atlassian.bamboo.server.Server.main(Server.java:77)
      Caused by: org.osgi.framework.BundleException: Constraint violation for package 'org.codehaus.jackson.map.annotate' when resolving module 38.0 between existing import 38.0.org.codehaus.jackson.map.annotate BLAMED ON [[38.0] package; (&(package=org.codehaus.jackson.map.annotate)(version>=1.4.4))] and uses constraint 0.org.codehaus.jackson.map.annotate BLAMED ON [[38.0] package; (&(package=org.codehaus.jackson.xc)(version>=1.4.4)), [31.0] package; (&(package=org.codehaus.jackson.map.annotate)(version>=1.4.0))]
      at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3415)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1709)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
      at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:402)
      ... 20 more
      2011-07-28 12:06:24,903 ERROR [main] [PluginEnabler] Unable to enable plugin com.atlassian.upm.atlassian-universal-plugin-manager-plugin
      com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.upm.atlassian-universal-plugin-manager-plugin
      at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:430)
      at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:237)
      at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:114)
      at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:99)
      at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:682)
      at com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:156)
      at com.atlassian.bamboo.container.BambooContainer.init(BambooContainer.java:173)
      at com.atlassian.bamboo.container.BambooContainer.initialise(BambooContainer.java:137)
      at com.atlassian.bamboo.upgrade.UpgradeLauncher.initialiseBambooContainer(UpgradeLauncher.java:176)
      at com.atlassian.bamboo.upgrade.UpgradeLauncher.upgradeAndStartBamboo(UpgradeLauncher.java:92)
      at com.atlassian.bamboo.upgrade.UpgradeLauncher.contextInitialized(UpgradeLauncher.java:39)
      at org.eclipse.jetty.server.handler.ContextHandler.startContext(ContextHandler.java:633)
      at org.eclipse.jetty.servlet.ServletContextHandler.startContext(ServletContextHandler.java:228)
      at org.eclipse.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1160)
      at org.eclipse.jetty.server.handler.ContextHandler.doStart(ContextHandler.java:576)
      at org.eclipse.jetty.webapp.WebAppContext.doStart(WebAppContext.java:492)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
      at org.eclipse.jetty.server.handler.HandlerWrapper.doStart(HandlerWrapper.java:93)
      at org.eclipse.jetty.server.Server.doStart(Server.java:243)
      at org.eclipse.jetty.util.component.AbstractLifeCycle.start(AbstractLifeCycle.java:55)
      at com.atlassian.bamboo.server.Server.main(Server.java:77)
      Caused by: org.osgi.framework.BundleException: Constraint violation for package 'org.codehaus.jackson.map.annotate' when resolving module 38.0 between existing import 38.0.org.codehaus.jackson.map.annotate BLAMED ON [[38.0] package; (&(package=org.codehaus.jackson.map.annotate)(version>=1.4.4))] and uses constraint 0.org.codehaus.jackson.map.annotate BLAMED ON [[38.0] package; (&(package=org.codehaus.jackson.xc)(version>=1.4.4)), [31.0] package; (&(package=org.codehaus.jackson.map.annotate)(version>=1.4.0))]
      at org.apache.felix.framework.Felix.resolveBundle(Felix.java:3415)
      at org.apache.felix.framework.Felix.startBundle(Felix.java:1709)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:905)
      at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:892)
      at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:402)
      ... 20 more

        Attachments

          Activity

            People

            • Assignee:
              noam.tenne Noam Y. Tenne (Inactive)
              Reporter:
              js Joerg Stephan
            • Votes:
              1 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: