Skip to content

Instantly share code, notes, and snippets.

@strangeglyph
Created September 30, 2011 16:59
Show Gist options
  • Save strangeglyph/1254349 to your computer and use it in GitHub Desktop.
Save strangeglyph/1254349 to your computer and use it in GitHub Desktop.
java.io.FileNotFoundException: Data\Boreeas.properties (Zugriff verweigert)
at java.io.FileInputStream.open(Native Method)
at java.io.FileInputStream.<init>(Unknown Source)
at java.io.FileInputStream.<init>(Unknown Source)
at org.bukkit.craftbukkit.util.PlayerProperties.<init>(PlayerProperties.
java:45)
at org.bukkit.craftbukkit.util.PlayerProperties.getPlayerPropertiesObjec
t(PlayerProperties.java:278)
== This is the code ==
catch (FileNotFoundException nfe) {
(new File(propDir)).mkdirs();
(new File(propLoc)).createNewFile();
prop.load(new FileInputStream(propLoc)); //Line with error
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment