Skip to content

Getting crashed after migrating from the AdMob SDK to the GMA Next-Gen SDK in Android #1036

@khimani91

Description

@khimani91

After migrating from the AdMob SDK to the GMA Next-Gen SDK in Android using the library:

implementation 'com.google.android.libraries.ads.mobile.sdk:ads-mobile-sdk:1.0.1'

We have started seeing the following crashes reported unexpectedly. These crashes began occurring after the migration to the GMA Next-Gen SDK. See below both crashed logs

   Fatal Exception: java.lang.NullPointerException:
   at p2.j.onSuccess(SourceFile:2)
   at java.lang.reflect.Method.invoke(Method.java)
   at pd.a.invoke(SourceFile:36)
   at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
   at $Proxy14.onSuccess()
   at WV.r22.run(chromium-SystemWebViewGoogle6432.aab-stable-777817803:37)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1154)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:652)
   at java.lang.Thread.run(Thread.java:1564)

   Fatal Exception: java.lang.NullPointerException:
   at p2.j.onFailure(SourceFile:18)
   at java.lang.reflect.Method.invoke(Method.java)
   at pd.a.invoke(SourceFile:36)
   at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
   at $Proxy10.onFailure()
   at WV.s22.a(chromium-SystemWebViewGoogle6432.aab-stable-777817903:107)
   at WV.xk.run(chromium-SystemWebViewGoogle6432.aab-stable-777817903:32)
   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1167)
   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:641)
   at java.lang.Thread.run(Thread.java:923)

Could you please help us identify the cause and suggest a resolution?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions