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

Handler null looper #2367

Merged
merged 1 commit into from
Apr 20, 2022
Merged

Handler null looper #2367

merged 1 commit into from
Apr 20, 2022

Conversation

pyricau
Copy link
Member

@pyricau pyricau commented Apr 20, 2022

Instrumentation test failed due to uncaught exception in thread [plumber-android-leaks]:
java.lang.NullPointerException: Attempt to read from field 'android.os.MessageQueue android.os.Looper.mQueue' on a null object reference
	at android.os.Handler.(Handler.java:234)
	at android.os.Handler.(Handler.java:141)
	at leakcanary.AndroidLeakFixes$FLUSH_HANDLER_THREADS$apply$flushNewHandlerThread$1.run(AndroidLeakFixes.kt:177)
	at android.os.Handler.handleCallback(Handler.java:873)
	at android.os.Handler.dispatchMessage(Handler.java:99)
	at android.os.Looper.loop(Looper.java:193)
	at android.os.HandlerThread.run(HandlerThread.java:65)

@pyricau pyricau merged commit cacd5b3 into main Apr 20, 2022
@pyricau pyricau deleted the py/looper_null branch April 20, 2022 13:14
@pyricau pyricau added this to the 2.9 milestone Apr 20, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant