DeadObjectException on android app

DeadObjectException – The object you are calling has died because its hosting process no longer exists.

From here:

Does this problem happen every time you debug your project?

Override your service’s onDestroy() method and watch what event flow
leads to it. If you catch DeadObjectException without going through
this method, your service should have been killed by the OS.

As you are using web API in your fragment so sometimes that will send multiple requests on the server and in terms of response, you are getting @null.

W/Binder  (  899): Caught a RuntimeException from the binder stub implementation.
W/Binder  (  899): java.lang.NullPointerException

Leave a Comment