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

setNoMessagesReadWithResult Method #42

Open
Alrfati-HazemY opened this issue Dec 30, 2024 · 0 comments
Open

setNoMessagesReadWithResult Method #42

Alrfati-HazemY opened this issue Dec 30, 2024 · 0 comments

Comments

@Alrfati-HazemY
Copy link

Getting an error when calling the setNoMessagesReadWithResult method

Package version: 2.0.7+17
Platform: Android

Error Stack:

D/TwilioInfo(22576): TwilioConversationsPlugin.onMethodCall => received Messages#setNoMessagesReadWithResult
D/TwilioInfo(22576): MessagesMethods.setNoMessagesReadWithResult (Channels.getChannel) => onSuccess
D/EGL_emulation(22576): app_time_stats: avg=19.39ms min=1.49ms max=195.30ms count=49
D/TwilioInfo(22576): ChannelListener.onMemberUpdated => memberSid = MB140a340eac1b42a6a9a5f9659515c714, reason = LAST_READ_TIMESTAMP
D/AndroidRuntime(22576): Shutting down VM
E/AndroidRuntime(22576): FATAL EXCEPTION: main
E/AndroidRuntime(22576): Process: com.sanadquran.sanad.dev, PID: 22576
E/AndroidRuntime(22576): com.twilio.conversations.ListenerException: Exception thrown by a listener. Your application might have a problem in listener implementation. Listeners must never throw uncaught exceptions. See 'Caused by:' below for more details.
E/AndroidRuntime(22576): 	at java.lang.reflect.Constructor.newInstance0(Native Method)
E/AndroidRuntime(22576): 	at java.lang.reflect.Constructor.newInstance(Constructor.java:343)
E/AndroidRuntime(22576): 	at com.twilio.conversations.internal.RethrowingForwarder$RethrowingProxy.invoke(RethrowingForwarder.java:123)
E/AndroidRuntime(22576): 	at java.lang.reflect.Proxy.invoke(Proxy.java:1006)
E/AndroidRuntime(22576): 	at $Proxy3.onSuccess(Unknown Source)
E/AndroidRuntime(22576): 	at com.twilio.conversations.internal.CallbackListenerForwarder$1.run(CallbackListenerForwarder.java:34)
E/AndroidRuntime(22576): 	at android.os.Handler.handleCallback(Handler.java:959)
E/AndroidRuntime(22576): 	at android.os.Handler.dispatchMessage(Handler.java:100)
E/AndroidRuntime(22576): 	at android.os.Looper.loopOnce(Looper.java:232)
E/AndroidRuntime(22576): 	at android.os.Looper.loop(Looper.java:317)
E/AndroidRuntime(22576): 	at android.app.ActivityThread.main(ActivityThread.java:8705)
E/AndroidRuntime(22576): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(22576): 	at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:580)
E/AndroidRuntime(22576): 	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:886)
E/AndroidRuntime(22576): Caused by: java.lang.NullPointerException: Attempt to invoke virtual method 'long java.lang.Number.longValue()' on a null object reference
E/AndroidRuntime(22576): 	at twilio.flutter.twilio_conversations.methods.MessagesMethods$setNoMessagesReadWithResult$1$onSuccess$1.onSuccess(MessagesMethods.kt:365)
E/AndroidRuntime(22576): 	at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(22576): 	at com.twilio.conversations.internal.RethrowingForwarder$RethrowingProxy.invoke(RethrowingForwarder.java:121)
E/AndroidRuntime(22576): 	... 11 more
I/Process (22576): Sending signal. PID: 22576 SIG: 9
Lost connection to device.

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