Error "Failed to process edge index task for entry 'JournalEntry" in atlassian-confluence.log
Asked by Rilwan Ahmed:

In confluence 6.3.4, I see lots of below error in atlassian-confluence.log. Any particular reason for it ?

I see similar problem reported in [Failed to process edge index task](https://confluence.atlassian.com/confkb/failed-to-process-edge-index-task-838403476.html), but We do not use Copy page tree by "[Artemis Software](https://marketplace.atlassian.com/vendors/84/artemis-software)". Instead we have Copy page tree by vendor "[Imaginary Machines](http://www.imaginarymachines.com/)".

++**Error Snippet:**++ 2018-08-14 13:47:22,296 **WARN** \[Caesium-1-3\] \[search.lucene.queue.JournalIndexTaskQueue\] lambda$processEntriesInternal$1 **Failed to process edge index task for entry 'JournalEntry** {id=39261893, journalId=JournalIdentifier{journalName=edge_index}, creationDate=2018-08-13 05:36:58.0, type=ADD_DOCUMENT, message={"edgeId":"527043809","userKey":null,"targetId":527043809,"date":null,"typeKey":"page.create"}}'  
**java.lang.NullPointerException**   
at com.atlassian.confluence.plugins.edgeindex.LuceneEdgeDocumentFactory.getDocument(LuceneEdgeDocumentFactory.java:41)  
at com.atlassian.confluence.plugins.edgeindex.lucene.EdgeIndexTaskFactory.createAddDocumentTask(EdgeIndexTaskFactory.java:63)  
at com.atlassian.confluence.plugins.edgeindex.lucene.EdgeIndexTaskFactory.createAddDocumentTask(EdgeIndexTaskFactory.java:59)  
at com.atlassian.confluence.plugins.edgeindex.lucene.JournalEdgeIndexTaskQueue.toTask(JournalEdgeIndexTaskQueue.java:113)  
at com.atlassian.confluence.plugins.edgeindex.lucene.JournalEdgeIndexTaskQueue.lambda$processEntriesInternal$1(JournalEdgeIndexTaskQueue.java:97)  
at com.atlassian.confluence.impl.journal.DefaultJournalService.lambda$convert$0(DefaultJournalService.java:84)  
at com.atlassian.confluence.impl.journal.DefaultJournalManager.processEntries(DefaultJournalManager.java:81)  
at com.atlassian.confluence.impl.journal.DefaultJournalService.processEntries(DefaultJournalService.java:41)  
at sun.reflect.GeneratedMethodAccessor1267.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:497)  
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)  
at com.sun.proxy.$Proxy213.processEntries(Unknown Source)  
at sun.reflect.GeneratedMethodAccessor1267.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:497)  
at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136)  
at com.sun.proxy.$Proxy213.processEntries(Unknown Source)  
at com.atlassian.confluence.plugins.edgeindex.lucene.JournalEdgeIndexTaskQueue.processEntriesInternal(JournalEdgeIndexTaskQueue.java:93)  
at com.atlassian.confluence.plugins.edgeindex.lucene.JournalEdgeIndexTaskQueue.lambda$processEntries$0(JournalEdgeIndexTaskQueue.java:85)  
at com.atlassian.sal.core.transaction.HostContextTransactionTemplate$1.doInTransaction(HostContextTransactionTemplate.java:21)  
at com.atlassian.sal.spring.component.SpringHostContextAccessor$1.doInTransaction(SpringHostContextAccessor.java:71)  
at org.springframework.transaction.support.TransactionTemplate.execute(TransactionTemplate.java:133)  
at com.atlassian.sal.spring.component.SpringHostContextAccessor.doInTransaction(SpringHostContextAccessor.java:68)  
at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.access$001(ConfluenceSpringHostContextAccessor.java:21)  
at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.lambda$doInTransaction$3(ConfluenceSpringHostContextAccessor.java:72)  
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)  
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)  
at com.atlassian.confluence.spring.transaction.interceptor.ConfluenceSpringHostContextAccessor.doInTransaction(ConfluenceSpringHostContextAccessor.java:72)  
at sun.reflect.GeneratedMethodAccessor259.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:497)  
at com.atlassian.plugin.util.ContextClassLoaderSettingInvocationHandler.invoke(ContextClassLoaderSettingInvocationHandler.java:26)  
at com.sun.proxy.$Proxy314.doInTransaction(Unknown Source)  
at sun.reflect.GeneratedMethodAccessor259.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:497)  
at com.atlassian.plugin.osgi.bridge.external.HostComponentFactoryBean$DynamicServiceInvocationHandler.invoke(HostComponentFactoryBean.java:136)  
at com.sun.proxy.$Proxy314.doInTransaction(Unknown Source)  
at com.atlassian.sal.core.transaction.HostContextTransactionTemplate.execute(HostContextTransactionTemplate.java:18)  
at sun.reflect.GeneratedMethodAccessor265.invoke(Unknown Source)  
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)  
at java.lang.reflect.Method.invoke(Method.java:497)  
at org.springframework.aop.support.AopUtils.invokeJoinpointUsingReflection(AopUtils.java:302)  
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.doInvoke(ServiceInvoker.java:56)  
at org.eclipse.gemini.blueprint.service.importer.support.internal.aop.ServiceInvoker.invoke(ServiceInvoker.java:60)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)  
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)  
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)  
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invokeUnprivileged(ServiceTCCLInterceptor.java:70)  
at org.eclipse.gemini.blueprint.service.util.internal.aop.ServiceTCCLInterceptor.invoke(ServiceTCCLInterceptor.java:53)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)  
at org.eclipse.gemini.blueprint.service.importer.support.LocalBundleContextAdvice.invoke(LocalBundleContextAdvice.java:57)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)  
at org.springframework.aop.support.DelegatingIntroductionInterceptor.doProceed(DelegatingIntroductionInterceptor.java:133)  
at org.springframework.aop.support.DelegatingIntroductionInterceptor.invoke(DelegatingIntroductionInterceptor.java:121)  
at org.springframework.aop.framework.ReflectiveMethodInvocation.proceed(ReflectiveMethodInvocation.java:179)  
at org.springframework.aop.framework.JdkDynamicAopProxy.invoke(JdkDynamicAopProxy.java:208)  
at com.sun.proxy.$Proxy2053.execute(Unknown Source)  
at com.atlassian.confluence.plugins.edgeindex.lucene.JournalEdgeIndexTaskQueue.processEntries(JournalEdgeIndexTaskQueue.java:82)  
at com.atlassian.confluence.plugins.edgeindex.job.EdgeIndexQueueFlusher.lambda$null$1(EdgeIndexQueueFlusher.java:29)  
at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:489)  
at com.atlassian.confluence.plugins.edgeindex.job.EdgeIndexQueueFlusher.lambda$runJob$2(EdgeIndexQueueFlusher.java:29)  
at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:522)  
at com.atlassian.confluence.plugins.edgeindex.job.EdgeIndexQueueFlusher.runJob(EdgeIndexQueueFlusher.java:29)  
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.doRunJob(JobRunnerWrapper.java:114)  
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.lambda$runJob$0(JobRunnerWrapper.java:90)  
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContextInternal(VCacheRequestContextManager.java:87)  
at com.atlassian.confluence.impl.vcache.VCacheRequestContextManager.doInRequestContext(VCacheRequestContextManager.java:71)  
at com.atlassian.confluence.impl.schedule.caesium.JobRunnerWrapper.runJob(JobRunnerWrapper.java:90)  
at com.atlassian.scheduler.core.JobLauncher.runJob(JobLauncher.java:153)  
at com.atlassian.scheduler.core.JobLauncher.launchAndBuildResponse(JobLauncher.java:118)  
at com.atlassian.scheduler.core.JobLauncher.launch(JobLauncher.java:97)  
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.launchJob(CaesiumSchedulerService.java:443)  
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeLocalJob(CaesiumSchedulerService.java:410)  
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService.executeQueuedJob(CaesiumSchedulerService.java:388)  
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:285)  
at com.atlassian.scheduler.caesium.impl.CaesiumSchedulerService$1.consume(CaesiumSchedulerService.java:282)  
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeJob(SchedulerQueueWorker.java:65)  
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.executeNextJob(SchedulerQueueWorker.java:59)  
at com.atlassian.scheduler.caesium.impl.SchedulerQueueWorker.run(SchedulerQueueWorker.java:34)  
at java.lang.Thread.run(Thread.java:745)


Answers:
author: Alexis Robert
body: Hi [@Rilwan Ahmed](/t5/user/viewprofilepage/user-id/716861),

have you tried forcing a reindex in your Confluence instance ? [this page](https://confluence.atlassian.com/doc/content-index-administration-148844.html) describes how to do it.

Let me know if this helps,

--Alexis


Tags: confluence-server

server