Questions tagged [deadobjectexception]

The Android exception thrown when the object being called has died. The tag MUST BE USED ONLY with the Android tag.

DeadObjectException is the Android exception thrown when the object being called has died. The Android system throws the exception when the object's hosting process no longer exists.

This tag MUST BE USED ONLY with the tag.

Resources

Documentation

12 questions
7
votes
1 answer

Android throw DeadObjectException: Transaction failed on small parcel; remote process probably died just in HUAWEI Android 8.0.0

1804-11 09:43:24.482 22968 22968 E CrashHandler: In thread: Thread[main,5,main] 1904-11 09:43:24.482 22968 22968 E CrashHandler: UncaughtException detected: java.lang.IllegalStateException: Failure reading AssistStructure data:…
5
votes
2 answers

What are the possible reasons for NFC Service to become dead after some time?

We are using NFC tags as parking tickets for entry and exit. On each entry, the tag is written with some data and at the exit that data verifies the exit of the vehicle. After entry and exit of some vehicles, the NfcService becomes dead, and the…
5
votes
1 answer

GetPackageInfo results in DeadObjectException

I have the following code snippet: public static String getAppVersion(Context context) { String versionName = null; try { versionName = context.getPackageManager().getPackageInfo(context.getPackageName(),…
Keselme
  • 3,779
  • 7
  • 36
  • 68
3
votes
0 answers

Android Glide library LicenseCheckError/DeadObjectException

Recently we started to get crashes (Firebase Crashlytics) that appear to be originating from Glide, we could not find any visible reason in our app that causes it and the stack trace points to Glide. please have a look at the attached…
Yosef
  • 1,161
  • 15
  • 18
3
votes
0 answers

NFC DeadObjectException when onResume is called

I developed an application Android that detect NFC card then it open IsoDep connection with it to send APDU and get response. When application detect the NFC card it open a work session, I created a thread that every 500 ms check the isoDep…
dhouh548
  • 31
  • 1
3
votes
1 answer

Binder runtime exception in android

i developed android app its in play store. I am getting binder error from lot of user i don't know how to solve. Can some one can help me on that. This is my log. I am useing google play service and also using pro-guard. Fatal Exception:…
Ganesh P
  • 196
  • 1
  • 14
2
votes
0 answers

ActivityResultContracts.CaptureVideo() crashing with DeadObjectExceptions on API 33?

I'm trying to use ActivityResultContracts.CaptureVideo(), but when I run it on API 33, it's crashing with this stacktrace: > 2022-09-19 20:32:02.047 577-601/system_process W/WindowManager: Exception thrown during dispatchAppVisibility…
1
vote
1 answer

Ble GattServer DeadObject exception when bluetooth on/off

My gattServer advertise some data with paired bluetooth device and I run this gattServer with service.Everthing is well with Bluetooth state on but I turned off bluetooth and on again throw exception this line …
0
votes
0 answers

DeadObjectException only on Android 10

I'm developing an app for smartphone/tablet for Android version from 9 to 12 (at the moment). For version 9, 11 and 12 everything is fine, no particular problem at all. I tried my app on Android 10 and when it switch from the splash screen to the…
Lubron
  • 35
  • 2
  • 15
0
votes
0 answers

Android bluetooth: DeadObjectException in BLE callback onNotify

We are using a ble device that has a noticeable characteristic, and we use the EnableNotification to get data through the callback. We implemented a queue of commands, and we reach a state in which we do not issue any more commands, we instead only…
0
votes
1 answer

NFC Reader is not reading NFC tag continuously in android

I am using below sample code to read NFC tag, but it is not reading tag multiple time(sometimes it's reading for 3 time, some time it is reading 6-7 time). In my application I need to read nfc tag continuously. https://github.com/andijakl/NfcDemo
0
votes
1 answer

UdpClient.Close() throwing android.os.DeadObjectException in Unity (with IL2CPP)

I switched my Unity project from MONO to IL2CPP. Then it began to crash. I found the source of the bug - calling UdpClient.Close() function. This causes Android builds to freeze + crash. The log cat logs shows the following: storaged: getDiskStats…