org.apache.lucene.store.LockObtainFailedException

Lock obtain timed out: SimpleFSLock@C:\Nexus\sonatype-work\nexus\timeline\write.lock

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web160

  • via Sonatype JIRA by Kristine O'Connor, 1 year ago
    Lock obtain timed out: SimpleFSLock@C:\Nexus\sonatype-work\nexus\timeline\write.lock
  • via Sonatype JIRA by Marvin Herman Froeder, 1 year ago
    Lock obtain timed out: SimpleFSLock@D:\sonatype\workspace\nexus\nexus\nexus-test-harness\nexus-test-harness-launcher\target\bundle\nexus-webapp-1.1.0-SNAPSHOT\runtime\work\timeline\write.lock
  • via Sonatype JIRA by Marvin Herman Froeder, 11 months ago
    Lock obtain timed out: SimpleFSLock@D:\sonatype\workspace\nexus\nexus\nexus-test-harness\nexus-test-harness-launcher\target\bundle\nexus-webapp-1.1.0-SNAPSHOT\runtime\work\timeline\write.lock
  • Stack trace

    • org.apache.lucene.store.LockObtainFailedException: Lock obtain timed out: SimpleFSLock@C:\Nexus\sonatype-work\nexus\timeline\write.lock at org.apache.lucene.store.Lock.obtain(Lock.java:85) at org.apache.lucene.index.DirectoryIndexReader.acquireWriteLock(DirectoryIndexReader.java:250) at org.apache.lucene.index.IndexReader.deleteDocument(IndexReader.java:725) at org.sonatype.nexus.timeline.DefaultTimeline.purge(DefaultTimeline.java:296) at org.sonatype.nexus.timeline.DefaultTimeline.purgeOlderThan(DefaultTimeline.java:572) at org.sonatype.nexus.timeline.DefaultTimeline.purgeOlderThan(DefaultTimeline.java:567) at org.sonatype.nexus.timeline.DefaultTimeline.purgeOlderThan(DefaultTimeline.java:562) at org.sonatype.nexus.tasks.PurgeTimeline.doRun(PurgeTimeline.java:111) at org.sonatype.nexus.scheduling.AbstractNexusTask.call(AbstractNexusTask.java:142) at org.sonatype.scheduling.DefaultScheduledTask.call(DefaultScheduledTask.java:345) 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)

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 1 year ago
    Unknown user
    2 times, 1 year ago
    Unknown user
    Once, 1 year ago