Crashes in com.mopub.common.Preconditions.checkArgumentInternal

mopub
android
crash

#1

Hi,

In our app we are using MoPub 4.11 SDK. Recently we started to receive a lot of crashes happening in the SDK itself:

java.lang.IllegalArgumentException: Illegal argument.
at com.mopub.common.Preconditions.checkArgumentInternal(Preconditions.java:242)
at com.mopub.common.Preconditions.checkArgument(Preconditions.java:30)
at com.mopub.mobileads.VastAbsoluteProgressTracker.<init>(VastAbsoluteProgressTracker.java:20)
at com.mopub.mobileads.VastVideoConfig.getUntriggeredTrackersBefore(VastVideoConfig.java:627)
at com.mopub.nativeads.NativeVideoController$NativeVideoProgressRunnable.doWork(NativeVideoController.java:604)
at com.mopub.mobileads.RepeatingHandlerRunnable.run(RepeatingHandlerRunnable.java:26)
at android.os.Handler.handleCallback(Handler.java:739)
at android.os.Handler.dispatchMessage(Handler.java:95)
at android.os.Looper.loop(Looper.java:145)
at android.app.ActivityThread.main(ActivityThread.java:5938)
at java.lang.reflect.Method.invoke(Method.java)
at java.lang.reflect.Method.invoke(Method.java:372)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1400)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:1195)

#2

Hi @Volotar,

Thanks for reaching out about this! We actually resolved this crash in MoPub SDK version 4.12. Updating to that SDK version should alleviate this issue for you.

Thanks!