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 in org.thoughtcrime.securesms.ConversationActivity.initializeResources #3494

Open
adbenitez opened this issue Dec 17, 2024 · 1 comment
Labels

Comments

@adbenitez
Copy link
Member

Exception java.lang.RuntimeException:
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3755)
  at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:3929)
  at android.app.servertransaction.LaunchActivityItem.execute (LaunchActivityItem.java:103)
  at android.app.servertransaction.TransactionExecutor.executeCallbacks (TransactionExecutor.java:135)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:95)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2282)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loopOnce (Looper.java:210)
  at android.os.Looper.loop (Looper.java:299)
  at android.app.ActivityThread.main (ActivityThread.java:8250)
  at java.lang.reflect.Method.invoke
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:556)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1045)
Caused by java.lang.IllegalStateException:
  at org.thoughtcrime.securesms.ConversationActivity.initializeResources (ConversationActivity.java:903)
  at org.thoughtcrime.securesms.ConversationActivity.onCreate (ConversationActivity.java:215)
  at org.thoughtcrime.securesms.PassphraseRequiredActionBarActivity.onCreate (PassphraseRequiredActionBarActivity.java:42)
  at android.app.Activity.performCreate (Activity.java:8238)
  at android.app.Activity.performCreate (Activity.java:8206)
  at android.app.Instrumentation.callActivityOnCreate (Instrumentation.java:1329)
  at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:3728)
@adbenitez adbenitez added the bug label Dec 17, 2024
@adbenitez adbenitez self-assigned this Dec 17, 2024
@adbenitez adbenitez removed their assignment Dec 17, 2024
@adbenitez
Copy link
Member Author

the problem is that CHAT_ID_EXTRA passed to ConversationActivity is 0 not sure how could happen, checked several places where the intent is created and in most places it is checked if the chat id is !=0 and in others it should not be 0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant