{"action":"created","issue":{"url":"https://api.github.com/repos/kontalk/androidclient/issues/385","labels_url":"https://api.github.com/repos/kontalk/androidclient/issues/385/labels{/name}","comments_url":"https://api.github.com/repos/kontalk/androidclient/issues/385/comments","events_url":"https://api.github.com/repos/kontalk/androidclient/issues/385/events","html_url":"https://github.com/kontalk/androidclient/issues/385","id":67305475,"number":385,"title":"Crash on opening unknown contact","user":{"login":"daniele-athome","id":3763726,"avatar_url":"https://avatars.githubusercontent.com/u/3763726?v=3","gravatar_id":"","url":"https://api.github.com/users/daniele-athome","html_url":"https://github.com/daniele-athome","followers_url":"https://api.github.com/users/daniele-athome/followers","following_url":"https://api.github.com/users/daniele-athome/following{/other_user}","gists_url":"https://api.github.com/users/daniele-athome/gists{/gist_id}","starred_url":"https://api.github.com/users/daniele-athome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniele-athome/subscriptions","organizations_url":"https://api.github.com/users/daniele-athome/orgs","repos_url":"https://api.github.com/users/daniele-athome/repos","events_url":"https://api.github.com/users/daniele-athome/events{/privacy}","received_events_url":"https://api.github.com/users/daniele-athome/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/kontalk/androidclient/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/kontalk/androidclient/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":{"login":"daniele-athome","id":3763726,"avatar_url":"https://avatars.githubusercontent.com/u/3763726?v=3","gravatar_id":"","url":"https://api.github.com/users/daniele-athome","html_url":"https://github.com/daniele-athome","followers_url":"https://api.github.com/users/daniele-athome/followers","following_url":"https://api.github.com/users/daniele-athome/following{/other_user}","gists_url":"https://api.github.com/users/daniele-athome/gists{/gist_id}","starred_url":"https://api.github.com/users/daniele-athome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniele-athome/subscriptions","organizations_url":"https://api.github.com/users/daniele-athome/orgs","repos_url":"https://api.github.com/users/daniele-athome/repos","events_url":"https://api.github.com/users/daniele-athome/events{/privacy}","received_events_url":"https://api.github.com/users/daniele-athome/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/kontalk/androidclient/milestones/25","html_url":"https://github.com/kontalk/androidclient/milestones/3.0-rc3","labels_url":"https://api.github.com/repos/kontalk/androidclient/milestones/25/labels","id":1042203,"number":25,"title":"3.0-rc3","description":"Third XMPP release candidate. More bug fixing and UI improvements from user feedback.","creator":{"login":"daniele-athome","id":3763726,"avatar_url":"https://avatars.githubusercontent.com/u/3763726?v=3","gravatar_id":"","url":"https://api.github.com/users/daniele-athome","html_url":"https://github.com/daniele-athome","followers_url":"https://api.github.com/users/daniele-athome/followers","following_url":"https://api.github.com/users/daniele-athome/following{/other_user}","gists_url":"https://api.github.com/users/daniele-athome/gists{/gist_id}","starred_url":"https://api.github.com/users/daniele-athome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniele-athome/subscriptions","organizations_url":"https://api.github.com/users/daniele-athome/orgs","repos_url":"https://api.github.com/users/daniele-athome/repos","events_url":"https://api.github.com/users/daniele-athome/events{/privacy}","received_events_url":"https://api.github.com/users/daniele-athome/received_events","type":"User","site_admin":false},"open_issues":4,"closed_issues":12,"state":"open","created_at":"2015-03-27T19:04:07Z","updated_at":"2015-04-20T20:00:22Z","due_on":"2015-04-20T22:00:00Z","closed_at":null},"comments":1,"created_at":"2015-04-09T08:15:24Z","updated_at":"2015-04-20T20:00:22Z","closed_at":"2015-04-20T20:00:22Z","body":"Trying to carry out this intent (resuming compose activity):\r\n\r\n```\r\nI/ActivityManager(962): START u0 {act=android.intent.action.VIEW dat=content://com.android.contacts/data/4679 flg=0x10100000 cmp=org.kontalk/.ui.ComposeMessage} from uid 10006 on display 0\r\n```\r\n\r\nresulted in this crash:\r\n\r\n```\r\njava.lang.RuntimeException: Unable to start activity ComponentInfo{org.kontalk/org.kontalk.ui.ComposeMessage}: java.lang.NullPointerException: key == null\r\n     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2314)\r\n     at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2388)\r\n     at android.app.ActivityThread.access$800(ActivityThread.java:148)\r\n     at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1292)\r\n     at android.os.Handler.dispatchMessage(Handler.java:102)\r\n     at android.os.Looper.loop(Looper.java:135)\r\n     at android.app.ActivityThread.main(ActivityThread.java:5312)\r\n     at java.lang.reflect.Method.invoke(Native Method)\r\n     at java.lang.reflect.Method.invoke(Method.java:372)\r\n     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:901)\r\n     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:696)\r\nCaused by: java.lang.NullPointerException: key == null\r\n     at android.support.v4.util.LruCache.get(LruCache.java:79)\r\n     at org.kontalk.data.Contact$ContactCache.get(Contact.java:117)\r\n     at org.kontalk.data.Contact.findByUserId(Contact.java:319)\r\n     at org.kontalk.data.Conversation.loadContact(Conversation.java:140)\r\n     at org.kontalk.data.Conversation.setRecipient(Conversation.java:174)\r\n     at org.kontalk.ui.ComposeMessageFragment.processArguments(ComposeMessageFragment.java:1528)\r\n     at org.kontalk.ui.ComposeMessageFragment.onActivityCreated(ComposeMessageFragment.java:388)\r\n     at android.support.v4.app.Fragment.performActivityCreated(Fragment.java:1794)\r\n     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:967)\r\n     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1126)\r\n     at android.support.v4.app.FragmentManagerImpl.moveToState(FragmentManager.java:1108)\r\n     at android.support.v4.app.FragmentManagerImpl.dispatchActivityCreated(FragmentManager.java:1917)\r\n     at android.support.v4.app.FragmentActivity.onStart(FragmentActivity.java:544)\r\n     at android.app.Instrumentation.callActivityOnStart(Instrumentation.java:1243)\r\n     at android.app.Activity.performStart(Activity.java:5969)\r\n     at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2277)\r\n     ... 10 more\r\n```"},"comment":{"url":"https://api.github.com/repos/kontalk/androidclient/issues/comments/94554007","html_url":"https://github.com/kontalk/androidclient/issues/385#issuecomment-94554007","issue_url":"https://api.github.com/repos/kontalk/androidclient/issues/385","id":94554007,"user":{"login":"daniele-athome","id":3763726,"avatar_url":"https://avatars.githubusercontent.com/u/3763726?v=3","gravatar_id":"","url":"https://api.github.com/users/daniele-athome","html_url":"https://github.com/daniele-athome","followers_url":"https://api.github.com/users/daniele-athome/followers","following_url":"https://api.github.com/users/daniele-athome/following{/other_user}","gists_url":"https://api.github.com/users/daniele-athome/gists{/gist_id}","starred_url":"https://api.github.com/users/daniele-athome/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/daniele-athome/subscriptions","organizations_url":"https://api.github.com/users/daniele-athome/orgs","repos_url":"https://api.github.com/users/daniele-athome/repos","events_url":"https://api.github.com/users/daniele-athome/events{/privacy}","received_events_url":"https://api.github.com/users/daniele-athome/received_events","type":"User","site_admin":false},"created_at":"2015-04-20T20:00:22Z","updated_at":"2015-04-20T20:00:22Z","body":"Unable to reproduce. Closing for now."}}