{"action":"created","issue":{"url":"https://api.github.com/repos/Akumasama/epicquest3/issues/4","labels_url":"https://api.github.com/repos/Akumasama/epicquest3/issues/4/labels{/name}","comments_url":"https://api.github.com/repos/Akumasama/epicquest3/issues/4/comments","events_url":"https://api.github.com/repos/Akumasama/epicquest3/issues/4/events","html_url":"https://github.com/Akumasama/epicquest3/issues/4","id":53373638,"number":4,"title":"Error while disabling","user":{"login":"bigbeno37","id":1751923,"avatar_url":"https://avatars.githubusercontent.com/u/1751923?v=3","gravatar_id":"","url":"https://api.github.com/users/bigbeno37","html_url":"https://github.com/bigbeno37","followers_url":"https://api.github.com/users/bigbeno37/followers","following_url":"https://api.github.com/users/bigbeno37/following{/other_user}","gists_url":"https://api.github.com/users/bigbeno37/gists{/gist_id}","starred_url":"https://api.github.com/users/bigbeno37/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/bigbeno37/subscriptions","organizations_url":"https://api.github.com/users/bigbeno37/orgs","repos_url":"https://api.github.com/users/bigbeno37/repos","events_url":"https://api.github.com/users/bigbeno37/events{/privacy}","received_events_url":"https://api.github.com/users/bigbeno37/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-01-05T08:19:06Z","updated_at":"2015-01-05T10:14:00Z","closed_at":null,"body":"When I go to run CraftBukkit from the Spigot BuildTools, it gives me the following stacktrace: \r\n\r\n```\r\n[19:12:57] [Server thread/INFO]: Starting minecraft server version 1.8\r\n[19:12:57] [Server thread/INFO]: Loading properties\r\n[19:12:57] [Server thread/INFO]: Default game type: SURVIVAL\r\n[19:12:57] [Server thread/INFO]: Generating keypair\r\n[19:12:58] [Server thread/INFO]: Starting Minecraft server on *:25565\r\n[19:12:59] [Server thread/INFO]: This server is running CraftBukkit version git-Bukkit-96d09e3 (MC: 1.8) (Implementing API version 1.8-R0.1-SNAPSHOT)\r\n[19:13:00] [Server thread/INFO]: [Vault] Loading Vault v1.5.0-b28\r\n[19:13:00] [Server thread/INFO]: [Citizens] Loading Citizens v2.0.14-SNAPSHOT (build 1195)\r\n[19:13:00] [Server thread/INFO]: [Heroes] Loading Heroes v1.5.5.4-SNAPSHOT-b66\r\n[19:13:00] [Server thread/INFO]: [EpicQuest] Loading EpicQuest v3.3\r\n[19:13:00] [Server thread/INFO]: [Vault] Enabling Vault v1.5.0-b28\r\n[19:13:00] [Server thread/INFO]: [Vault] [Permission] SuperPermissions loaded as backup permission system.\r\n[19:13:00] [Server thread/INFO]: [Vault] Enabled Version 1.5.0-b28\r\n[19:13:00] [Server thread/INFO]: Preparing level \"world\"\r\n[19:13:00] [Server thread/INFO]: Preparing start region for level 0 (Seed: 1530998597710896643)\r\n[19:13:01] [Server thread/INFO]: Preparing spawn area: 32%\r\n[19:13:02] [Server thread/INFO]: Preparing spawn area: 61%\r\n[19:13:03] [Server thread/INFO]: Preparing start region for level 1 (Seed: 1530998597710896643)\r\n[19:13:04] [Server thread/INFO]: Preparing spawn area: 66%\r\n[19:13:05] [Server thread/INFO]: Preparing spawn area: 93%\r\n[19:13:05] [Server thread/INFO]: Preparing start region for level 2 (Seed: 1530998597710896643)\r\n[19:13:05] [Server thread/INFO]: [Citizens] Enabling Citizens v2.0.14-SNAPSHOT (build 1195)\r\n[19:13:05] [Server thread/ERROR]: [Citizens] Unable to find Rhino classes - javascript scripts won't see non-CraftBukkit classes\r\n[19:13:06] [Server thread/INFO]: [Heroes] Enabling Heroes v1.5.5.4-SNAPSHOT-b66\r\n[19:13:06] [Server thread/INFO]: [Heroes] You are running Heroes on git-Bukkit-96d09e3 (MC: 1.8)\r\n[19:13:06] [Server thread/INFO]: [Heroes] The detected server mod is BUKKIT. Heroes will use BUKKIT compatibility!\r\n[19:13:06] [Server thread/ERROR]: [Heroes] You are attempting to load Heroes on version v1_8_R1 which is not supported!\r\n[19:13:06] [Server thread/INFO]: [Heroes] Disabling Heroes v1.5.5.4-SNAPSHOT-b66\r\n[19:13:06] [Server thread/INFO]: [Heroes]  version 1.5.5.4-SNAPSHOT-b66 is disabled!\r\n[19:13:06] [Server thread/INFO]: [EpicQuest] Enabling EpicQuest v3.3\r\n[19:13:06] [Server thread/INFO]: EpicQuest could not find the quest file. Disabling plugin.\r\n[19:13:06] [Server thread/ERROR]: Error occurred while enabling EpicQuest v3.3 (Is it up to date?)\r\njava.lang.NullPointerException\r\n\tat org.bukkit.plugin.SimplePluginManager.disablePlugin(SimplePluginManager.java:421) ~[craftbukkit-1.8.jar:git-Bukkit-96d09e3]\r\n\tat randy.epicquest.main.onEnable(main.java:138) ~[?:?]\r\n\tat org.bukkit.plugin.java.JavaPlugin.setEnabled(JavaPlugin.java:321) ~[craftbukkit-1.8.jar:git-Bukkit-96d09e3]\r\n\tat org.bukkit.plugin.java.JavaPluginLoader.enablePlugin(JavaPluginLoader.java:327) [craftbukkit-1.8.jar:git-Bukkit-96d09e3]\r\n\tat org.bukkit.plugin.SimplePluginManager.enablePlugin(SimplePluginManager.java:404) [craftbukkit-1.8.jar:git-Bukkit-96d09e3]\r\n\tat org.bukkit.craftbukkit.v1_8_R1.CraftServer.loadPlugin(CraftServer.java:340) [craftbukkit-1.8.jar:git-Bukkit-96d09e3]\r\n\tat org.bukkit.craftbukkit.v1_8_R1.CraftServer.enablePlugins(CraftServer.java:312) [craftbukkit-1.8.jar:git-Bukkit-96d09e3]\r\n\tat net.minecraft.server.v1_8_R1.MinecraftServer.q(MinecraftServer.java:394) [craftbukkit-1.8.jar:git-Bukkit-96d09e3]\r\n\tat net.minecraft.server.v1_8_R1.MinecraftServer.k(MinecraftServer.java:362) [craftbukkit-1.8.jar:git-Bukkit-96d09e3]\r\n\tat net.minecraft.server.v1_8_R1.MinecraftServer.a(MinecraftServer.java:317) [craftbukkit-1.8.jar:git-Bukkit-96d09e3]\r\n\tat net.minecraft.server.v1_8_R1.DedicatedServer.init(DedicatedServer.java:190) [craftbukkit-1.8.jar:git-Bukkit-96d09e3]\r\n\tat net.minecraft.server.v1_8_R1.MinecraftServer.run(MinecraftServer.java:473) [craftbukkit-1.8.jar:git-Bukkit-96d09e3]\r\n\tat java.lang.Thread.run(Unknown Source) [?:1.8.0_25]\r\n[19:13:06] [Server thread/INFO]: Server permissions file permissions.yml is empty, ignoring it\r\n[19:13:06] [Server thread/INFO]: Done (5.998s)! For help, type \"help\" or \"?\"\r\n[19:13:06] [Server thread/INFO]: [Citizens] Loaded 0 NPCs.\r\n[19:13:06] [pool-3-thread-2/INFO]: [Vault] Checking for Updates ... \r\n[19:13:09] [pool-3-thread-2/INFO]: [Vault] No new version available\r\n```\r\n\r\nAs seen here, I have Vault, Citizens and Heroes downloaded and installed. Looking at the stacktrace reveals that there is a NullPointerException at line 138 of main.java, which happens to be the following:\r\n\r\n`Bukkit.getPluginManager().disablePlugin(epicQuestPlugin);`"},"comment":{"url":"https://api.github.com/repos/Akumasama/epicquest3/issues/comments/68689203","html_url":"https://github.com/Akumasama/epicquest3/issues/4#issuecomment-68689203","issue_url":"https://api.github.com/repos/Akumasama/epicquest3/issues/4","id":68689203,"user":{"login":"Akumasama","id":831493,"avatar_url":"https://avatars.githubusercontent.com/u/831493?v=3","gravatar_id":"","url":"https://api.github.com/users/Akumasama","html_url":"https://github.com/Akumasama","followers_url":"https://api.github.com/users/Akumasama/followers","following_url":"https://api.github.com/users/Akumasama/following{/other_user}","gists_url":"https://api.github.com/users/Akumasama/gists{/gist_id}","starred_url":"https://api.github.com/users/Akumasama/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Akumasama/subscriptions","organizations_url":"https://api.github.com/users/Akumasama/orgs","repos_url":"https://api.github.com/users/Akumasama/repos","events_url":"https://api.github.com/users/Akumasama/events{/privacy}","received_events_url":"https://api.github.com/users/Akumasama/received_events","type":"User","site_admin":false},"created_at":"2015-01-05T10:14:00Z","updated_at":"2015-01-05T10:14:00Z","body":"Yeah, the timer is started a tad later. I think that's the only thing that's null, so a null check should be fine. I'll add in a default quest file somewhere during the next few commits."}}