Abhinav Srivastava
Abhinav Srivastava

Reputation: 185

Facebook Audience Network ads App crashes when Native ad is loading

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

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.<init> (Unknown Source:7095)
com.facebook.ads.redexgen.X.4a.<init> (Unknown Source:7249)
com.facebook.ads.redexgen.X.55.A (Unknown Source:7964)
com.facebook.ads.redexgen.X.Ix.<init> (Unknown Source:35176)
com.facebook.ads.redexgen.X.Ix.B (Unknown Source:35184)
com.facebook.ads.redexgen.X.Kr.<init> (Unknown Source:38581)
com.facebook.ads.redexgen.X.28.<init> (Unknown Source:2905)
com.facebook.ads.redexgen.X.2L.<init> (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)

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?

Thanks

I have put the code in try/catch block as well but still crashing.

Upvotes: 0

Views: 3096

Answers (2)

Quang TRINH
Quang TRINH

Reputation: 16

From Facebook team: The team is still actively working to identify the underlying issue for this case. We will update you as soon as we know more.

You can update latest status of this fatal bug here: https://developers.facebook.com/support/bugs/415546359031986

Upvotes: 0

Zhou Su
Zhou Su

Reputation: 11

I have same problem ,it seems that fbsdk's problem, you can change sdk from 5.4 to 5.3 or wait facebook to fix problems

Upvotes: 1

Related Questions