This is our top crash for Android app in production. We can't reproduce it locallyjava.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$4.done(AsyncTask.java:399) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383) at java.util.concurrent.FutureTask.setException(FutureTask.java:252) at java.util.concurrent.FutureTask.run(FutureTask.java:271) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289) 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:919) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference at com.google.ads.interactivemedia.v3.internal.ea.a(ea:3) at com.google.ads.interactivemedia.v3.internal.dy.doInBackground(dy:2) at android.os.AsyncTask$3.call(AsyncTask.java:378) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289) 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:919)This issue is similar to https://groups.google.com/g/ima-sdk/c/BvHHkeXvhL4 which also referenced here https://github.com/google/ExoPlayer/issues/8447This is VAST TAG that we have
Hi Alex,
Thank you for bringing this issue to our attention.
I tried using the ad tag you shared against our advanced sample app with SDK v3.22.3 on emulator (Pixel 3 API 28), but the crash issue is not reproducible as I’m getting an ad error (please see attached). When using the default ad tag, the app works properly without any issue. Were you able to replicate the crash using the above sample app? In case yes, could you kindly share with us the steps in order to reproduce the issue?
Also, I’m going to delete your previous message in this thread to mask the ad tag that you shared. Please below for your reference.
Regards,
|
||||||
This is our top crash for Android app in production. We can't reproduce it locally
java.lang.RuntimeException: An error occurred while executing doInBackground() at android.os.AsyncTask$4.done(AsyncTask.java:399) at java.util.concurrent.FutureTask.finishCompletion(FutureTask.java:383) at java.util.concurrent.FutureTask.setException(FutureTask.java:252) at java.util.concurrent.FutureTask.run(FutureTask.java:271) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289) 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:919) Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'int android.graphics.Bitmap.getWidth()' on a null object reference at com.google.ads.interactivemedia.v3.internal.ea.a(ea:3) at com.google.ads.interactivemedia.v3.internal.dy.doInBackground(dy:2) at android.os.AsyncTask$3.call(AsyncTask.java:378) at java.util.concurrent.FutureTask.run(FutureTask.java:266) at android.os.AsyncTask$SerialExecutor$1.run(AsyncTask.java:289) 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:919)
This issue is similar to https://groups.google.com/g/ima-sdk/c/BvHHkeXvhL4 which also referenced here https://github.com/google/ExoPlayer/issues/8447
This is VAST TAG that we have
VAST tag url = xxxxxxxxxxxxxxxxx

|
||||||
|
||||||
Hi Alex,
Thank you for your message. Looking at the most recent response from our team, I believe that we already found a solution to this case. We will keep you posted once it goes live.
Regards,
|
||||||
|
||||||