Skip to content
New issue

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

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

Already on GitHub? # to your account

Crash on MediaGalleryPreviewActivity: Missing messageId necessary to load images. #5148

Open
matteinn opened this issue Jan 15, 2024 · 2 comments · Fixed by #5387
Open

Crash on MediaGalleryPreviewActivity: Missing messageId necessary to load images. #5148

matteinn opened this issue Jan 15, 2024 · 2 comments · Fixed by #5387
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
@kanat kanat linked a pull request Aug 29, 2024 that will close this issue
16 tasks
@kanat
Copy link
Collaborator

kanat commented Sep 25, 2024

Hey @matteinn,

Could you please check if it still replicates for you on v6.5.0?

@kanat kanat added the waiting for response Further information is requested label Sep 25, 2024
@matteinn
Copy link
Contributor Author

Hello! I confirm this is still happening at scale with 6.5.0, I can't reproduce on my own though

@github-actions github-actions bot removed the waiting for response Further information is requested label Sep 25, 2024
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
bug Something isn't working
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants