org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/erpdb/wdb/luceneIndexes/ft_13_8/write.lock

Hot problem!
This exception has a lot of traffic. You can help 24 users by writing a short tip.

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 GitHub by antonzherdev
, 1 year ago
Lock held by this virtual machine: /var/erpdb/wdb/luceneIndexes/ft_13_8/write.lock
via Stack Overflow by Alinda Yuen
, 8 months ago
Lock held by this virtual machine: /Users/serenayuan/Documents/2017/paths/write.lock
via Stack Overflow by Chris Beach
, 5 months ago
Lock held by this virtual machine: /Users/chris/social-graph/schema/index/lucene/3/1/write.lock
via Stack Overflow by Krishna kalesh
, 1 year ago
Lock held by another program: D:\WorkSpace\Softwares\infinispan-server-8.2.2.Final\org.infinispan.query.remote.impl.indexing.ProtobufValueWrapper\write.lock
via Stack Overflow by Ashika Umanga Umagiliya
, 5 months ago
Lock held by another program: /home/bisuser/cdna-meta-index/default/com.company.dsd.cdna.repository.model.FeatureMeta/write.lock
org.apache.lucene.store.LockObtainFailedException: Lock held by this virtual machine: /var/erpdb/wdb/luceneIndexes/ft_13_8/write.lock
at org.apache.lucene.store.NativeFSLockFactory.obtainFSLock(NativeFSLockFactory.java:127)
at org.apache.lucene.store.FSLockFactory.obtainLock(FSLockFactory.java:41)
at org.apache.lucene.store.BaseDirectory.obtainLock(BaseDirectory.java:45)
at org.apache.lucene.index.IndexWriter.(IndexWriter.java:775)
at com.orientechnologies.lucene.engine.OLuceneIndexWriterFactory.createIndexWriter(OLuceneIndexWriterFactory.java:22)
at com.orientechnologies.lucene.engine.OLuceneFullTextIndexEngine.createIndexWriter(OLuceneFullTextIndexEngine.java:73)
at com.orientechnologies.lucene.engine.OLuceneIndexEngineAbstract.reOpen(OLuceneIndexEngineAbstract.java:210)
at com.orientechnologies.lucene.engine.OLuceneIndexEngineAbstract.release(OLuceneIndexEngineAbstract.java:506)
at com.orientechnologies.lucene.engine.OLuceneIndexEngineDelegate.release(OLuceneIndexEngineDelegate.java:278)
at com.orientechnologies.orient.core.storage.impl.local.OAbstractPaginatedStorage.release(OAbstractPaginatedStorage.java:2629)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.releaseDatabase(ONetworkProtocolBinary.java:2125)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.executeRequest(ONetworkProtocolBinary.java:601)
at com.orientechnologies.orient.server.network.protocol.binary.ONetworkProtocolBinary.sessionRequest(ONetworkProtocolBinary.java:318)

Users with the same issue

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

Write tip

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