org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Sonatype JIRA by Marc Lustig, 1 year ago
this IndexWriter is closed
via Sonatype JIRA by Juven Xu, 1 year ago
this IndexWriter is closed
via Sonatype JIRA by Masanobu Horiyama, 1 year ago
this IndexWriter is closed
org.apache.lucene.store.AlreadyClosedException: this IndexWriter is closed
at org.apache.lucene.index.DocumentsWriter.waitReady(DocumentsWriter.java:849)
at org.apache.lucene.index.DocumentsWriter.getThreadState(DocumentsWriter.java:689)
at org.apache.lucene.index.DocumentsWriter.updateDocument(DocumentsWriter.java:755)
at org.apache.lucene.index.DocumentsWriter.addDocument(DocumentsWriter.java:743)
at org.apache.lucene.index.IndexWriter.addDocument(IndexWriter.java:1917)
at org.sonatype.timeline.DefaultTimelineIndexer.add(DefaultTimelineIndexer.java:210)
at org.sonatype.timeline.DefaultTimeline.add(DefaultTimeline.java:99)
at org.sonatype.nexus.timeline.DefaultNexusTimeline.add(DefaultNexusTimeline.java:127)
at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:518)
at org.sonatype.nexus.feeds.DefaultFeedRecorder.addToTimeline(DefaultFeedRecorder.java:513)
at org.sonatype.nexus.feeds.DefaultFeedRecorder.addSystemEvent(DefaultFeedRecorder.java:407)
at org.sonatype.nexus.events.ConfigurationChangeEventInspector.inspectForNexus(ConfigurationChangeEventInspector.java:68)
at org.sonatype.nexus.events.ConfigurationChangeEventInspector.inspect(ConfigurationChangeEventInspector.java:38)
at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:48)
at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.applyConfiguration(DefaultNexusConfiguration.java:224)
at org.sonatype.nexus.configuration.application.DefaultNexusConfiguration.saveConfiguration(DefaultNexusConfiguration.java:242)
at org.sonatype.scheduling.DefaultTaskConfigManager.addTask(DefaultTaskConfigManager.java:220)
at org.sonatype.scheduling.DefaultScheduler.taskRescheduled(DefaultScheduler.java:162)
at org.sonatype.scheduling.DefaultScheduledTask.reschedule(DefaultScheduledTask.java:255)
at org.sonatype.scheduling.DefaultScheduledTask.start(DefaultScheduledTask.java:109)
at org.sonatype.scheduling.DefaultScheduler.schedule(DefaultScheduler.java:271)
at org.sonatype.scheduling.DefaultScheduler.initialize(DefaultScheduler.java:229)
at org.sonatype.scheduling.DefaultTaskConfigManager.initializeTasks(DefaultTaskConfigManager.java:164)
at org.sonatype.nexus.scheduling.DefaultNexusScheduler.initializeTasks(DefaultNexusScheduler.java:52)
at org.sonatype.nexus.DefaultNexus.startService(DefaultNexus.java:688)
at org.sonatype.nexus.DefaultNexus.start(DefaultNexus.java:647)
at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:229)
at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:145)
at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253)
at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:943)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996)
at com.google.inject.internal.InjectorImpl$4.get(InjectorImpl.java:939)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:63)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at com.google.inject.internal.InjectorImpl$4$1.call(InjectorImpl.java:943)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996)
at org.sonatype.guice.plexus.locators.LazyPlexusBean.getValue(LazyPlexusBean.java:55)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:234)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:226)
at org.codehaus.plexus.DefaultPlexusContainer.lookup(DefaultPlexusContainer.java:220)
at org.mortbay.jetty.handler.ContextHandler.startContext(ContextHandler.java:548)
at org.mortbay.jetty.servlet.Context.startContext(Context.java:136)
at org.mortbay.jetty.webapp.WebAppContext.startContext(WebAppContext.java:1239)
at org.mortbay.jetty.handler.ContextHandler.doStart(ContextHandler.java:517)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerCollection.doStart(HandlerCollection.java:152)
at org.mortbay.jetty.handler.ContextHandlerCollection.doStart(ContextHandlerCollection.java:156)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.mortbay.jetty.handler.HandlerWrapper.doStart(HandlerWrapper.java:130)
at org.mortbay.component.AbstractLifeCycle.start(AbstractLifeCycle.java:50)
at org.sonatype.plexus.jetty.DefaultServletContainer.start(DefaultServletContainer.java:308)
at org.codehaus.plexus.PlexusLifecycleManager.start(PlexusLifecycleManager.java:229)
at org.codehaus.plexus.PlexusLifecycleManager.manage(PlexusLifecycleManager.java:145)
at com.google.inject.internal.MembersInjectorImpl.notifyListeners(MembersInjectorImpl.java:97)
at com.google.inject.internal.ConstructorInjector.construct(ConstructorInjector.java:95)
at com.google.inject.internal.ConstructorBindingImpl$Factory.get(ConstructorBindingImpl.java:253)
at com.google.inject.internal.FactoryProxy.get(FactoryProxy.java:54)
at com.google.inject.internal.ProviderToInternalFactoryAdapter$1.call(ProviderToInternalFactoryAdapter.java:46)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:996)
at com.google.inject.internal.ProviderToInternalFactoryAdapter.get(ProviderToInternalFactoryAdapter.java:40)
at com.google.inject.Scopes$1$1.get(Scopes.java:63)
at com.google.inject.internal.InternalFactoryToProviderAdapter.get(InternalFactoryToProviderAdapter.java:40)
at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:217)
at com.google.inject.internal.InternalInjectorCreator$1.call(InternalInjectorCreator.java:211)
at com.google.inject.internal.InjectorImpl.callInContext(InjectorImpl.java:989)
at com.google.inject.internal.InternalInjectorCreator.loadEagerSingletons(InternalInjectorCreator.java:211)
at com.google.inject.internal.InternalInjectorCreator.injectDynamically(InternalInjectorCreator.java:192)
at com.google.inject.internal.InternalInjectorCreator.build(InternalInjectorCreator.java:122)
at com.google.inject.InjectorBuilder.build(InjectorBuilder.java:100)
at com.google.inject.Guice.createInjector(Guice.java:95)
at com.google.inject.Guice.createInjector(Guice.java:72)
at org.codehaus.plexus.DefaultPlexusContainer.addPlexusInjector(DefaultPlexusContainer.java:433)
at org.codehaus.plexus.DefaultPlexusContainer.(DefaultPlexusContainer.java:177)
at org.sonatype.appbooter.PlexusAppBooter.startContainer(PlexusAppBooter.java:256)
at org.sonatype.appbooter.PlexusAppBooterService.startContainer(PlexusAppBooterService.java:48)
at org.sonatype.appbooter.jsw.PlexusAppBooterJSWListener.start(PlexusAppBooterJSWListener.java:68)

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.

Know the solutions? Share your knowledge to help other developers to debug faster.