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

Exception java.lang.IllegalStateException: Reply already submitted #81

Open
yebo0505 opened this issue Apr 24, 2024 · 6 comments
Open

Comments

@yebo0505
Copy link

yebo0505 commented Apr 24, 2024

I only used the following functions :pushwoosh.registerForPushNotifications(),
pushwoosh.onPushReceived.listen(),pushwoosh.onPushAccepted.listen(),pushwoosh.onDeepLinkOpened.listen(),some smartphone has IllegalStateException:

Exception java.lang.IllegalStateException: Reply already submitted
at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply
at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success
at com.pushwoosh.plugin.PushwooshPlugin$4.process (PushwooshPlugin.java)
at com.pushwoosh.f0.d.a (d.java)
at com.pushwoosh.internal.event.EventBus.b (EventBus.java)
at com.pushwoosh.internal.event.EventBus.a (EventBus.java)
at android.os.Handler.handleCallback (Handler.java:958)
at android.os.Handler.dispatchMessage (Handler.java:99)
at android.os.Looper.loopOnce (Looper.java:230)
at android.os.Looper.loop (Looper.java:319)
at android.app.ActivityThread.main (ActivityThread.java:8919)
at java.lang.reflect.Method.invoke
at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:578)
at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:1103)

@yebo0505
Copy link
Author

img_v3_02a8_32456c45-0f45-49e0-a458-052f6f8adedg

@enginseer-dev
Copy link

Hello, @yebo0505

Thank you for the details.

Can you please specify the following:

  1. Version of Pushwoosh plugin
  2. Flutter version
  3. On the screenshot is it the complete list of the affected devices?
  4. Are you able to reproduce the issue and if so, then can you share the steps to reproduce it?

@yebo0505
Copy link
Author

  1. pushwoosh_flutter: ^2.2.20
  2. Flutter 3.19.0 ,Tools • Dart 3.3.0 • DevTools 2.31.1
  3. yes,My app user's device
  4. I don't know how users operate it. This is the exception collected by firebase crashlytics. We use deeplink to push regularly on your push platform,The user may click the app to open the exception after receiving the push
image

@enginseer-dev
Copy link

Appreciate the information, @yebo0505

Just to clarify, did this issue arise following any recent updates or modifications to your app?
If yes, could you detail those changes?

@yebo0505
Copy link
Author

Hi,I found that my company's app versions 1.0, 1.0.1 and 1.0.2 did not do anything on the received push messages,just print messages, and no exception were collected. However, in the following three versions, in pushwoosh. onPushAccepted.Listen () and pushwoosh.onDeepLinkOpened. Listen (), I processed the message , jump to the specified page, has collected the exception

@enginseer-dev
Copy link

We are investigating the issue, @yebo0505
I will get back to you as soon as I get any new information

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

2 participants