Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Crash after process restored #55

Open
lion4ik opened this issue Feb 27, 2018 · 0 comments
Open

Crash after process restored #55

lion4ik opened this issue Feb 27, 2018 · 0 comments

Comments

@lion4ik
Copy link

lion4ik commented Feb 27, 2018

Hi, we have a crash related to android process restoration.

  1. set in developer options 'No background process limit'
  2. If we open ConversationActivity (child from this) then press circle button on the device.
  3. open it again and got a crash:

Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.content.Context.getApplicationContext()' on a null object reference at android.support.v4.content.LocalBroadcastManager.getInstance(LocalBroadcastManager.java:106) at com.liveperson.infra.LocalBroadcastReceiver$LPBroadcastReceiver.<init>(LocalBroadcastReceiver.java:76) at com.liveperson.infra.LocalBroadcastReceiver.<init>(LocalBroadcastReceiver.java:48) at com.liveperson.infra.LocalBroadcastReceiver.<init>(LocalBroadcastReceiver.java:15) at com.liveperson.infra.LocalBroadcastReceiver$Builder.build(LocalBroadcastReceiver.java:68) at com.liveperson.infra.messaging_ui.toolbar.ConversationToolBar.initAgentTypingReceiver(ConversationToolBar.java:112) at com.liveperson.infra.messaging_ui.toolbar.ConversationToolBar.initReceivers(ConversationToolBar.java:100) at com.liveperson.infra.messaging_ui.toolbar.ConversationToolBar.registerReceivers(ConversationToolBar.java:141) at com.liveperson.infra.messaging_ui.toolbar.ConversationToolBar.onResume(ConversationToolBar.java:72) at com.liveperson.infra.messaging_ui.toolbar.ConversationToolBar.onInitCompleted(ConversationToolBar.java:91) at com.liveperson.infra.messaging_ui.ConversationActivity.initToolbar(ConversationActivity.java:117) at com.liveperson.infra.messaging_ui.ConversationActivity.onCreate(ConversationActivity.java:68)

@lion4ik lion4ik changed the title Crash after process restoration Crash after process restored Feb 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant