org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/app/nexus-testing/2.3.1-01/nexus-professional-2.3.1-01-bundle-2/sonatype-work/nexus/indexer/hosted-1-ctx/write.lock

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

Samebug tips

Do you know how to solve this issue? Write a tip to help other users and build your expert profile.

Solutions on the web

via Sonatype JIRA by Peter Lynch, 1 year ago
Lock obtain timed out: NativeFSLock@/app/nexus-testing/2.3.1-01/nexus-professional-2.3.1-01-bundle-2/sonatype-work/nexus/indexer/hosted-1-ctx/write.lock
via Google Groups by Thornton, Susan M. (LARC-B702)[RAYTHEON TECHNICAL SERVICES COMPANY], 2 months ago
Lock obtain timed out: SimpleFSLock@/export/home/dspace/search/write.lock
via JIRA by Finn Bacall, 4 months ago
Lock obtain timed out: NativeFSLock@/home/myexperiment/myexperiment/solr_index/index/write.lock
via Stack Overflow by Emre Sevinç
, 1 year ago
Lock obtain timed out: NativeFSLock@/home/solr/solr3/biomina/solr/original/data/index/write.lock
via Stack Overflow by Andrés Moreno Giraldo
, 11 months ago
Lock obtain timed out: NativeFSLock@/data/geonetwork/geonetwork_data_agrologia/index/taxonomy/write.lock
via Stack Overflow by Unknown author, 2 years ago
Lock obtain timed out: NativeFSLock@/<pathToIndex>/write.lock
org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: NativeFSLock@/app/nexus-testing/2.3.1-01/nexus-professional-2.3.1-01-bundle-2/sonatype-work/nexus/indexer/hosted-1-ctx/write.lock
at org.apache.lucene.store.Lock.obtain(Lock.java:84)
at org.apache.lucene.index.IndexWriter.(IndexWriter.java:1098)
at org.apache.maven.index.context.NexusIndexWriter.(NexusIndexWriter.java:53)
at org.apache.maven.index.context.DefaultIndexingContext.openAndWarmup(DefaultIndexingContext.java:473)
at org.apache.maven.index.context.DefaultIndexingContext.prepareCleanIndex(DefaultIndexingContext.java:238)
at org.apache.maven.index.context.DefaultIndexingContext.prepareIndex(DefaultIndexingContext.java:216)
at org.apache.maven.index.context.DefaultIndexingContext.(DefaultIndexingContext.java:147)
at org.apache.maven.index.context.DefaultIndexingContext.(DefaultIndexingContext.java:167)
at org.sonatype.nexus.index.NexusIndexingContext.(NexusIndexingContext.java:45)
at org.sonatype.nexus.index.DefaultIndexerManager.addRepositoryIndexContext(DefaultIndexerManager.java:465)
at org.sonatype.nexus.index.DefaultIndexerManager.access$000(DefaultIndexerManager.java:186)
at org.sonatype.nexus.index.DefaultIndexerManager$1.run(DefaultIndexerManager.java:430)
at org.sonatype.nexus.index.DefaultIndexerManager.exclusiveSingle(DefaultIndexerManager.java:2538)
at org.sonatype.nexus.index.DefaultIndexerManager.addRepositoryIndexContext(DefaultIndexerManager.java:424)
at org.sonatype.nexus.events.IndexingRepositoryRegistryRepositoryEventInspector.inspectForIndexerManager(IndexingRepositoryRegistryRepositoryEventInspector.java:96)
at org.sonatype.nexus.events.IndexingRepositoryRegistryRepositoryEventInspector.inspect(IndexingRepositoryRegistryRepositoryEventInspector.java:81)
at org.sonatype.nexus.events.DefaultEventInspectorHost.processEvent(DefaultEventInspectorHost.java:131)
at org.sonatype.nexus.events.DefaultEventInspectorHost.onEvent(DefaultEventInspectorHost.java:104)

Users with the same issue

Samebug visitor profile picture
Unknown user
Once, 2 years ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago
Samebug visitor profile picture
Unknown user
2 times, 2 years ago

Write tip

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