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 on MediaGalleryPreviewActivity: Missing messageId necessary to load images. #5148

Open
matteinn opened this issue Jan 15, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@matteinn
Copy link
Contributor

Describe the bug

Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{REDACTED/io.getstream.chat.android.compose.ui.attachments.preview.MediaGalleryPreviewActivity}: java.lang.IllegalArgumentException: Missing messageId necessary to load images.
       at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3449)
       at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3601)
       at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:85)
       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:2066)
       at android.os.Handler.dispatchMessage(Handler.java:106)
       at android.os.Looper.loop(Looper.java:223)
       at android.app.ActivityThread.main(ActivityThread.java:7656)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:947)

SDK version

  • 6.0.10

To Reproduce
Steps to reproduce the behavior: unknown, but I have a feeling it happens when opening the media gallery

Expected behavior
No crash happens

Device:

  • Vendor and model: Google Nexus 5X only, apparently
  • Android version: 8 and 11 only, apparently

Screenshots

Screenshot 2024-01-15 at 13 56 58

@matteinn matteinn added the bug Something isn't working label Jan 15, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant