{"action":"created","issue":{"url":"https://api.github.com/repos/graywolf336/Jail/issues/41","labels_url":"https://api.github.com/repos/graywolf336/Jail/issues/41/labels{/name}","comments_url":"https://api.github.com/repos/graywolf336/Jail/issues/41/comments","events_url":"https://api.github.com/repos/graywolf336/Jail/issues/41/events","html_url":"https://github.com/graywolf336/Jail/issues/41","id":55683442,"number":41,"title":"Jail fails to load after creating a new jail with cells, then restarting the server.","user":{"login":"madisonofccs","id":10691244,"avatar_url":"https://avatars.githubusercontent.com/u/10691244?v=3","gravatar_id":"","url":"https://api.github.com/users/madisonofccs","html_url":"https://github.com/madisonofccs","followers_url":"https://api.github.com/users/madisonofccs/followers","following_url":"https://api.github.com/users/madisonofccs/following{/other_user}","gists_url":"https://api.github.com/users/madisonofccs/gists{/gist_id}","starred_url":"https://api.github.com/users/madisonofccs/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/madisonofccs/subscriptions","organizations_url":"https://api.github.com/users/madisonofccs/orgs","repos_url":"https://api.github.com/users/madisonofccs/repos","events_url":"https://api.github.com/users/madisonofccs/events{/privacy}","received_events_url":"https://api.github.com/users/madisonofccs/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/graywolf336/Jail/labels/bug","name":"bug","color":"fc2929"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":47,"created_at":"2015-01-27T22:23:24Z","updated_at":"2015-01-28T00:45:09Z","closed_at":"2015-01-27T23:53:05Z","body":"Looks like jail is returning an error when it tries to load the flatfile. I've included the error below.\r\n\r\n```\r\njava.lang.NullPointerException\r\n\tat com.graywolf336.jail.JailIO.loadJailFromFlatFile(JailIO.java:631) ~[?:?]\r\n\tat com.graywolf336.jail.JailIO.loadJails(JailIO.java:578) ~[?:?]\r\n\tat com.graywolf336.jail.JailMain.onEnable(JailMain.java:77) ~[?:?]\r\n\tat org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-d0d1d87-15e81cf]\r\n\tat org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:335) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-d0d1d87-15e81cf]\r\n\tat org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:405) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-d0d1d87-15e81cf]\r\n\tat org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:356) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-d0d1d87-15e81cf]\r\n\tat org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:316) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-d0d1d87-15e81cf]\r\n\tat net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:402) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-d0d1d87-15e81cf]\r\n\tat net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:370) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-d0d1d87-15e81cf]\r\n\tat net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:325) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-d0d1d87-15e81cf]\r\n\tat net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:211) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-d0d1d87-15e81cf]\r\n\tat net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:494) [spigot-1.8-R0.1-SNAPSHOT.jar:git-Spigot-d0d1d87-15e81cf]\r\n\tat java.lang.Thread.run(Unknown Source) [?:1.8.0_25]\r\n```\r\n\r\nI basically deleted the data.yml file, started up the live server, then created the jail for a fresh file. I then copied the files in the folder over to my local test server, which is an identical copy of my live server, and started it up. The error showed up when I checked the logs to see if the jail loaded successfully."},"comment":{"url":"https://api.github.com/repos/graywolf336/Jail/issues/comments/71760368","html_url":"https://github.com/graywolf336/Jail/issues/41#issuecomment-71760368","issue_url":"https://api.github.com/repos/graywolf336/Jail/issues/41","id":71760368,"user":{"login":"graywolf336","id":850391,"avatar_url":"https://avatars.githubusercontent.com/u/850391?v=3","gravatar_id":"","url":"https://api.github.com/users/graywolf336","html_url":"https://github.com/graywolf336","followers_url":"https://api.github.com/users/graywolf336/followers","following_url":"https://api.github.com/users/graywolf336/following{/other_user}","gists_url":"https://api.github.com/users/graywolf336/gists{/gist_id}","starred_url":"https://api.github.com/users/graywolf336/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/graywolf336/subscriptions","organizations_url":"https://api.github.com/users/graywolf336/orgs","repos_url":"https://api.github.com/users/graywolf336/repos","events_url":"https://api.github.com/users/graywolf336/events{/privacy}","received_events_url":"https://api.github.com/users/graywolf336/received_events","type":"User","site_admin":false},"created_at":"2015-01-28T00:45:09Z","updated_at":"2015-01-28T00:45:09Z","body":"Try to break something else now so I can fix something else haha"}}