miguelpruivo/flutter_file_picker

App Crashes Frequently While Choosing Images or Videos

Closed this issue · 3 comments

Hi, While Selecting the Custom Files the app Frequently crashes. I think the exception was not handled and it is caused the internal library files. For your refers file_picker: ^6.1.1

Platform

  • Android Samsung Galaxy S8.

Platform OS version
Android 9 Pie

Details to reproduce the issue
To reproduce the problem for that I gave sample coding for attachment.

Error Log
D/AndroidRuntime(30237): Shutting down VM
E/AndroidRuntime(30237): FATAL EXCEPTION: main
E/AndroidRuntime(30237): Process: com.agilysys.commonapp, PID: 30237
E/AndroidRuntime(30237): java.lang.IllegalStateException: Reply already submitted
E/AndroidRuntime(30237): at io.flutter.embedding.engine.dart.DartMessenger$Reply.reply(DartMessenger.java:435)
E/AndroidRuntime(30237): at io.flutter.plugin.common.MethodChannel$IncomingMethodCallHandler$1.success(MethodChannel.java:272)
E/AndroidRuntime(30237): at com.mr.flutter.plugin.filepicker.FilePickerPlugin$MethodResultWrapper$1.run(FilePickerPlugin.java:214)
E/AndroidRuntime(30237): at android.os.Handler.handleCallback(Handler.java:873)
E/AndroidRuntime(30237): at android.os.Handler.dispatchMessage(Handler.java:99)
E/AndroidRuntime(30237): at android.os.Looper.loop(Looper.java:214)
E/AndroidRuntime(30237): at android.ap
app crash while large file selected
p.ActivityThread.main(ActivityThread.java:7073)
E/AndroidRuntime(30237): at java.lang.reflect.Method.invoke(Native Method)
E/AndroidRuntime(30237): at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:494)
E/AndroidRuntime(30237): at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:964)
[log] Size Exceeded
I/Process (30237): Sending signal. PID: 30237 SIG: 9
Lost connection to Device.

**Screenshots **
Added screens

Flutter Version details
Flutter version 3.16.0-20.0.pre.7

Additional context

This issue is stale because it has been open for 14 days with no activity.

This issue was closed because it has been inactive for 14 days since being marked as stale.

same error