You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Press Home/Back on phone (app moves to background)
Cancel the transaction on the reader
Return to the app
Start a new checkout → crash (NPE in CardReaderPaymentAPIDrivenPageActivity.onResume)
Video / Screenshot
N/A — crash log above; happy to provide a screen recording of the repro steps if helpful.
Other Information
The sticky-event mechanism is visible in the stack trace: EventBus.checkPostStickyEventToSubscription → the subscriber is invoked immediately upon register() in onResume(), before any state for the new checkout exists.
Possibly related to [BUG] Random Crash on android 15 #264, which shows the same NPE signature (CardReaderPaymentFlowState.addScreens on null) via a different trigger — in our case it is 100% reproducible with the steps above: background the app mid-transaction, cancel on the reader, then start a new checkout.
Dependency Versions
com.sumup:merchant-sdk)Steps to reproduce
CardReaderPaymentAPIDrivenPageActivity.onResume)Video / Screenshot
N/A — crash log above; happy to provide a screen recording of the repro steps if helpful.
Other Information
EventBus.checkPostStickyEventToSubscription→ the subscriber is invoked immediately uponregister()inonResume(), before any state for the new checkout exists.CardReaderPaymentFlowState.addScreenson null) via a different trigger — in our case it is 100% reproducible with the steps above: background the app mid-transaction, cancel on the reader, then start a new checkout.