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
Summary: We are experiencing a crash in the Play Billing Library (version 7.0.0) related to ProxyBillingActivity. The crash occurs due to a NullPointerException in the onCreate() method when trying to invoke PendingIntent.getIntentSender() on a null object.
Crash Details
Also attached crash SS
Fatal Exception: java.lang.RuntimeException: Unable to start activity ComponentInfo{com.*****.******/com.android.billingclient.api.ProxyBillingActivity}: java.lang.NullPointerException: Attempt to invoke
virtual method 'android.content.IntentSender android.app.PendingIntent.getIntentSender()' on a null object reference
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3635)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7838)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.IntentSender android.app.PendingIntent.getIntentSender()' on a null object reference
at com.android.billingclient.api.ProxyBillingActivity.onCreate(com.android.billingclient:billing@@7.0.0:14)
at android.app.Activity.performCreate(Activity.java:8051)
at android.app.Activity.performCreate(Activity.java:8031)
at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1329)
at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:3608)
at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:3792)
at android.app.servertransaction.LaunchActivityItem.execute(LaunchActivityItem.java:103)
at android.app.servertransaction.TransactionExecutor.executeCallbacks(TransactionExecutor.java:135)
at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:95)
at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2210)
at android.os.Handler.dispatchMessage(Handler.java:106)
at android.os.Looper.loopOnce(Looper.java:201)
at android.os.Looper.loop(Looper.java:288)
at android.app.ActivityThread.main(ActivityThread.java:7838)
at java.lang.reflect.Method.invoke(Method.java)
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:548)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1003)
Device Information:
Device Brand: Google
Device Model: Pixel 3a
RAM Free: 1.59 GB
Disk Free: 43.73 GB
Android Version: 12
Orientation: Portrait
Rooted: No
Environment Details
Platform: Android Java
Billing Library Version: 7.0.0
Target SDK: 34
Minimum SDK: 21
Gradle Version: 8.4.2
Expected Behavior:
The billing process should proceed without crashing.
Actual Behavior:
The app crashes with a NullPointerException when invoking PendingIntent.getIntentSender() during the creation of ProxyBillingActivity.
Impact:
This crash is occurring for multiple users, and it affects the app’s revenue generation since it interrupts in-app purchases.
Description
Summary: We are experiencing a crash in the Play Billing Library (version 7.0.0) related to ProxyBillingActivity. The crash occurs due to a NullPointerException in the onCreate() method when trying to invoke PendingIntent.getIntentSender() on a null object.
Crash Details
Device Information:
Environment Details
Expected Behavior:
Actual Behavior:
Impact:
NOTE: Also I have added on Stackvoerflow but there is no reply from team side
Link : https://stackoverflow.com/questions/78710589/fatal-exception-in-google-play-billing-library-nullpointerexception-in-proxybil
The text was updated successfully, but these errors were encountered: