{"action":"created","issue":{"url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/690","repository_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java","labels_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/690/labels{/name}","comments_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/690/comments","events_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/690/events","html_url":"https://github.com/Grover-c13/PokeGOAPI-Java/issues/690","id":173591432,"number":690,"title":"NPE when requesting currency player doesn't have","user":{"login":"gegy1000","id":5172118,"avatar_url":"https://avatars.githubusercontent.com/u/5172118?v=3","gravatar_id":"","url":"https://api.github.com/users/gegy1000","html_url":"https://github.com/gegy1000","followers_url":"https://api.github.com/users/gegy1000/followers","following_url":"https://api.github.com/users/gegy1000/following{/other_user}","gists_url":"https://api.github.com/users/gegy1000/gists{/gist_id}","starred_url":"https://api.github.com/users/gegy1000/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gegy1000/subscriptions","organizations_url":"https://api.github.com/users/gegy1000/orgs","repos_url":"https://api.github.com/users/gegy1000/repos","events_url":"https://api.github.com/users/gegy1000/events{/privacy}","received_events_url":"https://api.github.com/users/gegy1000/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-08-27T11:18:56Z","updated_at":"2016-08-29T12:58:23Z","closed_at":"2016-08-29T12:58:23Z","body":"**Description:**\r\nIf the currencies map in PlayerProfile does not contain an amount for a certain currency, when it is requested via getCurrency a NPE is thrown.\r\n\r\n**Stacktrace:**\r\njava.lang.NullPointerException\r\n\tat com.pokegoapi.api.player.PlayerProfile.getCurrency(PlayerProfile.java:217)\r\n\r\n**Version:**\r\nDevelopment branch of 8/27/16"},"comment":{"url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/comments/243116601","html_url":"https://github.com/Grover-c13/PokeGOAPI-Java/issues/690#issuecomment-243116601","issue_url":"https://api.github.com/repos/Grover-c13/PokeGOAPI-Java/issues/690","id":243116601,"user":{"login":"LoungeKatt","id":1173913,"avatar_url":"https://avatars.githubusercontent.com/u/1173913?v=3","gravatar_id":"","url":"https://api.github.com/users/LoungeKatt","html_url":"https://github.com/LoungeKatt","followers_url":"https://api.github.com/users/LoungeKatt/followers","following_url":"https://api.github.com/users/LoungeKatt/following{/other_user}","gists_url":"https://api.github.com/users/LoungeKatt/gists{/gist_id}","starred_url":"https://api.github.com/users/LoungeKatt/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/LoungeKatt/subscriptions","organizations_url":"https://api.github.com/users/LoungeKatt/orgs","repos_url":"https://api.github.com/users/LoungeKatt/repos","events_url":"https://api.github.com/users/LoungeKatt/events{/privacy}","received_events_url":"https://api.github.com/users/LoungeKatt/received_events","type":"User","site_admin":false},"created_at":"2016-08-29T12:58:22Z","updated_at":"2016-08-29T12:58:22Z","body":"The line number provided is https://github.com/Grover-c13/PokeGOAPI-Java/blob/Development/library/src/main/java/com/pokegoapi/api/player/PlayerProfile.java#L217 which is currently unrelated to currency. I am assuming this is no longer an issue. If you find it is, please reopen it with the current error and line number so it can be revisited."}}
{"actor":{"display_login":"LoungeKatt"}}