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
We are seeing a NullPointerExceptions in our crash monitoring tools. This is caused when the user presses the play button while a pre-roll is loading. This is also reproducible in the IMASampleApp.
Steps to reproduce -
Open Google IMA Sample App
Click "IMA Podded Pre-roll"
Before the pre-roll automatically starts playing click the play button
Observe crash
Process: com.ooyala.sample.IMASampleApp, PID: 10963
java.lang.NullPointerException: Attempt to invoke virtual method 'android.content.Context android.view.View.getContext()' on a null object reference
at com.ooyala.android.imasdk.OoyalaIMAManager.prepareAdsLoader(OoyalaIMAManager.java:470)
at com.ooyala.android.imasdk.OoyalaIMAManager.loadAds(OoyalaIMAManager.java:428)
at com.ooyala.android.imasdk.OoyalaIMAManager.onAdModeEntered(OoyalaIMAManager.java:874)
at com.ooyala.android.AdPluginManager.onAdModeEntered(AdPluginManager.java:186)
at com.ooyala.android.OoyalaPlayerContextSwitcher.switchToAdMode(OoyalaPlayerContextSwitcher.java:275)
at com.ooyala.android.OoyalaPlayerContextSwitcher.processAdModes(OoyalaPlayerContextSwitcher.java:172)
at com.ooyala.android.OoyalaPlayerContextSwitcher.startVideoWorkflow(OoyalaPlayerContextSwitcher.java:61)
at com.ooyala.android.OoyalaPlayer.onCurrentItemChangeComplete(OoyalaPlayer.java:966)
at com.ooyala.android.OoyalaPlayer.lambda$null$0(OoyalaPlayer.java:688)
at com.ooyala.android.-$$Lambda$OoyalaPlayer$csVy2oM9eFJ924t4oesqgOpwaFA.run(lambda)
at android.os.Handler.handleCallback(Handler.java:836)
at android.os.Handler.dispatchMessage(Handler.java:103)
at android.os.Looper.loop(Looper.java:203)
at android.app.ActivityThread.main(ActivityThread.java:6368)
at java.lang.reflect.Method.invoke(Native Method)
at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:1063)
at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:924)
Please can you advise on the possible cause of this and if there is a solution. Thanks.
The text was updated successfully, but these errors were encountered:
We are seeing a NullPointerExceptions in our crash monitoring tools. This is caused when the user presses the play button while a pre-roll is loading. This is also reproducible in the IMASampleApp.
Steps to reproduce -
Please can you advise on the possible cause of this and if there is a solution. Thanks.
The text was updated successfully, but these errors were encountered: