{"action":"closed","issue":{"url":"https://api.github.com/repos/Co0sh/BetonQuest/issues/307","repository_url":"https://api.github.com/repos/Co0sh/BetonQuest","labels_url":"https://api.github.com/repos/Co0sh/BetonQuest/issues/307/labels{/name}","comments_url":"https://api.github.com/repos/Co0sh/BetonQuest/issues/307/comments","events_url":"https://api.github.com/repos/Co0sh/BetonQuest/issues/307/events","html_url":"https://github.com/Co0sh/BetonQuest/issues/307","id":143451849,"number":307,"title":"No conversation option error","user":{"login":"Jerethkhan","id":9839793,"avatar_url":"https://avatars.githubusercontent.com/u/9839793?v=3","gravatar_id":"","url":"https://api.github.com/users/Jerethkhan","html_url":"https://github.com/Jerethkhan","followers_url":"https://api.github.com/users/Jerethkhan/followers","following_url":"https://api.github.com/users/Jerethkhan/following{/other_user}","gists_url":"https://api.github.com/users/Jerethkhan/gists{/gist_id}","starred_url":"https://api.github.com/users/Jerethkhan/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Jerethkhan/subscriptions","organizations_url":"https://api.github.com/users/Jerethkhan/orgs","repos_url":"https://api.github.com/users/Jerethkhan/repos","events_url":"https://api.github.com/users/Jerethkhan/events{/privacy}","received_events_url":"https://api.github.com/users/Jerethkhan/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-03-25T08:17:45Z","updated_at":"2016-04-12T20:34:23Z","closed_at":"2016-04-12T20:34:23Z","body":"```\r\nCaused by: java.lang.NullPointerException\r\n   at pl.betoncraft.betonquest.conversation.ConversationData.getPrefix(ConversationData.java:189)\r\n   at pl.betoncraft.betonquest.conversation.Conversation$Starter.run(Conversation.java:451)\r\n```\r\n\r\nBoth 1.8 and 1.9 produce this when an NPC has no viable NPC_option to chose from. \r\nMaybe the defined \"null\" for options is throwing it when no options are found while getting the prefix. \r\nIt wouldn't be a big deal, but sometimes it doesn't resolve to end a conversation and a player needs to disconnect and reconnect to start a conversation with any other NPC.\r\n\r\nFull Error:\r\n```\r\n[01:30:28] [Craft Scheduler Thread - 27/WARN]: Exception in thread \"Craft Scheduler Thread - 27\" \r\n[01:30:28] [Craft Scheduler Thread - 27/WARN]: org.apache.commons.lang.UnhandledException: Plugin BetonQuest v1.8.2 generated an exception while executing task 12328\r\n\tat org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:56)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1142)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:617)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.NullPointerException\r\n\tat pl.betoncraft.betonquest.conversation.ConversationData.getPrefix(ConversationData.java:189)\r\n\tat pl.betoncraft.betonquest.conversation.Conversation$Starter.run(Conversation.java:451)\r\n\tat org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftTask.run(CraftTask.java:71)\r\n\tat org.bukkit.craftbukkit.v1_9_R1.scheduler.CraftAsyncTask.run(CraftAsyncTask.java:53)\r\n\t... 3 more\r\n```"}}