Uploaded image for project: 'Confluence Data Center'
  1. Confluence Data Center
  2. CONFSERVER-40194

Start-up fails if P1 plugin component dependency class is missing

    XMLWordPrintable

Details

    Description

      NOTE: This bug report is for Confluence Server. Using Confluence Cloud? See the corresponding bug report.

      Before shutting down the container, the exception below is logged by logger called org.apache.catalina.core.ContainerBase.[Standalone].[localhost].[/].

      Exception sending context initialized event to listener instance of class com.atlassian.confluence.plugin.PluginFrameworkContextListener
      java.lang.NoClassDefFoundError: com/atlassian/confluence/core/SmartListManager
      	at java.lang.Class.getDeclaredMethods0(Native Method)
      	at java.lang.Class.privateGetDeclaredMethods(Class.java:2701)
      	at java.lang.Class.getDeclaredMethods(Class.java:1975)
      	at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:460)
      	at org.springframework.util.ReflectionUtils.doWithMethods(ReflectionUtils.java:443)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.buildLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:202)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.findLifecycleMetadata(InitDestroyAnnotationBeanPostProcessor.java:190)
      	at org.springframework.beans.factory.annotation.InitDestroyAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(InitDestroyAnnotationBeanPostProcessor.java:119)
      	at org.springframework.context.annotation.CommonAnnotationBeanPostProcessor.postProcessMergedBeanDefinition(CommonAnnotationBeanPostProcessor.java:275)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.applyMergedBeanDefinitionPostProcessors(AbstractAutowireCapableBeanFactory.java:745)
      	at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:448)
      	at com.atlassian.confluence.setup.ConfluenceListableBeanFactory.createBean(ConfluenceListableBeanFactory.java:235)
      	at org.springframework.beans.factory.support.AbstractBeanFactory$1.getObject(AbstractBeanFactory.java:264)
      	at org.springframework.beans.factory.support.DefaultSingletonBeanRegistry.getSingleton(DefaultSingletonBeanRegistry.java:222)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:261)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:185)
      	at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:164)
      	at com.atlassian.confluence.plugin.descriptor.ComponentModuleDescriptor.disabled(ComponentModuleDescriptor.java:104)
      	at com.atlassian.plugin.manager.DefaultPluginManager.publishModuleDisabledEvents(DefaultPluginManager.java:1952)
      	at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleDisabled(DefaultPluginManager.java:1942)
      	at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1750)
      	at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1715)
      	at com.atlassian.plugin.manager.DefaultPluginManager.enableDependentPlugins(DefaultPluginManager.java:1227)
      	at com.atlassian.plugin.manager.DefaultPluginManager.addPlugins(DefaultPluginManager.java:1188)
      	at com.atlassian.plugin.manager.DefaultPluginManager.lateStartup(DefaultPluginManager.java:634)
      	at com.atlassian.confluence.plugin.ConfluencePluginManager.lateStartup(ConfluencePluginManager.java:170)
      	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: java.lang.ClassNotFoundException: com.atlassian.confluence.core.SmartListManager
      	at java.lang.ClassLoader.findClass(ClassLoader.java:530)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:424)
      	at com.atlassian.plugin.classloader.PluginClassLoader.loadClass(PluginClassLoader.java:162)
      	at java.lang.ClassLoader.loadClass(ClassLoader.java:357)
      	... 36 more
      

      Workaround

      This has been observed to affect instances that have upgraded to 6.x and above with the Confluence Crucible Plugin installed. To resolve this issue, remove the offending plugin via the database following this approach:

      1. Create a safety backup of the plugindata table using your database tools
      2. Run the following query to remove the Confluence Crucible Plugin:
        DELETE FROM plugindata WHERE pluginkey = 'com.atlassian.confluence.plugins.crucible.confluence-crucible-plugin';
        
      3. Start Confluence

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              onevalainen Olli Nevalainen
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: