Confluence daily summary email is disabled due to corrupted index
プラットフォームについて: Data Center - この記事は、Data Center プラットフォームのアトラシアン製品に適用されます。
このナレッジベース記事は製品の Data Center バージョン用に作成されています。Data Center 固有ではない機能の Data Center ナレッジベースは、製品のサーバー バージョンでも動作する可能性はありますが、テストは行われていません。サーバー*製品のサポートは 2024 年 2 月 15 日に終了しました。サーバー製品を利用している場合は、アトラシアンのサーバー製品のサポート終了のお知らせページにて移行オプションをご確認ください。
*Fisheye および Crucible は除く
問題
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
原因
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.
回避策
- 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. - Confluence を再起動します。
- Perform a Content Index Administration to rebuild the index.