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

NullPointerException: Attempt to invoke virtual method 'boolean android.os.Handler.postDelayed(java.lang.Runnable, long... #20276

Open
sentry-io bot opened this issue Feb 23, 2024 · 2 comments

Comments

@sentry-io
Copy link

sentry-io bot commented Feb 23, 2024

Sentry Issue: WORDPRESS-ANDROID-2VFS

NullPointerException: Attempt to invoke virtual method 'boolean android.os.Handler.postDelayed(java.lang.Runnable, long)' on a null object reference
    at androidx.work.impl.DefaultRunnableScheduler.scheduleWithDelay(DefaultRunnableScheduler.java:55)
    at androidx.work.impl.background.greedy.DelayedWorkTracker.schedule(DelayedWorkTracker.java:82)
    at androidx.work.impl.background.greedy.GreedyScheduler.schedule(GreedyScheduler.java:138)
    at androidx.work.impl.Schedulers.schedule(Schedulers.java:119)
    at androidx.work.impl.WorkerWrapper.onWorkFinished(WorkerWrapper.java:379)
...
(5 additional frame(s) were not displayed)
@dangermattic
Copy link
Collaborator

Thanks for reporting! 👍

@RenanLukas
Copy link
Contributor

I couldn't figure out the exact screen/feature because the stack trace doesn't have anything we can use. According to the breadcrumbs this happened while UploadWorker was running, but Handler.postDelayed is used in more than 20 places in our project.

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

No branches or pull requests

2 participants