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

Reply already submitted #41

Open
BaherAlsaqa opened this issue Nov 16, 2022 · 2 comments
Open

Reply already submitted #41

BaherAlsaqa opened this issue Nov 16, 2022 · 2 comments

Comments

@BaherAlsaqa
Copy link

D/AndroidRuntime(22051): Shutting down VM
E/AndroidRuntime(22051): FATAL EXCEPTION: main
E/AndroidRuntime(22051): Process: com.win.app, PID: 22051
E/AndroidRuntime(22051): java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime(22051): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:430)
E/AndroidRuntime(22051): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:267)
E/AndroidRuntime(22051): at com.ed_screen_recorder.ed_screen_recorder.EdScreenRecorderPlugin.HBRecorderOnStart(EdScreenRecorderPlugin.java:195)
E/AndroidRuntime(22051): at com.hbisoft.hbrecorder.HBRecorder$1.onReceiveResult(HBRecorder.java:375)
E/AndroidRuntime(22051): at android.os.ResultReceiver$MyRunnable.run(ResultReceiver.java:50)
E/AndroidRuntime(22051): at android.os.Handler.handleCallback(Handler.java:883)
E/AndroidRuntime(22051): at android.os.Handler.dispatchMessage(Handler.java:100)
E/AndroidRuntime(22051): at android.os.Looper.loop(Looper.java:224)
E/AndroidRuntime(22051): at android.app.ActivityThread.main(ActivityThread.java:7562)
E/AndroidRuntime(22051): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(22051): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:539)
E/AndroidRuntime(22051): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:950)

@BaherAlsaqa
Copy link
Author

BaherAlsaqa commented Nov 16, 2022

add try catch like this:

update in EdScreenRecorderPlugin.java

try {
flutterResult.success(jsonObj.toString());
} catch (Exception e) {
System.out.println("Error:" + e.getMessage());
}

@endmr11
Copy link
Owner

endmr11 commented Apr 30, 2023

Version 0.0.13 has been released. Could you please check again and report back to me?

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