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

[BetterMediaViewer] [Bug] Crash issue caused by 2 things #31

Open
K4dzu opened this issue Jan 26, 2022 · 1 comment
Open

[BetterMediaViewer] [Bug] Crash issue caused by 2 things #31

K4dzu opened this issue Jan 26, 2022 · 1 comment
Assignees
Labels
bug Something isn't working

Comments

@K4dzu
Copy link

K4dzu commented Jan 26, 2022

If you start multiple downloads and one finishes while others are downloading, aliucord crashes
Another case is when you are watching a video while you started a download, if the download finishes while you are watching the video, aliucord crashes
Sending 2 crashlogs for the respective crashes

java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.aliucord (has extras) } in com.aliucord.plugins.bettermediaviewer.Patches$patchWidget$1$1$1$1$receiver$1@e007031 at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1590) at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run(Unknown Source:2) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:236) at android.app.ActivityThread.main(ActivityThread.java:7864) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011) Caused by: java.lang.IllegalArgumentException: Receiver not registered: com.aliucord.plugins.bettermediaviewer.Patches$patchWidget$1$1$1$1$receiver$1@e007031 at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1457) at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1652) at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:726) at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:726) at com.aliucord.plugins.bettermediaviewer.Patches$patchWidget$1$1$1$1$receiver$1.onReceive(Patches.kt:64) at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1580) ... 8 more

java.lang.RuntimeException: Error receiving broadcast Intent { act=android.intent.action.DOWNLOAD_COMPLETE flg=0x10 pkg=com.aliucord (has extras) } in com.aliucord.plugins.bettermediaviewer.Patches$patchWidget$1$1$1$1$receiver$1@3e48ae2 at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1590) at android.app.-$$Lambda$LoadedApk$ReceiverDispatcher$Args$_BumDX2UKsnxLVrE6UJsJZkotuA.run(Unknown Source:2) at android.os.Handler.handleCallback(Handler.java:938) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:236) at android.app.ActivityThread.main(ActivityThread.java:7864) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:620) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1011) Caused by: java.lang.IllegalArgumentException: Receiver not registered: com.aliucord.plugins.bettermediaviewer.Patches$patchWidget$1$1$1$1$receiver$1@3e48ae2 at android.app.LoadedApk.forgetReceiverDispatcher(LoadedApk.java:1457) at android.app.ContextImpl.unregisterReceiver(ContextImpl.java:1652) at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:726) at android.content.ContextWrapper.unregisterReceiver(ContextWrapper.java:726) at com.aliucord.plugins.bettermediaviewer.Patches$patchWidget$1$1$1$1$receiver$1.onReceive(Patches.kt:64) at android.app.LoadedApk$ReceiverDispatcher$Args.lambda$getRunnable$0$LoadedApk$ReceiverDispatcher$Args(LoadedApk.java:1580) ... 8 more

@K4dzu K4dzu changed the title [BetterMediaViewer] Crash issue caused by 2 things [BetterMediaViewer] [Bug] Crash issue caused by 2 things Jan 26, 2022
@K4dzu
Copy link
Author

K4dzu commented Jan 28, 2022

The 2nd case seems to not only extend to videos – it seems to also affect viewing any image in focus or whatever it's called

@zt64 zt64 self-assigned this Jan 29, 2022
@zt64 zt64 added the bug Something isn't working label Jan 29, 2022
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

2 participants