java.io.IOException: Cannot delete /tmp/lucene-18eec490b2669271cd1934bf01ac6c3b-write.lock

Atlassian JIRA | Ben Hale | 10 years ago
  1. 0

    Indexer silently dies when FSDirectory cannot be created

    GitHub | 8 years ago | hntrmrrs
    java.io.IOException: Cannot create directory: /some/inaccessible/dir/lucene
  2. Speed up your debug routine!

    Automated exception search integrated into your IDE

  3. 0

    JUnit in Ant build script attempting and failing to delete .svn directory

    Stack Overflow | 5 years ago | Leonard Thieu
    java.io.IOException: couldn't delete .svn [junit] at org.apache.lucene.store.FSDirectory.create(FSDirectory.java:166)
  4. 0

    settting up liferay in freebsd - Forums | Liferay

    liferay.com | 9 months ago
    java.io.IOException: Cannot create directory: /usr/liferay/liferay-portal-5.2.2/data/lucene/0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.io.IOException

      Cannot delete /tmp/lucene-18eec490b2669271cd1934bf01ac6c3b-write.lock

      at org.apache.lucene.store.FSDirectory.create()
    2. Lucene
      FSDirectory.getDirectory
      1. org.apache.lucene.store.FSDirectory.create(FSDirectory.java:210)
      2. org.apache.lucene.store.FSDirectory.getDirectory(FSDirectory.java:144)
      2 frames
    3. org.springmodules.lucene
      FSDirectoryFactoryBeanTests.testGetObjectWithCreationWriter
      1. org.springmodules.lucene.index.support.FSDirectoryFactoryBean.afterPropertiesSet(FSDirectoryFactoryBean.java:65)
      2. org.springmodules.lucene.index.support.FSDirectoryFactoryBeanTests.testGetObjectWithCreationWriter(FSDirectoryFactoryBeanTests.java:122)
      2 frames