Skip to content
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

Crash in com.iterable.iterableapi.IterableInAppManager.removeMessage #732

Open
anta-semenov opened this issue May 7, 2024 · 0 comments
Open

Comments

@anta-semenov
Copy link

anta-semenov commented May 7, 2024

Hello.

We see crashes on crashlytics that point to remove message method of sdk.

Fatal Exception: java.lang.NullPointerException: Attempt to invoke virtual method 'void com.iterable.iterableapi.IterableInAppMessage.setConsumed(boolean)' on a null object reference
       at com.iterable.iterableapi.IterableInAppManager.removeMessage(IterableInAppManager.java:284)
       at com.iterable.iterableapi.IterableInAppManager.removeMessage(IterableInAppManager.java:271)
       at com.iterable.reactnative.RNIterableAPIModule.removeMessage(RNIterableAPIModule.java:237)
       at java.lang.reflect.Method.invoke(Method.java)
       at com.facebook.react.bridge.JavaMethodWrapper.invoke(JavaMethodWrapper.java:372)
       at com.facebook.react.bridge.JavaModuleWrapper.invoke(JavaModuleWrapper.java:188)
       at com.facebook.jni.NativeRunnable.run(NativeRunnable.java)
       at android.os.Handler.handleCallback(Handler.java:942)
       at android.os.Handler.dispatchMessage(Handler.java:99)
       at com.facebook.react.bridge.queue.MessageQueueThreadHandler.dispatchMessage(MessageQueueThreadHandler.java:27)
       at android.os.Looper.loopOnce(Looper.java:210)
       at android.os.Looper.loop(Looper.java:299)
       at com.facebook.react.bridge.queue.MessageQueueThreadImpl$4.run(MessageQueueThreadImpl.java:228)
       at java.lang.Thread.run(Thread.java:1012)

Version of sdk is 3.4.16

We can't reproduce this in house

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant