Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

BillingClientParamBuildersKt.buildQueryProductDetailsParams crash #1968

Open
4 of 5 tasks
matteinn opened this issue Dec 10, 2024 · 2 comments
Open
4 of 5 tasks

BillingClientParamBuildersKt.buildQueryProductDetailsParams crash #1968

matteinn opened this issue Dec 10, 2024 · 2 comments

Comments

@matteinn
Copy link
Contributor

Describe the bug
A clear and concise description of what the bug is. The more detail you can provide the faster our team will be able to triage and resolve the issue. Do not remove any of the steps from the template below. If a step is not applicable to your issue, please leave that step empty.

We noticed a crash in production happening to few users on this specific device only (so far), running Android 11: AMD Stoney Ridge Chromebook.

  1. Environment
    1. Platform: Android
    2. SDK version: 8.10.3
    3. OS version: 11
    4. Android Studio version:
    5. How widespread is the issue. Percentage of devices affected. Tiny
  2. Debug logs that reproduce the issue
  3. Steps to reproduce, with a description of expected vs. actual behavior
  4. Other information (e.g. stacktraces, related issues, suggestions how to fix, links for us to have context, eg. stackoverflow, etc.)
          Fatal Exception: java.lang.ExceptionInInitializerError:
       at com.google.android.gms.internal.play_billing.zzai.zzi(com.android.billingclient:billing@@7.0.0:2)
       at com.google.android.gms.internal.play_billing.zzai.zzj(com.android.billingclient:billing@@7.0.0:7)
       at com.android.billingclient.api.QueryProductDetailsParams$Builder.setProductList(com.android.billingclient:billing@@7.0.0:9)
       at com.revenuecat.purchases.google.BillingClientParamBuildersKt.buildQueryProductDetailsParams(billingClientParamBuilders.kt:36)
       at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase$executeAsync$1.invoke(QueryProductDetailsUseCase.kt:54)
       at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase$executeAsync$1.invoke(QueryProductDetailsUseCase.kt:52)
       at com.revenuecat.purchases.google.BillingWrapper.withConnectedClient(BillingWrapper.kt:769)
       at com.revenuecat.purchases.google.BillingWrapper.access$queryPurchaseType(BillingWrapper.kt:79)
       at com.revenuecat.purchases.google.BillingWrapper.access$withConnectedClient(BillingWrapper.kt:79)
       at com.revenuecat.purchases.google.BillingWrapper$queryProductDetailsAsync$useCase$1.invoke(BillingWrapper.kt:221)
       at com.revenuecat.purchases.google.BillingWrapper$queryProductDetailsAsync$useCase$1.invoke(BillingWrapper.kt:221)
       at com.revenuecat.purchases.google.usecase.QueryProductDetailsUseCase.executeAsync(QueryProductDetailsUseCase.kt:52)
       at com.revenuecat.purchases.google.usecase.BillingClientUseCase$run$1.invoke(BillingClientUseCase.kt:51)
       at com.revenuecat.purchases.google.usecase.BillingClientUseCase$run$1.invoke(BillingClientUseCase.kt:49)
       at com.revenuecat.purchases.google.BillingWrapper.executePendingRequests$lambda$3$lambda$2$lambda$0(BillingWrapper.kt:132)
       at android.os.Handler.handleCallback(Handler.java:938)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at android.os.Looper.loop(Looper.java:223)
       at android.app.ActivityThread.main(ActivityThread.java:7741)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:592)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:966)

Additional context
Add any other context about the problem here.

@RCGitBot
Copy link
Contributor

👀 We've just linked this issue to our internal tracker and notified the team. Thank you for reporting, we're checking this out!

@rglanz-rc
Copy link
Contributor

It looks like the source of this crash is in BillingClient, interestingly. We're looking into a way to avoid this crash affecting our SDK.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants