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 Brian Demers, 1 year ago
abort() can only be called when IndexWriter was opened with autoCommit=false
via Sonatype JIRA by Brian Demers, 2 years ago
abort() can only be called when IndexWriter was opened with autoCommit=false
via Sonatype JIRA by John Yeary, 1 year ago
abort() can only be called when IndexWriter was opened with autoCommit=false
via Sonatype JIRA by Pat Podenski, 1 year ago
abort() can only be called when IndexWriter was opened with autoCommit=false
java.lang.IllegalStateException: abort() can only be called when IndexWriter was opened with autoCommit=false	at org.apache.lucene.index.IndexWriter.abort(IndexWriter.java:2009)	at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1175)	at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1154)	at org.sonatype.nexus.index.context.NexusIndexWriter.close(NexusIndexWriter.java:48)	at org.sonatype.nexus.index.context.IndexUtils.close(IndexUtils.java:371)	at org.sonatype.nexus.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:520)	at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:220)	at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:135)	at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:846)	at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:716)	at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:691)	at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:580)	at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:503)	at org.sonatype.nexus.index.ProxyIndexerManager.reindexRepository(ProxyIndexerManager.java:200)	at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:54)	at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:181)	at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:339)	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:637)