fbsamples / audience-network

Open source projects to demonstrate SDK and sample code usages and integration, and to collaborate and support peers in this community.
https://developers.facebook.com/docs/audience-network
Other
319 stars 370 forks source link

NullPointerException when init MediaView #69

Closed lb0820ynn closed 6 years ago

lb0820ynn commented 6 years ago

Caused by: java.lang.NullPointerException: at com.facebook.ads.DefaultMediaViewVideoRenderer.onVisibilityChanged (Unknown Source) at android.view.View.dispatchVisibilityChanged (View.java:8732) at android.view.ViewGroup.dispatchVisibilityChanged (ViewGroup.java:1148) at android.view.View.setFlags (View.java:9775) at android.view.View. (View.java:4160) at android.view.ViewGroup. (ViewGroup.java:498) at android.widget.FrameLayout. (FrameLayout.java:115) at android.widget.FrameLayout. (FrameLayout.java:111) at android.widget.FrameLayout. (FrameLayout.java:107) at com.facebook.ads.MediaViewVideoRenderer. (Unknown Source) at com.facebook.ads.DefaultMediaViewVideoRenderer. (Unknown Source) at com.facebook.ads.MediaView. (Unknown Source)

phzhou commented 6 years ago

Hi @lb0820ynn could you share more context? Which SDK version? Can you reproduce the issue on the sample app? If yes how can we reproduce this issue?

phzhou commented 6 years ago

Please update to the latest SDK versions and feel free to re-open if problem still existed.