AppLovin/AppLovin-MAX-React-Native

NativeAdView Crash

GLSinthu opened this issue · 1 comments

MAX Module Version

6.2.1

React Native Version

0.72.6

Device/Platform Info

Android

Current Behavior

Fatal Exception: java.lang.NullPointerException
Attempt to invoke virtual method 'int android.view.View.getWidth()' on a null object reference
com.applovin.reactnative.AppLovinMAXNativeAdView.sizeToFit (AppLovinMAXNativeAdView.java:476)
com.applovin.reactnative.AppLovinMAXNativeAdView.-$$Nest$smsizeToFit
com.applovin.reactnative.AppLovinMAXNativeAdView$RenderNativeAdTask.lambda$run$0$com-applovin-reactnative-AppLovinMAXNativeAdView$RenderNativeAdTask (AppLovinMAXNativeAdView.java:426)
com.applovin.reactnative.AppLovinMAXNativeAdView$RenderNativeAdTask$$ExternalSyntheticLambda0.run (Unknown Source:2)

Expected Behavior

No response

How to Reproduce

Don't have a specific reproduction.

Additional Info

No response

@GLSinthu, thanks for raising the issue. We've fixed the issue and released it with 6.2.2.