-
- Notifications
You must be signed in to change notification settings - Fork 75
Description
What is the bug?
Exception occurs when deleting attempting to delete a file. This happened after upgrading Flutter to 3.3.7 and running in debug mode.
I/flutter (22291): ----------------FIREBASE CRASHLYTICS----------------
I/flutter (22291): FileSystemException: Cannot delete file, path = '/data/user/0/com.mycompany.myapp/app_flutter/fmtc/stores/OsmStoreDirectory/stats/length.cache' (OS Error: No such file or directory, errno = 2)
I/flutter (22291):
I/flutter (22291): #0 _File._delete. (dart:io/file_impl.dart:283:9)
I/flutter (22291): #1 _rootRunUnary (dart:async/zone.dart:1399:47)
I/flutter (22291): #2 _CustomZone.runUnary (dart:async/zone.dart:1300:19)
I/flutter (22291):
I/flutter (22291): #3 Future.wait. (dart:async/future.dart:522:21)
I/flutter (22291):
I/flutter (22291): ----------------------------------------------------
What is the expected behaviour?
No exception should happen. I can catch the error in my root zone and log it, so this is not a showstopper for me.
How can we reproduce this issue?
This happened after upgrading Flutter from 3.3.6 to 3.3.7, and then running my app in debug mode. I saw this also after the previous update but did not report it then.Do you have a potential solution?
Don't know, maybe check for the file/directory existence before attempting to delete?
Can you provide any other information?
No response
Platforms Affected
Android
Severity
Minimum: Allows normal functioning
Frequency
Rarely: Occurs every so often
Requirements
- I agree to follow this project's Code of Conduct
- My Flutter/Dart installation is unaltered, and
flutter doctorfinds no relevant issues - I am using the latest stable version of this package
- I have checked the FAQs section on the documentation website
- I have checked for similar issues which may be duplicates