java.util.concurrent.ExecutionException

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.

  • I enabled remote index downloads for 'central' (stock nexus.xml) task was created, but reindex failed jvm 1 | 2009-08-11 15:46:00 WARN - o.s.n.i.ComposableI~:lucene - Cannot fetch remote index for repository central jvm 1 | java.lang.IllegalStateException: abort() can only be called when IndexWriter was opened with autoCommit=false jvm 1 | at org.apache.lucene.index.IndexWriter.abort(IndexWriter.java:2009) jvm 1 | at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1175) jvm 1 | at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1154) jvm 1 | at org.sonatype.nexus.index.context.NexusIndexWriter.close(NexusIndexWriter.java:48) jvm 1 | at org.sonatype.nexus.index.context.IndexUtils.close(IndexUtils.java:371) jvm 1 | at org.sonatype.nexus.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:520) jvm 1 | at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:220) jvm 1 | at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:135) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:846) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:716) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:691) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:580) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:503) jvm 1 | at org.sonatype.nexus.index.ProxyIndexerManager.reindexRepository(ProxyIndexerManager.java:200) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:54) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:181) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:339) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:637) jvm 1 | 2009-08-11 15:46:01 INFO - o.s.n.i.ComposableI~:lucene - Cascading merge of group indexes for group 'public', where repository 'central' is member. jvm 1 | 2009-08-11 15:46:01 INFO - o.s.n.i.ComposableI~:lucene - Publishing best index for repository central jvm 1 | 2009-08-11 15:46:01 INFO - o.s.n.i.p.IndexPack~:default - Unable to read properties file, will force index regeneration jvm 1 | 2009-08-11 15:46:01 INFO - o.s.n.f.FeedRecorder:default - Reindexing repository Maven Central from path / and below. : Process started on Tue Aug 11 15:43:18 EDT 2009, finished successfully on Tue Aug 11 15:46:01 EDT 2009
    via by Brian Demers,
  • The following stack trace results from a scheduled task which is supposed to index the Public Repositories Group. ---------------------------------------------------------------------------------- Task Name: publish public repo index Stack trace: 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.DefaultIndexingContext.closeReaders(DefaultIndexingContext.java:637) at org.sonatype.nexus.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:609) at org.sonatype.nexus.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:545) at org.sonatype.nexus.index.DefaultIndexerManager.mergeContexts(DefaultIndexerManager.java:353) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:1195) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryGroupIndex(DefaultIndexerManager.java:1162) at org.sonatype.nexus.index.ProxyIndexerManager.publishRepositoryGroupIndex(ProxyIndexerManager.java:173) at org.sonatype.nexus.tasks.PublishIndexesTask.doRun(PublishIndexesTask.java:50) 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:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:172) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:613) ----------------------------------------------------------------------------------
    via by Pat Podenski,
  • I enabled remote index downloads for 'central' (stock nexus.xml) task was created, but reindex failed jvm 1 | 2009-08-11 15:46:00 WARN - o.s.n.i.ComposableI~:lucene - Cannot fetch remote index for repository central jvm 1 | java.lang.IllegalStateException: abort() can only be called when IndexWriter was opened with autoCommit=false jvm 1 | at org.apache.lucene.index.IndexWriter.abort(IndexWriter.java:2009) jvm 1 | at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1175) jvm 1 | at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1154) jvm 1 | at org.sonatype.nexus.index.context.NexusIndexWriter.close(NexusIndexWriter.java:48) jvm 1 | at org.sonatype.nexus.index.context.IndexUtils.close(IndexUtils.java:371) jvm 1 | at org.sonatype.nexus.index.updater.DefaultIndexUpdater.unpackIndexData(DefaultIndexUpdater.java:520) jvm 1 | at org.sonatype.nexus.index.updater.DefaultIndexUpdater.loadIndexDirectory(DefaultIndexUpdater.java:220) jvm 1 | at org.sonatype.nexus.index.updater.DefaultIndexUpdater.fetchAndUpdateIndex(DefaultIndexUpdater.java:135) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.updateRemoteIndex(DefaultIndexerManager.java:846) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.updateIndexForRemoteRepository(DefaultIndexerManager.java:716) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.downloadRepositoryIndex(DefaultIndexerManager.java:691) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:580) jvm 1 | at org.sonatype.nexus.index.DefaultIndexerManager.reindexRepository(DefaultIndexerManager.java:503) jvm 1 | at org.sonatype.nexus.index.ProxyIndexerManager.reindexRepository(ProxyIndexerManager.java:200) jvm 1 | at org.sonatype.nexus.tasks.ReindexTask.doRun(ReindexTask.java:54) jvm 1 | at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:181) jvm 1 | at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:339) jvm 1 | at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:303) jvm 1 | at java.util.concurrent.FutureTask.run(FutureTask.java:138) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:98) jvm 1 | at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:207) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:886) jvm 1 | at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:908) jvm 1 | at java.lang.Thread.run(Thread.java:637) jvm 1 | 2009-08-11 15:46:01 INFO - o.s.n.i.ComposableI~:lucene - Cascading merge of group indexes for group 'public', where repository 'central' is member. jvm 1 | 2009-08-11 15:46:01 INFO - o.s.n.i.ComposableI~:lucene - Publishing best index for repository central jvm 1 | 2009-08-11 15:46:01 INFO - o.s.n.i.p.IndexPack~:default - Unable to read properties file, will force index regeneration jvm 1 | 2009-08-11 15:46:01 INFO - o.s.n.f.FeedRecorder:default - Reindexing repository Maven Central from path / and below. : Process started on Tue Aug 11 15:43:18 EDT 2009, finished successfully on Tue Aug 11 15:46:01 EDT 2009
    via by Brian Demers,
  • The following stack trace results from a scheduled task which is supposed to index the Public Repositories Group. ---------------------------------------------------------------------------------- Task Name: publish public repo index Stack trace: 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.DefaultIndexingContext.closeReaders(DefaultIndexingContext.java:637) at org.sonatype.nexus.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:609) at org.sonatype.nexus.index.context.DefaultIndexingContext.merge(DefaultIndexingContext.java:545) at org.sonatype.nexus.index.DefaultIndexerManager.mergeContexts(DefaultIndexerManager.java:353) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryIndex(DefaultIndexerManager.java:1195) at org.sonatype.nexus.index.DefaultIndexerManager.publishRepositoryGroupIndex(DefaultIndexerManager.java:1162) at org.sonatype.nexus.index.ProxyIndexerManager.publishRepositoryGroupIndex(ProxyIndexerManager.java:173) at org.sonatype.nexus.tasks.PublishIndexesTask.doRun(PublishIndexesTask.java:50) 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:269) at java.util.concurrent.FutureTask.run(FutureTask.java:123) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.access$301(ScheduledThreadPoolExecutor.java:65) at java.util.concurrent.ScheduledThreadPoolExecutor$ScheduledFutureTask.run(ScheduledThreadPoolExecutor.java:172) at java.util.concurrent.ThreadPoolExecutor$Worker.runTask(ThreadPoolExecutor.java:651) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:676) at java.lang.Thread.run(Thread.java:613) ----------------------------------------------------------------------------------
    via by John Yeary,
    • java.util.concurrent.ExecutionException: java.lang.IllegalStateException: cannot close: prepareCommit was already called with no corresponding call to commit at java.util.concurrent.FutureTask.report(FutureTask.java:122) at java.util.concurrent.FutureTask.get(FutureTask.java:192) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43) at java.lang.reflect.Method.invoke(Method.java:498) at clojure.lang.Reflector.invokeMatchingMethod(Reflector.java:93) at clojure.lang.Reflector.invokeNoArgInstanceMember(Reflector.java:313) at sparql$load_multidata.invokeStatic(sparql.clj:110) at sparql$load_multidata.invoke(sparql.clj:90) at triple.multiload$fn__1114.invokeStatic(multiload.clj:15) at triple.multiload$fn__1114.invoke(multiload.clj:13) at clojure.test$test_var$fn__7983.invoke(test.clj:716) at clojure.test$test_var.invokeStatic(test.clj:716) at clojure.test$test_var.invoke(test.clj:707) at boot.user$eval133$fn__134.doInvoke(boot.user3412006909439801406.clj:23) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.lang.AFunction$1.doInvoke(AFunction.java:29) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invokeStatic(core.clj:646) at clojure.core$apply.invoke(core.clj:641) at boot.core$construct_tasks.doInvoke(core.clj:911) at clojure.lang.RestFn.applyTo(RestFn.java:137) at clojure.core$apply.invokeStatic(core.clj:646) at clojure.core$apply.invoke(core.clj:641) at boot.core$boot$fn__933.invoke(core.clj:949) at clojure.core$binding_conveyor_fn$fn__4676.invoke(core.clj:1938) at clojure.lang.AFn.call(AFn.java:18) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617) at java.lang.Thread.run(Thread.java:745) Caused by: java.lang.IllegalStateException: cannot close: prepareCommit was already called with no corresponding call to commit at org.apache.lucene.index.IndexWriter.shutdown(IndexWriter.java:960) at org.apache.lucene.index.IndexWriter.close(IndexWriter.java:1015) at org.eclipse.rdf4j.sail.lucene.LuceneIndex.shutDown(LuceneIndex.java:322) at org.eclipse.rdf4j.sail.lucene.LuceneSail.shutDown(LuceneSail.java:291) at org.eclipse.rdf4j.repository.sail.SailRepository.shutDownInternal(SailRepository.java:169) at org.eclipse.rdf4j.repository.base.AbstractRepository.shutDown(AbstractRepository.java:45) at triple.loader$eval939$fn__940.invoke(loader.clj:98) at clojure.lang.MultiFn.invoke(MultiFn.java:238) at triple.loader$eval935$fn__936.invoke(loader.clj:88) at clojure.lang.MultiFn.invoke(MultiFn.java:238) at sparql$load_multidata$fn__1094$fn__1095.invoke(sparql.clj:102) ... 5 more
    No Bugmate found.