Pattern selector

Most relevant patterns first. Most helpful ones displayed. Click here to show all.

  1. File.createTempFile() has thrown an IOException
    Java Runtime
    11
    3
    24
  2. JRE unable to create file
    Java Runtime
    107
    186
    122

Your stack trace compared to the selected pattern

Jump to solutionsExpand frames
java.io.IOException: No such file or directory
    at java.io.UnixFileSystem.createFileExclusively(Native Method)
    at java.io.File.checkAndCreate(File.java:1704)
    at java.io.File.createTempFile(File.java:1793)
    at org.apache.cxf.helpers.FileUtils.createTempFile(FileUtils.java:159)
42 frames hidden

Solution

chinthana11 months ago

There could be quite a few reasons for this, check:

  • If the directory, in which the file is located, exists.
  • Whether you have write permissions for the file.
  • Whether you have directory write permissions.
  • Whether you have too many file handles open.

External results for this pattern (10)

  1. Patrys003via GitHub3 weeks ago
    IO exception when creating config file: /home/e119853/pliki/plugins/FunnyGuilds/config.yml
    Show stack trace
  2. niqqqvia GitHub3 weeks ago
    IO exception when creating config file: /home/minecraft/plugins/FunnyGuilds/config.yml
    Show stack trace
  3. szymex73via GitHub3 weeks ago
    IO exception when creating config file: /home/szymex/moje/mc/srvTest/plugins/FunnyGuilds/messages.yml
    Show stack trace
  4. Claudio DeSouzavia Google Groups3 weeks ago
  5. UnderMybrellavia GitHub4 weeks ago
    No such file or directory
    Show stack trace
  6. devdavidkarlssonvia GitHub4 weeks ago
    java.io.IOException: No such file or directory
    Show stack trace
  7. Zulkovia GitHub1 month ago
    No such file or directory
    Show stack trace
  8. jamesremuscatvia GitHub1 month ago
    No such file or directory
    Show stack trace
  9. Andrew Greenvia Google Groups1 month ago
    No such file or directory
    Show stack trace