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

  1. ,

    If the directory ../.foo/bar/ doesn't exist, you can't create a file there, so make sure you create the directory first.

    File f = new File("somedirname1/somedirname2/somefilename");
    if (!f.getParentFile().exists())
        f.getParentFile().mkdirs();
    

Solutions on the web

via GitHub by PikyCZ
, 1 year ago
No such file or directory
via Stack Overflow by user3188912
, 2 years ago
via Stack Overflow by ddjh5
, 9 months ago
No such file or directory
via zimbra.org by Unknown author, 1 year ago
java.io.IOException: No such file or directory	at java.io.UnixFileSystem.createFileExclusively(Native Method)	at java.io.File.createNewFile(File.java:1012)	at cn.nukkit.utils.Utils.writeFile(Utils.java:30)	at cn.nukkit.utils.Utils.writeFile(Utils.java:22)	at cn.nukkit.utils.Config.save(Config.java:242)	at cn.nukkit.utils.Config.save(Config.java:210)	at cn.nukkit.utils.Config.load(Config.java:137)	at cn.nukkit.utils.Config.(Config.java:99)	at cn.nukkit.utils.Config.(Config.java:86)	at cn.nukkit.utils.Config.(Config.java:82)	at cn.nukkit.plugin.PluginBase.reloadConfig(PluginBase.java:239)	at cn.nukkit.plugin.PluginBase.getConfig(PluginBase.java:218)	at org.itxtech.synapseapi.SynapseAPI.onEnable(SynapseAPI.java:61)	at cn.nukkit.plugin.PluginBase.setEnabled(PluginBase.java:89)	at cn.nukkit.plugin.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:120)	at cn.nukkit.plugin.PluginManager.enablePlugin(PluginManager.java:452)	at cn.nukkit.Server.enablePlugin(Server.java:612)	at cn.nukkit.Server.enablePlugins(Server.java:601)	at cn.nukkit.Server.(Server.java:380)	at cn.nukkit.Nukkit.main(Nukkit.java:65)