{"action":"opened","issue":{"url":"https://api.github.com/repos/iLexiconn/LLibrary/issues/12","repository_url":"https://api.github.com/repos/iLexiconn/LLibrary","labels_url":"https://api.github.com/repos/iLexiconn/LLibrary/issues/12/labels{/name}","comments_url":"https://api.github.com/repos/iLexiconn/LLibrary/issues/12/comments","events_url":"https://api.github.com/repos/iLexiconn/LLibrary/issues/12/events","html_url":"https://github.com/iLexiconn/LLibrary/issues/12","id":172311036,"number":12,"title":"SliderElement throws NullPointerException when setting value when uninitialized","user":{"login":"JamiesWhiteShirt","id":5446387,"avatar_url":"https://avatars.githubusercontent.com/u/5446387?v=3","gravatar_id":"","url":"https://api.github.com/users/JamiesWhiteShirt","html_url":"https://github.com/JamiesWhiteShirt","followers_url":"https://api.github.com/users/JamiesWhiteShirt/followers","following_url":"https://api.github.com/users/JamiesWhiteShirt/following{/other_user}","gists_url":"https://api.github.com/users/JamiesWhiteShirt/gists{/gist_id}","starred_url":"https://api.github.com/users/JamiesWhiteShirt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/JamiesWhiteShirt/subscriptions","organizations_url":"https://api.github.com/users/JamiesWhiteShirt/orgs","repos_url":"https://api.github.com/users/JamiesWhiteShirt/repos","events_url":"https://api.github.com/users/JamiesWhiteShirt/events{/privacy}","received_events_url":"https://api.github.com/users/JamiesWhiteShirt/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-21T08:31:00Z","updated_at":"2016-08-21T08:31:00Z","closed_at":null,"body":"SliderElement delegates its state to an InputElement which is created during `init`. Because of this, the value cannot be set before `init` is called and throws a NullPointerException. This exception is unavoidable when using numerical values for ConfigGUI because this situation occurs.\r\n\r\njava.lang.NullPointerException: Rendering screen\r\n\tat net.ilexiconn.llibrary.client.gui.element.SliderElement.withValue(SliderElement.java:112)\r\n\tat net.ilexiconn.llibrary.client.gui.config.ConfigGUI.createPropertyElement(ConfigGUI.java:162)\r\n\tat net.ilexiconn.llibrary.client.gui.config.ConfigGUI.drawScreen(ConfigGUI.java:124)\r\n\tat net.ilexiconn.llibrary.client.gui.ElementGUI.drawScreen(ElementGUI.java:49)\r\n\tat net.minecraftforge.client.ForgeHooksClient.drawScreen(ForgeHooksClient.java:374)\r\n\tat net.minecraft.client.renderer.EntityRenderer.updateCameraAndRender(EntityRenderer.java:1147)\r\n\tat net.minecraft.client.Minecraft.runGameLoop(Minecraft.java:1139)\r\n\tat net.minecraft.client.Minecraft.run(Minecraft.java:406)"}}
{"actor":{"display_login":"JamiesWhiteShirt"}}