java.lang.IllegalStateException: Unable to create a tracker when osgi is not running

atlassian.com | 6 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.

Root Cause Analysis

  1. java.lang.IllegalStateException

    Unable to create a tracker when osgi is not running

    at com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker()
  2. com.atlassian.plugin
    DefaultPluginManager.earlyStartup
    1. com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:606)
    2. com.atlassian.plugin.osgi.container.felix.FelixOsgiContainerManager.getServiceTracker(FelixOsgiContainerManager.java:596)
    3. com.atlassian.plugin.osgi.factory.RemotablePluginFactory$1.create(RemotablePluginFactory.java:60)
    4. com.atlassian.plugin.osgi.factory.OsgiChainedModuleDescriptorFactoryCreator.create(OsgiChainedModuleDescriptorFactoryCreator.java:68)
    5. com.atlassian.plugin.osgi.factory.RemotablePluginFactory.getChainedModuleDescriptorFactory(RemotablePluginFactory.java:133)
    6. com.atlassian.plugin.osgi.factory.RemotablePluginFactory.create(RemotablePluginFactory.java:99)
    7. com.atlassian.plugin.loaders.ScanningPluginLoader.deployPluginFromUnit(ScanningPluginLoader.java:155)
    8. com.atlassian.plugin.loaders.ScanningPluginLoader.loadAllPlugins(ScanningPluginLoader.java:89)
    9. com.atlassian.plugin.loaders.PermissionCheckingPluginLoader.loadAllPlugins(PermissionCheckingPluginLoader.java:24)
    10. com.atlassian.plugin.manager.DefaultPluginManager.earlyStartup(DefaultPluginManager.java:461)
    10 frames
  3. com.atlassian.confluence
    ConfluencePluginManager.earlyStartup
    1. com.atlassian.confluence.plugin.ConfluencePluginManager.earlyStartup(ConfluencePluginManager.java:138)
    1 frame
  4. com.atlassian.plugin
    DefaultPluginManager.init
    1. com.atlassian.plugin.manager.DefaultPluginManager.init(DefaultPluginManager.java:436)
    1 frame
  5. com.atlassian.confluence
    SetupPluginManager.init
    1. com.atlassian.confluence.setup.SetupPluginManager.init(SetupPluginManager.java:44)
    1 frame
  6. Java RT
    Method.invoke
    1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
    2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
    3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
    4. java.lang.reflect.Method.invoke(Method.java:497)
    4 frames