{"action":"opened","issue":{"url":"https://api.github.com/repos/OrdonTeam/Hanabi/issues/6","labels_url":"https://api.github.com/repos/OrdonTeam/Hanabi/issues/6/labels{/name}","comments_url":"https://api.github.com/repos/OrdonTeam/Hanabi/issues/6/comments","events_url":"https://api.github.com/repos/OrdonTeam/Hanabi/issues/6/events","html_url":"https://github.com/OrdonTeam/Hanabi/issues/6","id":53332315,"number":6,"title":"NPE after returning to started game from home button","user":{"login":"ghostbuster91","id":5662622,"avatar_url":"https://avatars.githubusercontent.com/u/5662622?v=3","gravatar_id":"","url":"https://api.github.com/users/ghostbuster91","html_url":"https://github.com/ghostbuster91","followers_url":"https://api.github.com/users/ghostbuster91/followers","following_url":"https://api.github.com/users/ghostbuster91/following{/other_user}","gists_url":"https://api.github.com/users/ghostbuster91/gists{/gist_id}","starred_url":"https://api.github.com/users/ghostbuster91/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ghostbuster91/subscriptions","organizations_url":"https://api.github.com/users/ghostbuster91/orgs","repos_url":"https://api.github.com/users/ghostbuster91/repos","events_url":"https://api.github.com/users/ghostbuster91/events{/privacy}","received_events_url":"https://api.github.com/users/ghostbuster91/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-01-04T10:29:34Z","updated_at":"2015-01-04T10:29:34Z","closed_at":null,"body":"How to reproduce:\r\n1.start app\r\n2.start game\r\n3.when will be not your turn click home button ( this could be in player's turn too )\r\n4.return to the game\r\n\r\n\r\nstacktrace:\r\n//java.lang.NullPointerException: Attempt to invoke interface method 'java.util.ArrayList com.google.android.gms.games.multiplayer.turnbased.TurnBasedMatch.getParticipantIds()' on a null object reference\r\n//at com.ordonteam.hanabi.activity.GameActivity.getPlayersNumber(GameActivity.groovy:105)\r\n//at com.ordonteam.hanabi.activity.GameActivity.initiateMatchResult(GameActivity.groovy:96)\r\n//at java.lang.reflect.Method.invoke(Native Method)\r\n//at java.lang.reflect.Method.invoke(Method.java:372)\r\n//at org.codehaus.groovy.reflection.CachedMethod.invoke(CachedMethod.java:90)\r\n//at groovy.lang.MetaMethod.doMethodInvoke(MetaMethod.java:324)\r\n//at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1208)\r\n//at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1075)\r\n//at groovy.lang.MetaClassImpl.invokeMethod(MetaClassImpl.java:1017)\r\n//at groovy.lang.Closure.call(Closure.java:423)\r\n//at org.codehaus.groovy.runtime.ConvertedClosure.invokeCustom(ConvertedClosure.java:51)\r\n//at org.codehaus.groovy.runtime.ConversionHandler.invoke(ConversionHandler.java:103)"}}