java.io.FileNotFoundException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • We had a file system issue which resulted in the .nexus/work/indexer folder contents being removed. Following removal, a full reindex fails. If the repo's index folder is missing during a full reindex, it should be replaced instead of throwing a FileNotFoundException. 09:13:13,205 INFO [STDOUT] 2010-07-08 09:13:13 INFO - o.s.n.f.DefaultFeed~ - Reindexing repository group Public Snapshot Repositories (group) from path null and below. : Process started on Thu Jul 08 09:13:13 CDT 2010, not yet finished. 09:13:13,206 INFO [STDOUT] 2010-07-08 09:13:13 INFO - o.s.n.i.DefaultInde~ - Remerging group 'public-snapshots' 09:13:17,213 INFO [STDOUT] 2010-07-08 09:13:17 INFO - o.s.n.f.DefaultFeed~ - Reindexing repository group Public Snapshot Repositories (group) from path null and below. : Process started on Thu Jul 08 09:13:13 CDT 2010, finished on Thu Jul 08 09:13:17 CDT 2010 with error. Error message is: java.io.FileNotFoundException, no segments* file found in org.apache.lucene.store.FSDirectory@/web/data/.nexus/work/indexer/snapshots-remote: files: Strack trace: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/web/data/.nexus/work/indexer/snapshots-remote: files: at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:604) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:272) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1088) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:924) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:35) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:29) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexWriter(DefaultIndexingContext.java:413) at org.sonatype.nexus.index.context.DefaultIndexingContext.optimize(DefaultIndexingContext.java:499) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1021) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:906) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:882) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepositoryGroup(ReindexTaskHandlerLegacy.java:69) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:61) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619) java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/web/data/.nexus/work/indexer/snapshots-remote: files: at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:604) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:272) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1088) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:924) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:35) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:29) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexWriter(DefaultIndexingContext.java:413) at org.sonatype.nexus.index.context.DefaultIndexingContext.optimize(DefaultIndexingContext.java:499) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1021) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:906) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:882) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepositoryGroup(ReindexTaskHandlerLegacy.java:69) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:61) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)
    via by Bobby Hubbard,
  • cannot start gerrit after upgrade to 2.9
    via by kongf...@gmail.com,
  • Scheduled task for Reindex of all repositories kicks off, and errors are logged in the server. Scheduled task page reflects a status of Broken for the task as well. From the log: 009-03-03 15:10:59 INFO [ool-1-thread-15] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, not yet finished. 2009-03-03 15:10:59 INFO [ool-1-thread-20] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, not yet finished. 2009-03-03 15:10:59 INFO [ool-1-thread-20] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, finished on Tue Mar 03 15:10:59 MST 2009 with error. Error message is: java.io.IOException, Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs Strack trace: java.io.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:272) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:432) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.io.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:272) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:432) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2009-03-03 15:10:59 INFO [ool-1-thread-15] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, finished on Tue Mar 03 15:10:59 MST 2009 with error. Error message is: java.io.FileNotFoundException, no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs Strack trace: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:587) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:251) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:710) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:614) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:38) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:30) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexWriter(DefaultIndexingContext.java:358) at org.sonatype.nexus.index.context.IndexUtils.setGroups(IndexUtils.java:240) at org.sonatype.nexus.index.context.IndexUtils.setRootGroups(IndexUtils.java:196) at org.sonatype.nexus.index.context.IndexUtils.rebuildGroups(IndexUtils.java:176) at org.sonatype.nexus.index.context.DefaultIndexingContext.rebuildGroups(DefaultIndexingContext.java:592) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:443) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:587) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:251) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:710) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:614) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:38) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:30) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexWriter(DefaultIndexingContext.java:358) at org.sonatype.nexus.index.context.IndexUtils.setGroups(IndexUtils.java:240) at org.sonatype.nexus.index.context.IndexUtils.setRootGroups(IndexUtils.java:196) at org.sonatype.nexus.index.context.IndexUtils.rebuildGroups(IndexUtils.java:176) at org.sonatype.nexus.index.context.DefaultIndexingContext.rebuildGroups(DefaultIndexingContext.java:592) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:443) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
    via by Kristine O'Connor,
  • Hi there, So we noticed that our Confluence instance's All Update tab is not being updated as people update/add new content on Confluence. It seems to be stuck at a old date and nothing new is coming in. We already tried rebuilding the index from scratched by deleting the whole index folder and restarted the server. The problem would go away but comes back the next day. https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch We currently running Confluence 4.2.6 and we have 60GB free on the hard drive that Confluence is installed on. Also, we noticed that newly created pages are not showing up in searches anymore. Its only matter of time that this becomes a bigger problem for us. ////////////////////////////////////////////// From the logs ////////////////////////////////////////////// {code} 2013-09-05 14:52:26,473 ERROR [pool-6-thread-1] [ext.usage.event.UsageTaskQueue] run Error indexing task: UsageEventWrapperTask: view:page(7602493) at Thu Sep 05 14:52:26 EDT 2013: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index\plugin\usage lockFactory=org.apache.lucene.store.SimpleFSLockFactory@14c3c42 -- referer: http://infowiki.tpsgc-pwgsc.gc.ca/dashboard.action | url: /display/PROJ/Traceability+Analysis | userName: fitzgern | action: viewpage | page: 58394409 com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index\plugin\usage lockFactory=org.apache.lucene.store.SimpleFSLockFactory@14c3c42 at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:346) at com.atlassian.confluence.ext.usage.index.UsageIndexManager.index(UsageIndexManager.java:219) at com.atlassian.confluence.ext.usage.event.UsageTaskQueue$2.run(UsageTaskQueue.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index\plugin\usage lockFactory=org.apache.lucene.store.SimpleFSLockFactory@14c3c42: files: write.lock _5est.fdt _5est.fdx _5est.frq _5est.nrm _5est.prx _5est.tis _5frq.cfs _5frr.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:634) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:517) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:306) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1596) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1118) at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:327) ... 8 more 2013-09-05 14:53:00,492 ERROR [scheduler_Worker-5] [org.quartz.core.JobRunShell] run Job DEFAULT.IndexQueueFlusher threw an unhandled Exception: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122 at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:409) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.processTasks(DefaultConfluenceIndexManager.java:197) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.flushQueue(DefaultConfluenceIndexManager.java:149) at sun.reflect.GeneratedMethodAccessor414.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 $Proxy40.flushQueue(Unknown Source) at com.atlassian.confluence.search.lucene.IndexQueueFlusher.executeJob(IndexQueueFlusher.java:30) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:63) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:46) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:20) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122 at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:346) at com.atlassian.confluence.search.lucene.tasks.LuceneConnectionBackedIndexTaskPerformer.perform(LuceneConnectionBackedIndexTaskPerformer.java:20) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager$BatchUpdateAction.perform(DefaultConfluenceIndexManager.java:424) at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:405) ... 19 more Caused by: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122: files: .timestamp write.lock _l5k.fdt _l5k.fdx _l5k.frq _l5k.nrm _l5k.prx _l5k.tis _l7j.cfs _l7k.cfs _l7l.cfs _l7m.cfs _l7n.cfs _l7o.cfs _l7p.cfs _l7q.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:634) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:517) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:306) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1596) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1118) at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:327) ... 22 more 2013-09-05 14:53:00,492 ERROR [scheduler_Worker-5] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.IndexQueueFlusher threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122] at org.quartz.core.JobRunShell.run(JobRunShell.java:210) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:20) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122 at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:409) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.processTasks(DefaultConfluenceIndexManager.java:197) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.flushQueue(DefaultConfluenceIndexManager.java:149) at sun.reflect.GeneratedMethodAccessor414.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 $Proxy40.flushQueue(Unknown Source) at com.atlassian.confluence.search.lucene.IndexQueueFlusher.executeJob(IndexQueueFlusher.java:30) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:63) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:46) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) ... 2 more Caused by: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122 at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:346) at com.atlassian.confluence.search.lucene.tasks.LuceneConnectionBackedIndexTaskPerformer.perform(LuceneConnectionBackedIndexTaskPerformer.java:20) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager$BatchUpdateAction.perform(DefaultConfluenceIndexManager.java:424) at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:405) ... 19 more Caused by: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122: files: .timestamp write.lock _l5k.fdt _l5k.fdx _l5k.frq _l5k.nrm _l5k.prx _l5k.tis _l7j.cfs _l7k.cfs _l7l.cfs _l7m.cfs _l7n.cfs _l7o.cfs _l7p.cfs _l7q.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:634) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:517) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:306) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1596) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1118) at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:327) ... 22 more {code}
    via by calvin,
  • Scheduled task for Reindex of all repositories kicks off, and errors are logged in the server. Scheduled task page reflects a status of Broken for the task as well. From the log: 009-03-03 15:10:59 INFO [ool-1-thread-15] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, not yet finished. 2009-03-03 15:10:59 INFO [ool-1-thread-20] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, not yet finished. 2009-03-03 15:10:59 INFO [ool-1-thread-20] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, finished on Tue Mar 03 15:10:59 MST 2009 with error. Error message is: java.io.IOException, Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs Strack trace: java.io.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:272) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:432) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.io.IOException: Cannot delete C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote\_0.cfs at org.apache.lucene.store.FSDirectory.deleteFile(FSDirectory.java:357) at org.sonatype.nexus.index.context.DefaultIndexingContext.deleteIndexFiles(DefaultIndexingContext.java:272) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:432) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) 2009-03-03 15:10:59 INFO [ool-1-thread-15] - o.s.n.f.FeedRecorder:default - Reindexing all registered repositories : Process started on Tue Mar 03 15:10:59 MST 2009, finished on Tue Mar 03 15:10:59 MST 2009 with error. Error message is: java.io.FileNotFoundException, no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs Strack trace: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:587) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:251) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:710) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:614) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:38) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:30) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexWriter(DefaultIndexingContext.java:358) at org.sonatype.nexus.index.context.IndexUtils.setGroups(IndexUtils.java:240) at org.sonatype.nexus.index.context.IndexUtils.setRootGroups(IndexUtils.java:196) at org.sonatype.nexus.index.context.IndexUtils.rebuildGroups(IndexUtils.java:176) at org.sonatype.nexus.index.context.DefaultIndexingContext.rebuildGroups(DefaultIndexingContext.java:592) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:443) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@C:\Nexus\sonatype-work\nexus\indexer\public-snapshots-remote: files: _0.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:587) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:251) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:710) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:614) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:38) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:30) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexWriter(DefaultIndexingContext.java:358) at org.sonatype.nexus.index.context.IndexUtils.setGroups(IndexUtils.java:240) at org.sonatype.nexus.index.context.IndexUtils.setRootGroups(IndexUtils.java:196) at org.sonatype.nexus.index.context.IndexUtils.rebuildGroups(IndexUtils.java:176) at org.sonatype.nexus.index.context.DefaultIndexingContext.rebuildGroups(DefaultIndexingContext.java:592) at org.sonatype.nexus.index.context.DefaultIndexingContext.purge(DefaultIndexingContext.java:443) at org.sonatype.nexus.index.DefaultIndexerManager.purgeRepositoryGroupIndex(DefaultIndexerManager.java:801) at org.sonatype.nexus.index.DefaultIndexerManager.reindexAllRepositories(DefaultIndexerManager.java:676) at org.sonatype.nexus.DefaultNexus.reindexAllRepositories(DefaultNexus.java:1364) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:44) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:139) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:342) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(Unknown Source) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source)
    via by Kristine O'Connor,
  • Hi there, So we noticed that our Confluence instance's All Update tab is not being updated as people update/add new content on Confluence. It seems to be stuck at a old date and nothing new is coming in. We already tried rebuilding the index from scratched by deleting the whole index folder and restarted the server. The problem would go away but comes back the next day. https://confluence.atlassian.com/display/CONFKB/Rebuild+the+Content+Indices+from+Scratch We currently running Confluence 4.2.6 and we have 60GB free on the hard drive that Confluence is installed on. Also, we noticed that newly created pages are not showing up in searches anymore. Its only matter of time that this becomes a bigger problem for us. ////////////////////////////////////////////// From the logs ////////////////////////////////////////////// {code} 2013-09-05 14:52:26,473 ERROR [pool-6-thread-1] [ext.usage.event.UsageTaskQueue] run Error indexing task: UsageEventWrapperTask: view:page(7602493) at Thu Sep 05 14:52:26 EDT 2013: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index\plugin\usage lockFactory=org.apache.lucene.store.SimpleFSLockFactory@14c3c42 -- referer: http://infowiki.tpsgc-pwgsc.gc.ca/dashboard.action | url: /display/PROJ/Traceability+Analysis | userName: fitzgern | action: viewpage | page: 58394409 com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index\plugin\usage lockFactory=org.apache.lucene.store.SimpleFSLockFactory@14c3c42 at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:346) at com.atlassian.confluence.ext.usage.index.UsageIndexManager.index(UsageIndexManager.java:219) at com.atlassian.confluence.ext.usage.event.UsageTaskQueue$2.run(UsageTaskQueue.java:47) at java.util.concurrent.Executors$RunnableAdapter.call(Unknown Source) at java.util.concurrent.FutureTask$Sync.innerRun(Unknown Source) at java.util.concurrent.FutureTask.run(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(Unknown Source) at java.util.concurrent.ThreadPoolExecutor$Worker.run(Unknown Source) at java.lang.Thread.run(Unknown Source) Caused by: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index\plugin\usage lockFactory=org.apache.lucene.store.SimpleFSLockFactory@14c3c42: files: write.lock _5est.fdt _5est.fdx _5est.frq _5est.nrm _5est.prx _5est.tis _5frq.cfs _5frr.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:634) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:517) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:306) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1596) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1118) at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:327) ... 8 more 2013-09-05 14:53:00,492 ERROR [scheduler_Worker-5] [org.quartz.core.JobRunShell] run Job DEFAULT.IndexQueueFlusher threw an unhandled Exception: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122 at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:409) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.processTasks(DefaultConfluenceIndexManager.java:197) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.flushQueue(DefaultConfluenceIndexManager.java:149) at sun.reflect.GeneratedMethodAccessor414.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 $Proxy40.flushQueue(Unknown Source) at com.atlassian.confluence.search.lucene.IndexQueueFlusher.executeJob(IndexQueueFlusher.java:30) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:63) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:46) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:20) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122 at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:346) at com.atlassian.confluence.search.lucene.tasks.LuceneConnectionBackedIndexTaskPerformer.perform(LuceneConnectionBackedIndexTaskPerformer.java:20) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager$BatchUpdateAction.perform(DefaultConfluenceIndexManager.java:424) at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:405) ... 19 more Caused by: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122: files: .timestamp write.lock _l5k.fdt _l5k.fdx _l5k.frq _l5k.nrm _l5k.prx _l5k.tis _l7j.cfs _l7k.cfs _l7l.cfs _l7m.cfs _l7n.cfs _l7o.cfs _l7p.cfs _l7q.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:634) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:517) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:306) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1596) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1118) at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:327) ... 22 more 2013-09-05 14:53:00,492 ERROR [scheduler_Worker-5] [org.quartz.core.ErrorLogger] schedulerError Job (DEFAULT.IndexQueueFlusher threw an exception. org.quartz.SchedulerException: Job threw an unhandled exception. [See nested exception: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122] at org.quartz.core.JobRunShell.run(JobRunShell.java:210) at com.atlassian.confluence.schedule.quartz.ConfluenceQuartzThreadPool$1.run(ConfluenceQuartzThreadPool.java:20) at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:549) Caused by: com.atlassian.bonnie.LuceneException: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122 at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:409) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.processTasks(DefaultConfluenceIndexManager.java:197) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager.flushQueue(DefaultConfluenceIndexManager.java:149) at sun.reflect.GeneratedMethodAccessor414.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 $Proxy40.flushQueue(Unknown Source) at com.atlassian.confluence.search.lucene.IndexQueueFlusher.executeJob(IndexQueueFlusher.java:30) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.surroundJobExecutionWithLogging(AbstractClusterAwareQuartzJobBean.java:63) at com.atlassian.confluence.setup.quartz.AbstractClusterAwareQuartzJobBean.executeInternal(AbstractClusterAwareQuartzJobBean.java:46) at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86) at org.quartz.core.JobRunShell.run(JobRunShell.java:199) ... 2 more Caused by: com.atlassian.bonnie.LuceneException: Couldn't open writer on directory: org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122 at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:346) at com.atlassian.confluence.search.lucene.tasks.LuceneConnectionBackedIndexTaskPerformer.perform(LuceneConnectionBackedIndexTaskPerformer.java:20) at com.atlassian.confluence.search.lucene.DefaultConfluenceIndexManager$BatchUpdateAction.perform(DefaultConfluenceIndexManager.java:424) at com.atlassian.bonnie.LuceneConnection.withBatchUpdate(LuceneConnection.java:405) ... 19 more Caused by: java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.SimpleFSDirectory@D:\dev\apps\wiki\confluence-data\index lockFactory=org.apache.lucene.store.SimpleFSLockFactory@8dd122: files: .timestamp write.lock _l5k.fdt _l5k.fdx _l5k.frq _l5k.nrm _l5k.prx _l5k.tis _l7j.cfs _l7k.cfs _l7l.cfs _l7m.cfs _l7n.cfs _l7o.cfs _l7p.cfs _l7q.cfs at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:634) at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:517) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:306) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1596) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:1118) at com.atlassian.bonnie.LuceneConnection.withWriter(LuceneConnection.java:327) ... 22 more {code}
    via by calvin,
  • bulk update error
    via GitHub by LindaBarwick
    ,
  • GitHub comment 188#8604813
    via GitHub by nthieberger
    ,
    • java.io.FileNotFoundException: no segments* file found in org.apache.lucene.store.FSDirectory@/web/data/.nexus/work/indexer/snapshots-remote: files: at org.apache.lucene.index.SegmentInfos$FindSegmentsFile.run(SegmentInfos.java:604) at org.apache.lucene.index.SegmentInfos.read(SegmentInfos.java:272) at org.apache.lucene.index.IndexWriter.init(IndexWriter.java:1088) at org.apache.lucene.index.IndexWriter.<init>(IndexWriter.java:924) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:35) at org.sonatype.nexus.index.context.NexusIndexWriter.<init>(NexusIndexWriter.java:29) at org.sonatype.nexus.index.context.DefaultIndexingContext.getIndexWriter(DefaultIndexingContext.java:413) at org.sonatype.nexus.index.context.DefaultIndexingContext.optimize(DefaultIndexingContext.java:499) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:1021) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:906) at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepositoryGroup(DefaultIndexerManager.java:882) at org.sonatype.nexus.tasks.ReindexTaskHandlerLegacy.reindexRepositoryGroup(ReindexTaskHandlerLegacy.java:69) at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:61) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:192) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:338) at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) at java.util.concurrent.FutureTask.run(FutureTask.java:138) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) at java.lang.Thread.run(Thread.java:619)

    Users with the same issue

    Unknown visitor
    Unknown visitor1 times, last one,
    Unknown visitor
    Unknown visitor2 times, last one,