Skip to content

sending message to a Handler on a dead thread #1

Description

@TigerWolf

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");

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions