Skip to content

Fatal Crash in GoSellPaymentActivity – NullPointerException on SessionDelegate #49

@HarendraBytes

Description

@HarendraBytes

We are experiencing a runtime crash when attempting to start the GoSellPaymentActivity from the Tap GoSell SDK.

Crash Details:

Fatal Exception: java.lang.RuntimeException
Unable to start activity ComponentInfo{com.app.petzone/company.tap.gosellapi.internal.activities.GoSellPaymentActivity}:
java.lang.NullPointerException: Attempt to invoke interface method
'void company.tap.gosellapi.open.delegate.SessionDelegate.sessionHasStarted()' on a null object reference
Stack Trace:

at android.app.ActivityThread.performLaunchActivity (ActivityThread.java:4172)
at android.app.ActivityThread.handleLaunchActivity (ActivityThread.java:4330)
...
at company.tap.gosellapi.internal.activities.GoSellPaymentActivity.onCreate (GoSellPaymentActivity.java)
Suspected Cause:
The SessionDelegate appears to be null when sessionHasStarted() is invoked. This likely indicates a missing or improperly set delegate before launching the activity.

SDK Version: implementation 'com.github.Tap-Payments:goSellSDK-AndroidX:3.19.22'
Request:
Please investigate this issue and advise on a fix or workaround. Let us know if you require more information or logs.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions