Skip to content
This repository has been archived by the owner on Nov 1, 2022. It is now read-only.

ArithmeticException: divide by zero in Download notification #8190

Closed
csadilek opened this issue Aug 21, 2020 · 1 comment
Closed

ArithmeticException: divide by zero in Download notification #8190

csadilek opened this issue Aug 21, 2020 · 1 comment
Assignees
Labels
🐞 bug Something isn't working 💥 crash <download> Component: feature-download E2 Estimation points: 2
Milestone

Comments

@csadilek
Copy link
Contributor

csadilek commented Aug 21, 2020

Sentry: https://sentry.prod.mozaws.net/operations/firefox/issues/9300646/?query=is%3Aunresolved%20divide

java.lang.ArithmeticException: divide by zero
    at androidx.core.app.AppOpsManagerCompat.getProgress(AppOpsManagerCompat.java:3)
    at mozilla.components.feature.downloads.DownloadNotification.createDownloadGroupNotification$feature_downloads_release(DownloadNotification.kt:18)
    at mozilla.components.feature.downloads.AbstractFetchDownloadService.updateNotificationGroup$feature_downloads_release(AbstractFetchDownloadService.kt:3)
    at mozilla.components.feature.downloads.AbstractFetchDownloadService.updateForegroundNotificationIfNeeded$feature_downloads_release(AbstractFetchDownloadService.kt:11)
    at mozilla.components.feature.downloads.AbstractFetchDownloadService.access$updateDownloadNotification(AbstractFetchDownloadService.kt:4)
    at mozilla.components.feature.downloads.AbstractFetchDownloadService$onStartCommand$2.invokeSuspend(AbstractFetchDownloadService.kt:7)
    at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(ContinuationImpl.kt:3)
    at kotlinx.coroutines.AwaitKt.resume(Await.kt:11)
    at kotlinx.coroutines.CancellableContinuationImpl.dispatchResume(CancellableContinuationImpl.kt:18)
    at kotlinx.coroutines.CancellableContinuationImpl.resumeImpl(CancellableContinuationImpl.kt:5)
    at kotlinx.coroutines.CancellableContinuationImpl.resumeUndispatched(CancellableContinuationImpl.kt:2)
    at kotlinx.coroutines.android.HandlerContext$scheduleResumeAfterDelay$$inlined$Runnable$1.run(Runnable.kt:1)
    at android.os.Handler.handleCallback(Handler.java:873)
    at android.os.Handler.dispatchMessage(Handler.java:99)
    at android.os.Looper.loop(Looper.java:226)
    at android.app.ActivityThread.main(ActivityThread.java:7212)
    at java.lang.reflect.Method.invoke(Method.java)
    at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:576)
    at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:956)

┆Issue is synchronized with this Jira Task

@csadilek csadilek added 🐞 bug Something isn't working <download> Component: feature-download 💥 crash labels Aug 21, 2020
@Amejia481 Amejia481 self-assigned this Aug 21, 2020
Amejia481 added a commit to Amejia481/android-components that referenced this issue Aug 21, 2020
@Amejia481 Amejia481 added the E2 Estimation points: 2 label Aug 24, 2020
Amejia481 added a commit to Amejia481/android-components that referenced this issue Aug 28, 2020
Amejia481 added a commit to Amejia481/android-components that referenced this issue Sep 1, 2020
bors bot pushed a commit that referenced this issue Sep 8, 2020
8191: Closes issue #8190 ArithmeticException: divide by zero in Download notification r=csadilek a=Amejia481




Co-authored-by: Arturo Mejia <[email protected]>
@Amejia481 Amejia481 added this to the 58.0.0 🌽 milestone Sep 8, 2020
@Amejia481
Copy link
Contributor

Closed by #8191

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
🐞 bug Something isn't working 💥 crash <download> Component: feature-download E2 Estimation points: 2
Projects
None yet
Development

No branches or pull requests

2 participants