-
Notifications
You must be signed in to change notification settings - Fork 93
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Null Pointer Exception after upgrading SDK to 12.4.2 #657
Comments
We have the same issue, which occurs when using
|
Same issue while trying to configure settings
It doesn't happen if I don't minify. |
I don't think so, because today I also encountered this error while testing with the debug version that doesn't use R8 and minify. But it's really difficult to reproduce it. |
Hey all, we have a fix for this going out in next release. In the meantime, the work-around is to not call AppLovinSdk.getInstance(context) until you are ready to initialize the SDK (with the call to |
@christophercong not sure to understand your workaround. In my code,
|
Just to add more info. I tried to initiliaze the terms and pricacy using the json integration (as per your documentation) and I am still facing the issue. I think it is not be the same issue as the
|
Any update on this? When it will be resolved? |
Hi all, this has been resolved in the new the Android SDK release 12.5.0. Note: to configure the terms/privacy settings pre-init, we have changed the API to the following:
|
Following exceptions are occurring in all of our apps and due to this crash rate is very high in Android Vitals. Kindly provide the solution for it or kindly fix it soon.
Exception java.lang.NullPointerException: Attempt to invoke virtual method 'boolean com.applovin.sdk.AppLovinSdkSettings.isVerboseLoggingEnabled()' on a null object reference
at com.applovin.impl.vj.c (SourceFile:497)
at com.applovin.impl.sdk.t.a (SourceFile:15)
at com.applovin.impl.sdk.t.a (SourceFile:14)
at com.applovin.impl.mediation.ads.a.logApiCall (SourceFile:4)
at com.applovin.mediation.nativeAds.MaxNativeAdLoader. (SourceFile:3)
at com.applovin.mediation.nativeAds.MaxNativeAdLoader. (SourceFile:1)
at com.BinaryCores.GalaxyA23Wallpapers.binary_cores_fragments.FragmentCategory.onCreateView (FragmentCategory.java:67)
at androidx.fragment.app.Fragment.performCreateView (Fragment.java:2963)
at androidx.fragment.app.FragmentStateManager.createView (FragmentStateManager.java:518)
at androidx.fragment.app.FragmentStateManager.moveToExpectedState (FragmentStateManager.java:282)
at androidx.fragment.app.FragmentStore.moveToExpectedState (FragmentStore.java:112)
at androidx.fragment.app.FragmentManager.moveToState (FragmentManager.java:1647)
at androidx.fragment.app.FragmentManager.dispatchStateChange (FragmentManager.java:3128)
at androidx.fragment.app.FragmentManager.dispatchActivityCreated (FragmentManager.java:3072)
at androidx.fragment.app.FragmentController.dispatchActivityCreated (FragmentController.java:251)
at androidx.fragment.app.FragmentActivity.onStart (FragmentActivity.java:502)
at androidx.appcompat.app.AppCompatActivity.onStart (AppCompatActivity.java:251)
at android.app.Instrumentation.callActivityOnStart (Instrumentation.java:1582)
at android.app.Activity.performStart (Activity.java:8977)
at android.app.ActivityThread.handleStartActivity (ActivityThread.java:4198)
at android.app.servertransaction.TransactionExecutor.performLifecycleSequence (TransactionExecutor.java:225)
at android.app.servertransaction.TransactionExecutor.cycleToPath (TransactionExecutor.java:205)
at android.app.servertransaction.TransactionExecutor.executeLifecycleState (TransactionExecutor.java:177)
at android.app.servertransaction.TransactionExecutor.execute (TransactionExecutor.java:98)
at android.app.ActivityThread$H.handleMessage (ActivityThread.java:2685)
at android.os.Handler.dispatchMessage (Handler.java:106)
at android.os.Looper.loopOnce (Looper.java:230)
at android.os.Looper.loop (Looper.java:319)
at android.app.ActivityThread.main (ActivityThread.java:8893)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:608)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)
The text was updated successfully, but these errors were encountered: