com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.confluence.plugins.whatsnew

Atlassian JIRA | Victor Teoh [Atlassian] | 1 year ago
  1. 0

    h3. *Problem Statement* What's New plugin is not enabled upon startup. After startup, it cannot be manually enabled as well. h3. *Environment* - Confluence 5.9.1 (64bit Installer) - Bundled confluence-whats-new-6.10.2 h3. *Diagnosis* The following stack trace is found in the logs. Clearing the plugin cache doesn't work. Confluence-whats-new-6.7 is working in Confluence 5.8.17. {code} 2015-11-27 18:37:35,044 ERROR [localhost-startStop-1] [plugin.osgi.factory.OsgiPlugin] enableInternal Detected an error (BundleException) enabling the plugin 'com.atlassian.confluence.plugins.whatsnew' : Unresolved constraint in bundle com.atlassian.confluence.plugins.confluence-whats-new [207]: Unable to resolve 207.0: missing requirement [207.0] osgi.wiring.package; (&(osgi.wiring.package=com.atlassian.confluence.plugin.descriptor.web.conditions)(version>=5.9.1.OD-65-004)). 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 https://developer.atlassian.com/x/mQAN 2015-11-27 18:37:35,044 WARN [localhost-startStop-1] [atlassian.plugin.impl.AbstractPlugin] enable Unable to enable plugin 'com.atlassian.confluence.plugins.whatsnew' 2015-11-27 18:37:35,045 WARN [localhost-startStop-1] [atlassian.plugin.impl.AbstractPlugin] enable Because of this exception com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.confluence.plugins.whatsnew at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:407) at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:286) at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:130) at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:107) at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1079) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1055) at com.atlassian.plugin.manager.DefaultPluginManager.lateStartup(DefaultPluginManager.java:536) at com.atlassian.confluence.plugin.ConfluencePluginManager.lateStartup(ConfluencePluginManager.java:157) at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:88) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.atlassian.confluence.plugins.confluence-whats-new [207]: Unable to resolve 207.0: missing requirement [207.0] osgi.wiring.package; (&(osgi.wiring.package=com.atlassian.confluence.plugin.descriptor.web.conditions)(version>=5.9.1.OD-65-004)) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:388) ... 17 more {code} h3. *Solution* Upgrade to Confluence 5.9.2

    Atlassian JIRA | 1 year ago | Victor Teoh [Atlassian]
    com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.confluence.plugins.whatsnew
  2. 0

    h3. *Problem Statement* What's New plugin is not enabled upon startup. After startup, it cannot be manually enabled as well. h3. *Environment* - Confluence 5.9.1 (64bit Installer) - Bundled confluence-whats-new-6.10.2 h3. *Diagnosis* The following stack trace is found in the logs. Clearing the plugin cache doesn't work. Confluence-whats-new-6.7 is working in Confluence 5.8.17. {code} 2015-11-27 18:37:35,044 ERROR [localhost-startStop-1] [plugin.osgi.factory.OsgiPlugin] enableInternal Detected an error (BundleException) enabling the plugin 'com.atlassian.confluence.plugins.whatsnew' : Unresolved constraint in bundle com.atlassian.confluence.plugins.confluence-whats-new [207]: Unable to resolve 207.0: missing requirement [207.0] osgi.wiring.package; (&(osgi.wiring.package=com.atlassian.confluence.plugin.descriptor.web.conditions)(version>=5.9.1.OD-65-004)). 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 https://developer.atlassian.com/x/mQAN 2015-11-27 18:37:35,044 WARN [localhost-startStop-1] [atlassian.plugin.impl.AbstractPlugin] enable Unable to enable plugin 'com.atlassian.confluence.plugins.whatsnew' 2015-11-27 18:37:35,045 WARN [localhost-startStop-1] [atlassian.plugin.impl.AbstractPlugin] enable Because of this exception com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.confluence.plugins.whatsnew at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:407) at com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:286) at com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:130) at com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:107) at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1079) at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1055) at com.atlassian.plugin.manager.DefaultPluginManager.lateStartup(DefaultPluginManager.java:536) at com.atlassian.confluence.plugin.ConfluencePluginManager.lateStartup(ConfluencePluginManager.java:157) at com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:88) at org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729) at org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167) at org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409) at org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: org.osgi.framework.BundleException: Unresolved constraint in bundle com.atlassian.confluence.plugins.confluence-whats-new [207]: Unable to resolve 207.0: missing requirement [207.0] osgi.wiring.package; (&(osgi.wiring.package=com.atlassian.confluence.plugin.descriptor.web.conditions)(version>=5.9.1.OD-65-004)) at org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974) at org.apache.felix.framework.Felix.startBundle(Felix.java:2037) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955) at org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942) at com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:388) ... 17 more {code} h3. *Solution* Upgrade to Confluence 5.9.2

    Atlassian JIRA | 1 year ago | Victor Teoh [Atlassian]
    com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.atlassian.confluence.plugins.whatsnew
  3. 0

    Confluence Macro with external database driver

    Stack Overflow | 8 months ago | Hauke
    com.atlassian.plugin.osgi.container.OsgiContainerException: Cannot start plugin: com.example.plugins.tutorial.confluence.tutorial-confluence-macro-demo-tests
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Cannot load FaCT++ reasoner

    GitHub | 2 years ago | AndreyMZ
    org.osgi.framework.BundleException: Unresolved constraint in bundle uk.ac.manchester.cs.owl.factplusplus [22]: No matching native libraries found.
  6. 0

    feature:install hawtio failed with missing wiring package

    GitHub | 2 years ago | peterberkman
    java.lang.Exception: Could not start bundle mvn:io.hawt/hawtio-karaf-terminal/1.4.19/war in feature(s) hawtio-karaf-terminal-1.4.19: Unresolved constraint in bundle io.hawt.hawtio-karaf-terminal [243]: Unable to resolve 243.0: missing requirement [243.0] osgi.wiring.package; (&(osgi.wiring.package=org.apache.karaf.shell.console.jline)(version>=2.2.0)(!(version>=4.0.0)))

  1. davidvanlaatum 28 times, last 1 month ago
  2. davidvanlaatum 7 times, last 2 months ago
15 unregistered visitors
Not finding the right solution?
Take a tour to get the most out of Samebug.

Tired of useless tips?

Automated exception search integrated into your IDE

Root Cause Analysis

  1. org.osgi.framework.BundleException

    Unresolved constraint in bundle com.atlassian.confluence.plugins.confluence-whats-new [207]: Unable to resolve 207.0: missing requirement [207.0] osgi.wiring.package; (&(osgi.wiring.package=com.atlassian.confluence.plugin.descriptor.web.conditions)(version>=5.9.1.OD-65-004))

    at org.apache.felix.framework.Felix.resolveBundleRevision()
  2. Apache Felix Framework
    BundleImpl.start
    1. org.apache.felix.framework.Felix.resolveBundleRevision(Felix.java:3974)
    2. org.apache.felix.framework.Felix.startBundle(Felix.java:2037)
    3. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:955)
    4. org.apache.felix.framework.BundleImpl.start(BundleImpl.java:942)
    4 frames
  3. com.atlassian.plugin
    DefaultPluginManager.lateStartup
    1. com.atlassian.plugin.osgi.factory.OsgiPlugin.enableInternal(OsgiPlugin.java:388)
    2. com.atlassian.plugin.impl.AbstractPlugin.enable(AbstractPlugin.java:286)
    3. com.atlassian.plugin.manager.PluginEnabler.actualEnable(PluginEnabler.java:130)
    4. com.atlassian.plugin.manager.PluginEnabler.enable(PluginEnabler.java:107)
    5. com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1079)
    6. com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1055)
    7. com.atlassian.plugin.manager.DefaultPluginManager.lateStartup(DefaultPluginManager.java:536)
    7 frames
  4. com.atlassian.confluence
    PluginFrameworkContextListener.contextInitialized
    1. com.atlassian.confluence.plugin.ConfluencePluginManager.lateStartup(ConfluencePluginManager.java:157)
    2. com.atlassian.confluence.plugin.PluginFrameworkContextListener.contextInitialized(PluginFrameworkContextListener.java:88)
    2 frames
  5. Glassfish Core
    ContainerBase$StartChild.call
    1. org.apache.catalina.core.StandardContext.listenerStart(StandardContext.java:4729)
    2. org.apache.catalina.core.StandardContext.startInternal(StandardContext.java:5167)
    3. org.apache.catalina.util.LifecycleBase.start(LifecycleBase.java:150)
    4. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1409)
    5. org.apache.catalina.core.ContainerBase$StartChild.call(ContainerBase.java:1399)
    5 frames
  6. Java RT
    Thread.run
    1. java.util.concurrent.FutureTask.run(FutureTask.java:266)
    2. java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)
    3. java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)
    4. java.lang.Thread.run(Thread.java:745)
    4 frames