Getting NullPointerException crash(mraidcontroller) on MoPubView



I kinda confused because i keep getting this crash by using the 300*250 banner, i tried to find the relation between the mraidcontroller and mopubview but unfortunately fail to do so. Can i know any possible reason this crash happened? if possible is there any solution to solve it?

0 java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.getLocationOnScreen(int[])' on a null object reference ! 1 at com.mopub.mraid.MraidController$ 2 at com.mopub.mraid.d.b( 3 at com.mopub.mraid.d.b( 4 at com.mopub.mraid.d$1$1.onPreDraw( 5 at android.view.ViewTreeObserver.dispatchOnPreDraw( 6 at android.view.ViewRootImpl.performTraversals( 7 at android.view.ViewRootImpl.doTraversal( 8 at android.view.ViewRootImpl$ 9 at android.view.Choreographer$ 10 at android.view.Choreographer.doCallbacks( 11 at android.view.Choreographer.doFrame( 12 at android.view.Choreographer$ 13 at android.os.Handler.handleCallback( 14 at android.os.Handler.dispatchMessage( 15 at android.os.Looper.loop( 16 at 17 at java.lang.reflect.Method.invoke(Native Method) 18 at java.lang.reflect.Method.invoke( 19 at$ 20 at



Hi @shyang,

Thanks for reaching out to us about this crash! Would you mind escalating it via our Support Team with the following template so it can be reviewed further?

Number of observed app crashes/frequency of the crashes: (e.g 5 crashes in 500 ad requests et al)
MoPub SDK version:
Partner SDK version, if involved:
Ad unit ID associated with the crash:
Steps to replicate the crash:
Crashlytics link and/or crash logs: