java.util.concurrent.TimeoutException

266 views
Skip to first unread message

appsapiconsole khan

unread,
Apr 27, 2021, 3:13:43 AM4/27/21
to Google Mobile Ads SDK Developers
50% backgorund
Android Versions:
Android 9
Android 6

Devices:
Infinix Hot 4 Lite
Lenovo Tab M7

Fatal Exception: java.util.concurrent.TimeoutException: com.google.android.gms.ads.internal.webview.ac.finalize() timed out after 10 seconds
       at java.lang.Object.wait(Object.java)
       at com.google.android.gms.ads.exoplayer3.n.b(n.java:2)
       at com.google.android.gms.ads.internal.video.exoplayer3.ab.l(ab.java:3)
       at com.google.android.gms.ads.internal.video.gmsg.exoplayer3.d.j(d.java)
       at com.google.android.gms.ads.internal.webview.ac.finalize(ac.java:2)
       at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:228)
       at java.lang.Daemons$FinalizerDaemon.run(Daemons.java:206)
       at java.lang.Thread.run(Thread.java:818)

appsapiconsole khan

unread,
Apr 27, 2021, 5:07:55 AM4/27/21
to Google Mobile Ads SDK Developers
Admob Version 20.0.0

Mobile Ads SDK Forum Advisor Prod

unread,
Apr 27, 2021, 5:14:37 AM4/27/21
to appsapi...@gmail.com, google-adm...@googlegroups.com

Hi there,

Thank you for reaching out to us.

Could you please provide the following details so that we can help you to your concern via Reply privately to author option or send it directly to mobileads...@gmail.com?

  • Sample project(if any)
  • Steps to replicate error

Regards,

Google Logo
Princess Pamela Pineda
Mobile Ads SDK Team
 

 

ref:_00D1U1174p._5004Q2GHqfd:ref

appsapiconsole khan

unread,
Apr 27, 2021, 5:58:30 AM4/27/21
to Google Mobile Ads SDK Developers
  at java.lang.Object.wait (Object.java)
  at com.google.android.gms.ads.exoplayer3.n.b (n.java:2)
  at com.google.android.gms.ads.internal.video.exoplayer3.ab.l (ab.java:3)
  at com.google.android.gms.ads.internal.video.gmsg.exoplayer3.d.j (d.java)
  at com.google.android.gms.ads.internal.webview.ac.destroy (ac.java:7)
  at com.google.android.gms.ads.internal.webview.y.destroy (y.java:5)
  at com.google.android.gms.ads.nonagon.ad.event.w.a (w.java)
  at com.google.android.gms.ads.nonagon.ad.event.dh.run (dh.java:2)
  at com.google.android.gms.ads.internal.util.future.c.execute (c.java:2)
  at com.google.android.gms.ads.internal.util.future.d.execute (d.java)
  at com.google.android.gms.ads.nonagon.ad.event.dj.y (dj.java)
  at com.google.android.gms.ads.nonagon.ad.event.dj.B (dj.java)
  at com.google.android.gms.ads.nonagon.ad.event.ew.a (ew.java)
  at com.google.android.gms.ads.nonagon.ad.event.dh.run (dh.java:2)
  at yz.execute (yz.java)
  at com.google.android.gms.ads.internal.util.future.d.execute (d.java)
  at com.google.android.gms.ads.nonagon.ad.event.dj.y (dj.java)
  at com.google.android.gms.ads.nonagon.ad.interstitial.x.bl (x.java)
  at com.google.android.gms.ads.internal.overlay.l.v (l.java:7)
  at com.google.android.gms.ads.internal.overlay.l.u (l.java:7)
  at com.google.android.gms.ads.internal.overlay.l.g (l.java:4)
  at gd.onTransact (gd.java:4)
  at android.os.Binder.transact (Binder.java:667)
  at com.google.android.gms.internal.ads.zzhv.zzbi (zzhv.java:2)
  at com.google.android.gms.internal.ads.zzaue.zzl (zzaue.java:2)
  at com.google.android.gms.ads.AdActivity.onPause (AdActivity.java:1)
  at android.app.Activity.performPause (Activity.java:7604)
  at android.app.Instrumentation.callActivityOnPause (Instrumentation.java:1465)
  at android.app.ActivityThread.performPauseActivityIfNeeded (ActivityThread.java:4374)
  at android.app.ActivityThread.performPauseActivity (ActivityThread.java:4339)
  at android.app.ActivityThread.handlePauseActivity (ActivityThread.java:4291)
  at android.app.servertransaction.PauseActivityItem.execute (PauseActivityItem.java:46)
  at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:150)
  at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:73)
  at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2054)
  at android.os.Handler.dispatchMessage (Handler.java:106)
  at android.os.Looper.loop (Looper.java:233)
  at android.app.ActivityThread.main (ActivityThread.java:7225)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:499)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:962)
Untitled.png

Mobile Ads SDK Forum Advisor Prod

unread,
Apr 27, 2021, 1:14:45 PM4/27/21
to appsapi...@gmail.com, google-adm...@googlegroups.com
Hi Appsapiconsole,

Thank you for sending over all these stacktraces. As I look at the original message, it would appear that your process is timing out? We would need to see a sample app that is causing the3se issues so that we can look deeper into9 the cause. As well as any steps that have been found to cause these crashes.

Regards,
Google Logo
William Pescherine
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2GHqfd:ref

appsapiconsole khan

unread,
Apr 29, 2021, 5:37:30 AM4/29/21
to Google Mobile Ads SDK Developers
Fatal Exception: java.util.concurrent.TimeoutException: com.google.android.gms.ads.internal.webview.ac.finalize() timed out after 40 seconds
       at java.lang.Object.wait(Object.java)
       at com.google.android.gms.ads.exoplayer3.n.b(n.java:2)
       at com.google.android.gms.ads.internal.video.exoplayer3.ab.l(ab.java:3)
       at com.google.android.gms.ads.internal.video.gmsg.exoplayer3.d.j(d.java)
       at com.google.android.gms.ads.internal.webview.ac.finalize(ac.java:2)
       at java.lang.Daemons$FinalizerDaemon.doFinalize(Daemons.java:251)
       at java.lang.Daemons$FinalizerDaemon.runInternal(Daemons.java:238)
       at java.lang.Daemons$Daemon.run(Daemons.java:104)
       at java.lang.Thread.run(Thread.java:764)

Mobile Ads SDK Forum Advisor Prod

unread,
Apr 29, 2021, 6:27:39 AM4/29/21
to appsapi...@gmail.com, google-adm...@googlegroups.com

Hi there,

Thank you for your response.

Could you please provide us any sample project with minimum modification the showing this following stack traces? It will help us investigate this further, since we can't replicate this on our end. You can send it via Reply privately to author option or send it directly to mobileads...@gmail.com.

Regards,

Google Logo
Princess Pamela Pineda
Mobile Ads SDK Team
 


ref:_00D1U1174p._5004Q2GHqfd:ref

itzno...@gmail.com

unread,
May 3, 2021, 3:05:00 AM5/3/21
to Google Mobile Ads SDK Developers
@mobileadssdkforumadvisor
The crash is not reproducible,
also it happens mostly when the device is in background (88% in my case).
However the stack-trace is not obfuscated & should be enough to get the sense of what is happening with gms' webview & internal exoplayer.
This crash came in 20.0.0.

Mobile Ads SDK Forum Advisor Prod

unread,
May 3, 2021, 5:09:40 AM5/3/21
to itzno...@gmail.com, google-adm...@googlegroups.com

Hi there,

Thank you for reaching out to us.

Do you experiencing the same issue like on this thread? If yes, could you please provide us your stack traces related to this issue and device name/versions that affected on this issue. You can send it via Reply privately to author option or send it directly to mobileads...@gmail.com.

Reply all
Reply to author
Forward
0 new messages