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

sending message to a Handler on a dead thread #1

Open
TigerWolf opened this issue Aug 14, 2014 · 0 comments
Open

sending message to a Handler on a dead thread #1

TigerWolf opened this issue Aug 14, 2014 · 0 comments

Comments

@TigerWolf
Copy link

https://github.com/learning-android/Yamba-4/blob/master/src/com/marakana/android/yamba/RefreshService.java#L40

The above line of code will cause an error:

W/MessageQueue﹕ Handler (android.os.Handler) {529a2ee0} sending message to a Handler on a dead thread
    java.lang.RuntimeException: Handler (android.os.Handler) {529a2ee0} sending message to a Handler on a dead thread

if the username and password are empty.

I updated the code with:
Log.d(TAG, "please update your username and password");

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

No branches or pull requests

1 participant