Unable to start activity ComponentInfo{com.my.package/com.google.android.gms.ads.NotificationHandlerActivity}

325 views
Skip to first unread message

Михаил Рапейко

unread,
Mar 5, 2024, 8:19:28 PM3/5/24
to Google Mobile Ads SDK Developers
java.lang.RuntimeException: Unable to start activity ComponentInfo{com.my.app/com.google.android.gms.ads.NotificationHandlerActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2778) at android.app.ActivityThread.handleLaunchActivity(ActivityThread.java:2856) at android.app.ActivityThread.-wrap11(ActivityThread.java) at android.app.ActivityThread$H.handleMessage(ActivityThread.java:1589) at android.os.Handler.dispatchMessage(Handler.java:106) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6494) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:438) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:807) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'boolean java.lang.String.equals(java.lang.Object)' on a null object reference at com.google.android.gms.internal.ads.zzefa.zze(zzefa.java:2) at com.google.android.gms.ads.NotificationHandlerActivity.onCreate(NotificationHandlerActivity.java:4) at android.app.Activity.performCreate(Activity.java:7009) at android.app.Activity.performCreate(Activity.java:7000) at android.app.Instrumentation.callActivityOnCreate(Instrumentation.java:1214) at android.app.ActivityThread.performLaunchActivity(ActivityThread.java:2731) ... 9 more

This is a crash reported for my app by analytics service on "Defy Mini" with Android 5.0.2 and "Nexus 5x" with Android 8.1.0 and Android 11. I don't have these devices and can't reproduce it.

com.google.android.gms:play-services-ads:22.6.0

Full stacktrace in attachments

stacktrace.txt

Mobile Ads SDK Forum Advisor

unread,
Mar 6, 2024, 12:52:12 AM3/6/24
to ihe...@gmail.com, google-adm...@googlegroups.com
Hi,

Thank you for contacting the Mobile Ads SDK support team.

Upon checking the logs provided we observed that the crash took place due to mediation adapters or third-party SDK. Kindly provide us the below details via “Reply to author” option for further investigation:
  • app ID
  • ad unit ID
  • AppLovin SDK version
 
This message is in relation to case "ref:!00D1U01174p.!5004Q02rzi5T:ref"

Thanks,
 
Google Logo Mobile Ads SDK Team


Reply all
Reply to author
Forward
0 new messages