Confluence daily summary email is disabled due to corrupted index
Platform Notice: Data Center - This article applies to Atlassian products on the Data Center platform.
Note that this knowledge base article was created for the Data Center version of the product. Data Center knowledge base articles for non-Data Center-specific features may also work for Server versions of the product, however they have not been tested. Support for Server* products ended on February 15th 2024. If you are running a Server product, you can visit the Atlassian Server end of support announcement to review your migration options.
*Except Fisheye and Crucible
Problem
The following appears in the atlassian-confluence.log
:
2015-02-20 00:32:26,270 ERROR [http-bio-8090-exec-1] [atlassian.plugin.manager.DefaultPluginManager] enableConfiguredPluginModule There was an error loading the descriptor 'Edge Listener' of plugin 'com.atlassian.confluence.plugins.confluence-edge-index'. Disabling.
-- referer: https://<base_url>/plugins/servlet/upm/manage/system | url: /rest/plugins/1.0/com.atlassian.confluence.plugins.confluence-daily-summary-email-key | userName: admin
java.lang.NullPointerException
at com.atlassian.plugin.module.ClassPrefixModuleFactory.createModule(ClassPrefixModuleFactory.java:32)
at com.atlassian.plugin.module.PrefixDelegatingModuleFactory.createModule(PrefixDelegatingModuleFactory.java:100)
at com.atlassian.confluence.plugin.descriptor.ListenerModuleDescriptor.createModule(ListenerModuleDescriptor.java:38)
at com.atlassian.confluence.plugin.module.PluginModuleHolder.createModule(PluginModuleHolder.java:78)
at com.atlassian.confluence.plugin.module.PluginModuleHolder.getModule(PluginModuleHolder.java:104)
at com.atlassian.confluence.plugin.descriptor.ListenerModuleDescriptor.enabled(ListenerModuleDescriptor.java:33)
at com.atlassian.plugin.manager.DefaultPluginManager.notifyModuleEnabled(DefaultPluginManager.java:1694)
at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModule(DefaultPluginManager.java:1486)
at com.atlassian.plugin.manager.DefaultPluginManager.enableConfiguredPluginModules(DefaultPluginManager.java:1453)
at com.atlassian.plugin.manager.DefaultPluginManager.notifyPluginEnabled(DefaultPluginManager.java:1431)
at com.atlassian.plugin.manager.DefaultPluginManager.enablePlugins(DefaultPluginManager.java:1403)
at com.atlassian.confluence.plugin.EventDispatchingPluginController.enablePlugins(EventDispatchingPluginController.java:124)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:307)
at org.springframework.aop.framework.ReflectiveMethodInvocation.invokeJoinpoint(ReflectiveMethodInvocation.java:182)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:149)
at org.springframework.transaction.interceptor.TransactionInterceptor.invoke(TransactionInterceptor.java:106)
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:171)
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:204)
at com.sun.proxy.$Proxy
2015-02-20 00:21:02,263 ERROR [ThreadPoolAsyncTaskExecutor::Thread 8] [plugin.osgi.factory.OsgiPlugin] onPluginContainerFailed Unable to start the plugin container for plugin com.atlassian.confluence.plugins.confluence-edge-index
org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'edgeLuceneConnectionFactoryBean' defined in URL [bundle://60.0:0/META-INF/spring/pluginContext.xml]: Instantiation of bean failed; nested exception is org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.confluence.plugins.edgeindex.lucene.EdgeLuceneConnectionFactory]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: This tool was invoked to not delete prior commit points, but the following commits were found: [DirectoryReader.ReaderCommit(segments_ai1), DirectoryReader.ReaderCommit(segments_amf)]
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:254)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.autowireConstructor(AbstractAutowireCapableBeanFactory.java:925)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBeanInstance(AbstractAutowireCapableBeanFactory.java:835)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.doCreateBean(AbstractAutowireCapableBeanFactory.java:440)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory$1.run(AbstractAutowireCapableBeanFactory.java:409)
at java.security.AccessController.doPrivileged(Native Method)
at org.springframework.beans.factory.support.AbstractAutowireCapableBeanFactory.createBean(AbstractAutowireCapableBeanFactory.java:380)
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 org.springframework.beans.factory.support.DefaultListableBeanFactory.preInstantiateSingletons(DefaultListableBeanFactory.java:429)
at org.springframework.context.support.AbstractApplicationContext.finishBeanFactoryInitialization(AbstractApplicationContext.java:728)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.access$1600(AbstractDelegatedExecutionApplicationContext.java:69)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext$4.run(AbstractDelegatedExecutionApplicationContext.java:355)
at org.springframework.osgi.util.internal.PrivilegedUtils.executeWithCustomTCCL(PrivilegedUtils.java:85)
at org.springframework.osgi.context.support.AbstractDelegatedExecutionApplicationContext.completeRefresh(AbstractDelegatedExecutionApplicationContext.java:320)
at org.springframework.osgi.extender.internal.dependencies.startup.DependencyWaiterApplicationContextExecutor$CompleteRefreshTask.run(DependencyWaiterApplicationContextExecutor.java:132)
at java.util.concurrent.ThreadPoolExecutor.runWorker(Unknown Source)
at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source)
at java.lang.Thread.run(Unknown Source)
Caused by: org.springframework.beans.BeanInstantiationException: Could not instantiate bean class [com.atlassian.confluence.plugins.edgeindex.lucene.EdgeLuceneConnectionFactory]: Constructor threw exception; nested exception is java.lang.IllegalArgumentException: This tool was invoked to not delete prior commit points, but the following commits were found: [DirectoryReader.ReaderCommit(segments_ai1), DirectoryReader.ReaderCommit(segments_amf)]
at org.springframework.beans.BeanUtils.instantiateClass(BeanUtils.java:115)
at org.springframework.beans.factory.support.SimpleInstantiationStrategy.instantiate(SimpleInstantiationStrategy.java:87)
at org.springframework.beans.factory.support.ConstructorResolver.autowireConstructor(ConstructorResolver.java:248)
... 21 more
Caused by: java.lang.IllegalArgumentException: This tool was invoked to not delete prior commit points, but the following commits were found: [DirectoryReader.ReaderCommit(segments_ai1), DirectoryReader.ReaderCommit(segments_amf)]
at com.atlassian.lucene36.index.IndexUpgrader.upgrade(IndexUpgrader.java:145)
... 23 more
Cause
Confluence daily summary email is disabled due to corrupted index file in <Confluence-Home>index
directory as it requires the popularity data from Confluence contents (stores in <Confluence-Home>index/edge)
folder in order to work well.
Workaround
- Shutdown Confluence.
- Ensure that the user running Confluence has full read/write privileges to the
<Confluence-Home>
directory. - Remove the
<Confluence-Home>/index
directory.
Do note that the popularity data of Confluence contents will be lost. - Restart Confluence.
- Perform a Content Index Administration to rebuild the index.