{"action":"created","issue":{"url":"https://api.github.com/repos/PocketMobsters/PokeMobBot/issues/113","repository_url":"https://api.github.com/repos/PocketMobsters/PokeMobBot","labels_url":"https://api.github.com/repos/PocketMobsters/PokeMobBot/issues/113/labels{/name}","comments_url":"https://api.github.com/repos/PocketMobsters/PokeMobBot/issues/113/comments","events_url":"https://api.github.com/repos/PocketMobsters/PokeMobBot/issues/113/events","html_url":"https://github.com/PocketMobsters/PokeMobBot/issues/113","id":168525825,"number":113,"title":"AutomaticallyLevelUpPokemon results in error when set true","user":{"login":"globus243","id":6062156,"avatar_url":"https://avatars.githubusercontent.com/u/6062156?v=3","gravatar_id":"","url":"https://api.github.com/users/globus243","html_url":"https://github.com/globus243","followers_url":"https://api.github.com/users/globus243/followers","following_url":"https://api.github.com/users/globus243/following{/other_user}","gists_url":"https://api.github.com/users/globus243/gists{/gist_id}","starred_url":"https://api.github.com/users/globus243/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/globus243/subscriptions","organizations_url":"https://api.github.com/users/globus243/orgs","repos_url":"https://api.github.com/users/globus243/repos","events_url":"https://api.github.com/users/globus243/events{/privacy}","received_events_url":"https://api.github.com/users/globus243/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-07-31T16:28:02Z","updated_at":"2016-07-31T16:29:33Z","closed_at":null,"body":"When I set the option `AutomaticallyLevelUpPokemon` to `true`, the programm will eventually crash.\r\nIn log i see the message:\r\n```\r\n [18:16:39] System.NullReferenceException: Der Objektverweis wurde nicht auf eine Objektinstanz festgelegt.\r\n   bei PoGo.PokeMobBot.Logic.Tasks.LevelUpPokemonTask.<Execute>d__0.MoveNext() in C:\\Users\\Trent\\Documents\\GitHub\\PokeMobBot\\PoGo.PokeMobBot.Logic\\Tasks\\LevelUpPokemonTask.cs:Zeile 39.\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   bei System.Runtime.CompilerServices.TaskAwaiter.GetResult()\r\n   bei PoGo.PokeMobBot.Logic.State.FarmState.<Execute>d__0.MoveNext() in C:\\Users\\Trent\\Documents\\GitHub\\PokeMobBot\\PoGo.PokeMobBot.Logic\\State\\FarmState.cs:Zeile 26.\r\n--- Ende der Stapelüberwachung vom vorhergehenden Ort, an dem die Ausnahme ausgelöst wurde ---\r\n   bei System.Runtime.CompilerServices.TaskAwaiter.ThrowForNonSuccess(Task task)\r\n   bei System.Runtime.CompilerServices.TaskAwaiter.HandleNonSuccessAndDebuggerNotification(Task task)\r\n   bei System.Runtime.CompilerServices.TaskAwaiter`1.GetResult()\r\n   bei PoGo.PokeMobBot.Logic.State.StateMachine.<Start>d__3.MoveNext() in C:\\Users\\Trent\\Documents\\GitHub\\PokeMobBot\\PoGo.PokeMobBot.Logic\\State\\StateMachine.cs:Zeile 36.\r\n```\r\nThe first line translates to `Object reference not set to an instance of an object`\r\n\r\nSometimes the programm first transfers some pokemon and when it's looking which to level up (i suppose) it crashes with the same message and starts all over mostly resulting in the same crash."},"comment":{"url":"https://api.github.com/repos/PocketMobsters/PokeMobBot/issues/comments/236439857","html_url":"https://github.com/PocketMobsters/PokeMobBot/issues/113#issuecomment-236439857","issue_url":"https://api.github.com/repos/PocketMobsters/PokeMobBot/issues/113","id":236439857,"user":{"login":"globus243","id":6062156,"avatar_url":"https://avatars.githubusercontent.com/u/6062156?v=3","gravatar_id":"","url":"https://api.github.com/users/globus243","html_url":"https://github.com/globus243","followers_url":"https://api.github.com/users/globus243/followers","following_url":"https://api.github.com/users/globus243/following{/other_user}","gists_url":"https://api.github.com/users/globus243/gists{/gist_id}","starred_url":"https://api.github.com/users/globus243/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/globus243/subscriptions","organizations_url":"https://api.github.com/users/globus243/orgs","repos_url":"https://api.github.com/users/globus243/repos","events_url":"https://api.github.com/users/globus243/events{/privacy}","received_events_url":"https://api.github.com/users/globus243/received_events","type":"User","site_admin":false},"created_at":"2016-07-31T16:29:33Z","updated_at":"2016-07-31T16:29:33Z","body":"also. are those pathes `C:\\Users\\Trent\\Documents\\GitHub\\PokeMobBot\\PoGo.PokeMobBot.Logic\\State\\FarmState.cs:Zeile 26.` really correct? my username is not Trent"}}
{"actor":{"display_login":"globus243"}}