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 Google Groups by Anthony Shortland, 2 years ago
via Google Groups by Ferruccio Zamuner, 3 months ago
via sourceforge.net by Unknown author, 2 years ago
Permission denied
java.io.IOException: Permission denied	at java.io.UnixFileSystem.createFileExclusively(Native Method)	at java.io.File.createNewFile(File.java:900)	at com.ubempire.render.BananaMapRender.displayWorldName(BananaMapRender.java:119)	at com.ubempire.render.BananaMapRender.onEnable(BananaMapRender.java:82)	at org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:125)	at org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:799)	at org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:253)	at org.bukkit.craftbukkit.CraftServer.loadPlugin(CraftServer.java:140)	at org.bukkit.craftbukkit.CraftServer.loadPlugins(CraftServer.java:118)	at net.minecraft.server.MinecraftServer.e(MinecraftServer.java:232)	at net.minecraft.server.MinecraftServer.a(MinecraftServer.java:219)	at net.minecraft.server.MinecraftServer.init(MinecraftServer.java:146)	at net.minecraft.server.MinecraftServer.run(MinecraftServer.java:283)	at net.minecraft.server.ThreadServerApplication.run(SourceFile:422)