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

NullPointerException: Attempt to invoke virtual method void android.view.View.unFocus #291

Open
XJIOP opened this issue Nov 3, 2024 · 1 comment
Labels
transmitted Issue transmitted to inner service

Comments

@XJIOP
Copy link

XJIOP commented Nov 3, 2024

implementation 'com.yandex.android:mobileads:7.6.0'

Version: Android 13
Brand: Oppo
Model: RMX3834

Fatal Exception: java.lang.RuntimeException: Unable to destroy activity {.../com.yandex.mobile.ads.common.AdActivity}: java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.unFocus(android.view.View)' on a null object reference
       at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5543)
       at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5576)
       at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:47)
       at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
       at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:178)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:99)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2393)
       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:8061)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:703)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:923)
Caused by java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.unFocus(android.view.View)' on a null object reference
       at android.view.ViewGroup.removeAllViewsInLayout(ViewGroup.java:5861)
       at android.view.ViewGroup.removeAllViews(ViewGroup.java:5820)
       at com.yandex.mobile.ads.impl.qm0.a(SourceFile:31)
       at com.yandex.mobile.ads.impl.um0.b(SourceFile:33)
       at com.yandex.mobile.ads.impl.c6.invalidate(SourceFile:173)
       at com.yandex.mobile.ads.impl.h1.d(SourceFile:122)
       at com.yandex.mobile.ads.impl.y0.a(SourceFile:59)
       at com.yandex.mobile.ads.common.AdActivity.onDestroy(SourceFile:1)
       at android.app.Activity.performDestroy(Activity.java:8585)
       at android.app.Instrumentation.callActivityOnDestroy(Instrumentation.java:1419)
       at android.app.ActivityThread.performDestroyActivity(ActivityThread.java:5530)
       at android.app.ActivityThread.handleDestroyActivity(ActivityThread.java:5576)
       at android.app.servertransaction.DestroyActivityItem.execute(DestroyActivityItem.java:47)
       at android.app.servertransaction.ActivityTransactionItem.execute(ActivityTransactionItem.java:45)
       at android.app.servertransaction.TransactionExecutor.executeLifecycleState(TransactionExecutor.java:178)
       at android.app.servertransaction.TransactionExecutor.execute(TransactionExecutor.java:99)
       at android.app.ActivityThread$H.handleMessage(ActivityThread.java:2393)
       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:8061)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:703)
       at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:923)
@mobile-ads-github
Copy link
Collaborator

Спасибо за Ваше обращение, для разбора создана задача с номером ADLIBGITHUB-2. Мы ознакомимся и вернемся с ответом как можно скорее, возможно запросим дополнительную информацию.

Thank you for your message, a task with the number ADLIBGITHUB-2 has been created for analysis. We will get acquainted and return with the answer as soon as possible, we may request additional information.

@mobile-ads-github mobile-ads-github added the transmitted Issue transmitted to inner service label Nov 5, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
transmitted Issue transmitted to inner service
Projects
None yet
Development

No branches or pull requests

2 participants