{"action":"opened","issue":{"url":"https://api.github.com/repos/QuickBlox/quickblox-android-sdk/issues/544","repository_url":"https://api.github.com/repos/QuickBlox/quickblox-android-sdk","labels_url":"https://api.github.com/repos/QuickBlox/quickblox-android-sdk/issues/544/labels{/name}","comments_url":"https://api.github.com/repos/QuickBlox/quickblox-android-sdk/issues/544/comments","events_url":"https://api.github.com/repos/QuickBlox/quickblox-android-sdk/issues/544/events","html_url":"https://github.com/QuickBlox/quickblox-android-sdk/issues/544","id":297078389,"number":544,"title":"NullPointerException: Attempt to invoke virtual method 'com.quickblox.users.model.QBUser com.quickblox.chat.QBChatService.getUser()' on a null object reference","user":{"login":"Shahjahan786","id":5007881,"avatar_url":"https://avatars2.githubusercontent.com/u/5007881?v=4","gravatar_id":"","url":"https://api.github.com/users/Shahjahan786","html_url":"https://github.com/Shahjahan786","followers_url":"https://api.github.com/users/Shahjahan786/followers","following_url":"https://api.github.com/users/Shahjahan786/following{/other_user}","gists_url":"https://api.github.com/users/Shahjahan786/gists{/gist_id}","starred_url":"https://api.github.com/users/Shahjahan786/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Shahjahan786/subscriptions","organizations_url":"https://api.github.com/users/Shahjahan786/orgs","repos_url":"https://api.github.com/users/Shahjahan786/repos","events_url":"https://api.github.com/users/Shahjahan786/events{/privacy}","received_events_url":"https://api.github.com/users/Shahjahan786/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-02-14T12:28:49Z","updated_at":"2018-02-14T12:28:49Z","closed_at":null,"author_association":"NONE","body":"**Sometimes when my application is in idle chat session is dropped and at that time I get this error\r\nI don't want my session to be dropped.**\r\n\r\n\r\n```\r\n02-14 15:26:15.379 14071-14071/com.nayapay.app E/AndroidRuntime: FATAL EXCEPTION: main\r\n                                                                 Process: com.app, PID: 14071\r\n                                                                 java.lang.NullPointerException: Attempt to invoke virtual method 'com.quickblox.users.model.QBUser com.quickblox.chat.QBChatService.getUser()' on a null object reference\r\n                                                                     at com.quickblox.chat.model.QBChatDialog.getRecipientId(Unknown Source)\r\n                                                                     at com.app.db.models.Dialog.convert(Dialog.java:199)\r\n                                                                     at com.nayapay.app.chat.utils.DialogsManager.showNewMessageNotification(DialogsManager.java:170)\r\n                                                                     at com.app.chat.utils.DialogsManager.showNotification(DialogsManager.java:141)\r\n                                                                     at com.app.chat.utils.DialogsManager.onGlobalMessageReceived(DialogsManager.java:104)\r\n                                                                     at com.app.chat.ui.fragments.ChatDialogListFragment$AllDialogsMessageListener.processMessage(ChatDialogListFragment.java:754)\r\n                                                                     at com.quickblox.chat.QBIncomingMessagesManager$2.run(Unknown Source)\r\n                                                                     at android.os.Handler.handleCallback(Handler.java:751)\r\n                                                                     at android.os.Handler.dispatchMessage(Handler.java:95)\r\n                                                                     at android.os.Looper.loop(Looper.java:154)\r\n                                                                     at android.app.ActivityThread.main(ActivityThread.java:6642)\r\n                                                                     at java.lang.reflect.Method.invoke(Native Method)\r\n                                                                     at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1468)\r\n                                                                     at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1358)\r\n```"}}
{"actor":{"display_login":"Shahjahan786"}}