You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, Android app crashes, when using Exponea SDK:
Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'java.lang.String com.exponea.sdk.models.InAppMessagePayload.getImageUrl()' on a null object reference
at com.exponea.sdk.manager.InAppMessageManagerImpl.hasImageFor(InAppMessageManagerImpl.java:4)
at com.exponea.sdk.manager.InAppMessageManagerImpl.getFilteredMessages(InAppMessageManagerImpl.java:124)
at com.exponea.sdk.manager.InAppMessageManagerImpl.getRandom(InAppMessageManagerImpl.java:10)
at com.exponea.sdk.manager.InAppMessageManager$DefaultImpls.getRandom$default(InAppMessageManager.java:7)
at com.exponea.sdk.manager.InAppMessageManagerImpl$showRandom$1.invokeSuspend(InAppMessageManagerImpl.java:31)
at kotlin.coroutines.jvm.internal.BaseContinuationImpl.resumeWith(BaseContinuationImpl.java:9)
at kotlinx.coroutines.DispatchedTask.run(DispatchedTask.java:93)
at kotlinx.coroutines.scheduling.CoroutineScheduler.runSafely(CoroutineScheduler.java)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.executeTask(CoroutineScheduler.java:14)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.runWorker(CoroutineScheduler.java:28)
at kotlinx.coroutines.scheduling.CoroutineScheduler$Worker.run(CoroutineScheduler.java)
Hi,
are you using AB testing for in-app messages by any chance?
There is an open issue with AB testing for in-app messages. Control group of AB tests has null payload and results in this crash.
My advice is to disable AB testing or set it up so that there is 0% in the control group.
The issue around in-app messages control groups is currently being worked on. We'll ping you once there is a solution.
For now, please don't AB test in-app messages.
Hello, Android app crashes, when using Exponea SDK:
Exponea SDK versions: v2.7.4 and v2.9.0
Android versions: 11, 10, 9, 8
Device: Samsung A51, A50, S10, etc, Nokia 6.1, 7+, etc
Crash occurs when the application is in the background.
The text was updated successfully, but these errors were encountered: