Skip to content

bug: TnG eWallet crashes with DeadObjectException upon accessing NFC Card Detection screen #819

@CincaiLa

Description

@CincaiLa

Issue type

Feature not working as intended

Device

- POCO X3 (NFC)

crDroid version

crDroid 12

Exact version / Build date

12.2/2025-11-04

Bug description

TnG eWallet crashes with DeadObjectException whenever the application tries to access or activate the NFC feature (setting reader mode).

Steps to reproduce

  1. Ensure NFC is turned ON in system settings.

  2. Open the Touch 'n Go eWallet application (Package: my.com.tngdigital.ewallet).

  3. Navigate to the TnG NFC Card List screen (The screen that uses NFC Reader Mode).

  4. The application crashes when using NFC to detect a card.

Relevant log (logcat/build log)

time: 1762507941568
msg: android.os.DeadObjectException: android.os.DeadObjectException
stacktrace: java.lang.RuntimeException: Unable to resume activity {my.com.tngdigital.ewallet/my.com.tngdigital.transportation.card.ui.list.Ev2CardListActivity}: java.lang.RuntimeException: android.os.DeadObjectException
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5622)
	at android.app.ActivityThread.handleResumeActivity(ActivityThread.java:5655)
	at android.app.servertransaction.ResumeActivityItem.execute(ResumeActivityItem.java:73)
	at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:63)
	at android.app.servertransaction.TransactionExecutor.executeLifecycleItem(TransactionExecutor.java:169)
	at android.app.servertransaction.TransactionExecutor.executeTransactionItems(TransactionExecutor.java:101)
	at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:80)
	at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2830)
	at android.os.Handler.dispatchMessage(Handler.java:110)
	at android.os.Looper.loopOnce(Looper.java:248)
	at android.os.Looper.loop(Looper.java:338)
	at android.app.ActivityThread.main(ActivityThread.java:9079)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:596)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:932)
Caused by: java.lang.RuntimeException: android.os.DeadObjectException
	at android.nfc.NfcAdapter.attemptDeadServiceRecovery(NfcAdapter.java:1021)
	at android.nfc.NfcAdapter.callService(NfcAdapter.java:2596)
	at android.nfc.NfcActivityManager.setReaderMode(NfcActivityManager.java:188)
	at android.nfc.NfcActivityManager.onActivityResumed(NfcActivityManager.java:250)
	at android.app.Application.dispatchActivityResumed(Application.java:431)
	at android.app.Activity.dispatchActivityResumed(Activity.java:1646)
	at android.app.Activity.onResume(Activity.java:2228)
	at androidx.fragment.app.FragmentActivity.onResume(FragmentActivity.java:4)
	at my.com.tngdigital.common.view.BaseActivity.onResume(BaseActivity.kt:1)
	at android.app.Instrumentation.callActivityOnResume(Instrumentation.java:1721)
	at android.app.Activity.performResume(Activity.java:9315)
	at android.app.ActivityThread.performResumeActivity(ActivityThread.java:5612)
	... 14 more
Caused by: android.os.DeadObjectException
	at android.os.BinderProxy.transactNative(Native Method)
	at android.os.BinderProxy.transact(BinderProxy.java:592)
	at android.nfc.INfcAdapter$Stub$Proxy.setReaderMode(INfcAdapter.java:1408)
	at android.nfc.NfcActivityManager.lambda$setReaderMode$0(NfcActivityManager.java:188)
	at android.nfc.NfcActivityManager.$r8$lambda$krSWHo-jOsngSRB_31LgKqxiBIw(Unknown Source:0)
	at android.nfc.NfcActivityManager$$ExternalSyntheticLambda1.call(D8$$SyntheticClass:0)
	at android.nfc.NfcAdapter.callService(NfcAdapter.java:2594)
	... 24 more

Screenshots or videos

No response

Solution

No response

Additional context

  1. The issue is specific to the current CRDroid 12 version. This crash did not occur on the previous version, CRDroid 11 on the same device.
  2. Using Google Pay/Wallet's NFC feature works perfectly fine without any crashes or service failures.

Acknowledgements

  • I've checked device is officially supported and that no support is provided for unofficial devices (for device specific reports and not source related).
  • I'm running latest version available on crdroid.net for this device and that the device is still maintainer supported (not flagged unsupported on download page)
  • I have searched the existing issues and this is a new and no duplicate or related to another open issue.
  • I have written a short but informative title.
  • I filled out all of the requested information in this issue properly and understand that not doing so will automatically result in closing of ticket.

Metadata

Metadata

Assignees

Labels

bugSomething isn't workingneeds-more-infoFurther information is requested

Type

No type

Projects

Status

Done

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions