title: Facebook Audience Network ads App crashes when Native ad is loading
body: <p>My app was working just fine for many months and all of a sudden users are getting app crashes. Firebase Crashalytics is showing me this error</p>
  
  <pre><code>Fatal Exception: java.lang.ArrayIndexOutOfBoundsException
  length=16; index=16
  com.facebook.ads.redexgen.X.3g.B (Unknown Source:6433)
  com.facebook.ads.redexgen.X.4U.F (Unknown Source:7152)
  com.facebook.ads.redexgen.X.4U.C (Unknown Source:7129)
  com.facebook.ads.redexgen.X.4U.&lt;init&gt; (Unknown Source:7095)
  com.facebook.ads.redexgen.X.4a.&lt;init&gt; (Unknown Source:7249)
  com.facebook.ads.redexgen.X.55.A (Unknown Source:7964)
  com.facebook.ads.redexgen.X.Ix.&lt;init&gt; (Unknown Source:35176)
  com.facebook.ads.redexgen.X.Ix.B (Unknown Source:35184)
  com.facebook.ads.redexgen.X.Kr.&lt;init&gt; (Unknown Source:38581)
  com.facebook.ads.redexgen.X.28.&lt;init&gt; (Unknown Source:2905)
  com.facebook.ads.redexgen.X.2L.&lt;init&gt; (Unknown Source:3231)
  com.facebook.ads.redexgen.X.KE.g (Unknown Source:37630)
  com.facebook.ads.redexgen.X.KE.loadAd (Unknown Source:37688)
  com.facebook.ads.redexgen.X.KE.loadAd (Unknown Source:37685)
  com.facebook.ads.NativeAdBase.loadAd (NativeAdBase.java:220)
  same.cool.same.retrofit.FragmentMain.loadNativeAd  
  (FragmentMain.java:1207)
  same.cool.same.retrofit.FragmentMain.onCreateView (FragmentMain.java:227)
  </code></pre>
  
  <p>I am trying to understand the problem but unable to do so. Can anyone suggest why all of a sudden I am getting App Crashes due to facebook native ads?</p>
  
  <p>Thanks</p>
  
  <p>I have put the code in try/catch block as well but still crashing.</p>