You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.android.exoplayer2.imademo, PID: 24403
java.lang.ArrayIndexOutOfBoundsException: length=3; index=-1
at com.google.android.exoplayer2.source.ads.AdPlaybackState.setAdCount(AdPlaybackState.java:111)
at com.google.android.exoplayer2.ext.ima.ImaAdsLoader.onAdEvent(ImaAdsLoader.java:481)
at com.google.obf.gy.a(IMASDK:57)
at com.google.obf.gy.a(IMASDK:53)
at com.google.obf.gy.a(IMASDK:90)
at com.google.obf.gq.a(IMASDK:60)
at com.google.obf.hj.f(IMASDK:163)
at com.google.obf.hj.a(IMASDK:41)
at com.google.obf.hk.b(IMASDK:39)
at com.google.obf.hk$1.shouldOverrideUrlLoading(IMASDK:4)
at com.android.webview.chromium.WebViewContentsClientAdapter.shouldOverrideUrlLoading(WebViewContentsClientAdapter.java:74)
at org.chromium.android_webview.AwContentsClient.shouldIgnoreNavigation(AwContentsClient.java:15)
at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(AwContentsClientBridge.java:140)
at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:7)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
The text was updated successfully, but these errors were encountered:
IMA's cue points may not be in order, so sort them. It looks like IMA events use
time ordered ad indices, so it is not necessary to map between the original cue
point order and the time order.
Issue: #3716
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=185495798
IMA's cue points may not be in order, so sort them. It looks like IMA events use
time ordered ad indices, so it is not necessary to map between the original cue
point order and the time order.
Issue: #3716
-------------
Created by MOE: https://github.com/google/moe
MOE_MIGRATED_REVID=185495798
Issue description
App is crashing with unordered sequencing of timeOffset for AdBreaks
Reproduction steps
Link to test content
https://img.vserv.mobi/vast/ima/sample2.xml
Version of ExoPlayer being used
2.6.1
'com.google.ads.interactivemedia.v3:interactivemedia:3.7.4'
Device(s) and version(s) of Android being used
LG Nexus 5 (Android version 6.0.1)
A full bug report captured from the device
E/AndroidRuntime: FATAL EXCEPTION: main
Process: com.google.android.exoplayer2.imademo, PID: 24403
java.lang.ArrayIndexOutOfBoundsException: length=3; index=-1
at com.google.android.exoplayer2.source.ads.AdPlaybackState.setAdCount(AdPlaybackState.java:111)
at com.google.android.exoplayer2.ext.ima.ImaAdsLoader.onAdEvent(ImaAdsLoader.java:481)
at com.google.obf.gy.a(IMASDK:57)
at com.google.obf.gy.a(IMASDK:53)
at com.google.obf.gy.a(IMASDK:90)
at com.google.obf.gq.a(IMASDK:60)
at com.google.obf.hj.f(IMASDK:163)
at com.google.obf.hj.a(IMASDK:41)
at com.google.obf.hk.b(IMASDK:39)
at com.google.obf.hk$1.shouldOverrideUrlLoading(IMASDK:4)
at com.android.webview.chromium.WebViewContentsClientAdapter.shouldOverrideUrlLoading(WebViewContentsClientAdapter.java:74)
at org.chromium.android_webview.AwContentsClient.shouldIgnoreNavigation(AwContentsClient.java:15)
at org.chromium.android_webview.AwContentsClientBridge.shouldOverrideUrlLoading(AwContentsClientBridge.java:140)
at org.chromium.base.SystemMessageHandler.nativeDoRunLoopOnce(Native Method)
at org.chromium.base.SystemMessageHandler.handleMessage(SystemMessageHandler.java:7)
at android.os.Handler.dispatchMessage(Handler.java:102)
at android.os.Looper.loop(Looper.java:148)
at android.app.ActivityThread.main(ActivityThread.java:5417)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:726)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:616)
The text was updated successfully, but these errors were encountered: