java.nio.file.NoSuchFileException: /var/tmp/writable-dir/a437b1a7-7138-468e-8fb8-4fe4e097c13e.lck

JDK Bug System | Roland Westrelin | 3 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    from the log file of the run: ----------System.out:(1/39)---------- Writable dir is: /var/tmp/writable-dir ----------System.err:(46/2922)---------- java.nio.file.NoSuchFileException: /var/tmp/writable-dir/a437b1a7-7138-468e-8fb8-4fe4e097c13e.lck at sun.nio.fs.UnixException.translateToIOException(UnixException.java:86) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102) at sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107) at sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177) at java.nio.channels.FileChannel.open(FileChannel.java:287) at java.nio.channels.FileChannel.open(FileChannel.java:335) at CheckZombieLockTest.setup(CheckZombieLockTest.java:318) at CheckZombieLockTest.main(CheckZombieLockTest.java:69) 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:484) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:745) java.io.IOException: No such file or directory at java.io.UnixFileSystem.createFileExclusively(Native Method) at java.io.File.createNewFile(File.java:1012) at CheckZombieLockTest.createFile(CheckZombieLockTest.java:348) at CheckZombieLockTest.checkWritable(CheckZombieLockTest.java:122) at CheckZombieLockTest.runTests(CheckZombieLockTest.java:96) at CheckZombieLockTest.main(CheckZombieLockTest.java:77) 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:484) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:745) WARNING: unable to delete/cleanup writable test directory: /var/tmp/writable-dir java.io.IOException: Can't create /var/tmp/writable-dir/test.txt Unable to run test at CheckZombieLockTest.checkWritable(CheckZombieLockTest.java:123) at CheckZombieLockTest.runTests(CheckZombieLockTest.java:96) at CheckZombieLockTest.main(CheckZombieLockTest.java:77) 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:484) at com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94) at java.lang.Thread.run(Thread.java:745) JavaTest Message: Test threw exception: java.io.IOException: Can't create /var/tmp/writable-dir/test.txt Unable to run test JavaTest Message: shutting down test STATUS:Failed.`main' threw exception: java.io.IOException: Can't create /var/tmp/writable-dir/test.txt Unable to run test ILW=MLH=P4

    JDK Bug System | 3 years ago | Roland Westrelin
    java.nio.file.NoSuchFileException: /var/tmp/writable-dir/a437b1a7-7138-468e-8fb8-4fe4e097c13e.lck
  2. 0

    Large aggregation query -> OOM -> Index corruption -> data loss

    GitHub | 2 years ago | kristoffer-dyrkorn
    java.nio.file.NoSuchFileException: /data/project/nodes/0/indices/metrics-2015-06/0/index/_2wk2.si
  3. 0

    Spurious File Not Found Exception

    GitHub | 1 year ago | ankrugold
    org.elasticsearch.indices.recovery.RecoveryFailedException: [indexName][2]: Recovery failed from [Guido Carosella][aBOW6HyxSDG6hkbUrlSwLw][indexName01.xyz.xyz.com][inet:9300]]{zone=us-east-1a} into [Captain Germany][wXPQlst-QyCBx39CoJWcQA][indexName03.xyz.xyz.com][inet[/:9300]]{zone=us-east-1d}
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    commit log on NFS volume

    Google Groups | 4 months ago | John Sanda
    java.nio.file.NoSuchFileException: /cassandra_data/data/hawkular_metrics/metrics_idx-1ea881506ee311e6890b131c1bc89929/la-86-big-Statistics.db
  6. 0

    File name conflict between different installations

    GitHub | 2 months ago | joulupunikki
    java.nio.file.NoSuchFileException: DAT/agility.dat

    2 unregistered visitors
    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.nio.file.NoSuchFileException

      /var/tmp/writable-dir/a437b1a7-7138-468e-8fb8-4fe4e097c13e.lck

      at sun.nio.fs.UnixException.translateToIOException()
    2. Java RT
      FileChannel.open
      1. sun.nio.fs.UnixException.translateToIOException(UnixException.java:86)
      2. sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:102)
      3. sun.nio.fs.UnixException.rethrowAsIOException(UnixException.java:107)
      4. sun.nio.fs.UnixFileSystemProvider.newFileChannel(UnixFileSystemProvider.java:177)
      5. java.nio.channels.FileChannel.open(FileChannel.java:287)
      6. java.nio.channels.FileChannel.open(FileChannel.java:335)
      6 frames
    3. Unknown
      CheckZombieLockTest.main
      1. CheckZombieLockTest.setup(CheckZombieLockTest.java:318)
      2. CheckZombieLockTest.main(CheckZombieLockTest.java:69)
      2 frames
    4. Java RT
      Method.invoke
      1. sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
      2. sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
      3. sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
      4. java.lang.reflect.Method.invoke(Method.java:484)
      4 frames
    5. com.sun.javatest
      MainWrapper$MainThread.run
      1. com.sun.javatest.regtest.MainWrapper$MainThread.run(MainWrapper.java:94)
      1 frame
    6. Java RT
      Thread.run
      1. java.lang.Thread.run(Thread.java:745)
      1 frame