java.io.IOException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • Cannot generate uberjar
    via GitHub by eklipse2k8
    ,
  • Error message
    via by Shriram,
  • 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
    via by Roland Westrelin,
    • java.io.IOException: ??????????? at java.io.WinNTFileSystem.createFileExclusively(WinNTFileSystem.java:0) at java.io.File.createNewFile(File.java:883) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:276) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createDataImpl(FolderObj.java:233) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$.call(FolderObj.java:203) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj$.call(FolderObj.java:202) at org.netbeans.modules.masterfs.filebasedfs.FileBasedFileSystem.runAsInconsistent(FileBasedFileSystem.java:112) at org.netbeans.modules.masterfs.filebasedfs.fileobjects.FolderObj.createData(FolderObj.java:206) at org.openide.filesystems.FileUtil.createData(FileUtil.java:582) at org.netbeans.spi.project.support.ant.AntProjectHelper$.run(AntProjectHelper.java:309)

    Users with the same issue

    rocday
    4 times, last one,
    Handemelindo
    10 times, last one,
    Indri Yunita
    103 times, last one,
    Unknown visitor1 times, last one,
    Casper
    7 times, last one,
    55 more bugmates