java.io.FileNotFoundException
See original GitHub issuesince switching from v0.14.1 to v1.0.0 fresco will not load images from local storage.
AbstractDraweeController: controller a65fcb9 125: setHierarchy: com.facebook.drawee.generic.GenericDraweeHierarchy@8328fe
AbstractDraweeController: controller a65fcb9 125: onAttach: request needs submit
PipelineDraweeController: controller a65fcb9: getDataSource
AbstractDraweeController: controller a65fcb9 125: submitRequest: dataSource: ca085f
AbstractDraweeController: controller 230cb7b null -> 126: initialize
AbstractDraweeController: controller 230cb7b 126: setHierarchy: com.facebook.drawee.generic.GenericDraweeHierarchy@8e84d98
AbstractDraweeController: controller 230cb7b 126: onAttach: request needs submit
PipelineDraweeController: controller 230cb7b: getDataSource
AbstractDraweeController: controller 230cb7b 126: submitRequest: dataSource: e1d89f1
AbstractDraweeController: controller a65fcb9 125: final_failed @ onFailure: failure: java.io.FileNotFoundException: torage/emulated/0/Images/1482147242789-1165.jpg (No such file or directory)
AbstractDraweeController: controller 230cb7b 126: final_failed @ onFailure: failure: java.io.FileNotFoundException: torage/emulated/0/Images/1481641781949-2816.jpg (No such file or directory)
AbstractDraweeController: controller 240eaeb 103: onDetach
AbstractDraweeController: controller 16f66d9 104: onDetach
AbstractDraweeController: controller 33fba98 105: onDetach
AbstractDraweeController: controller 240eaeb 103: release: image: CloseableReference ac1e844
AbstractDraweeController: controller 16f66d9 104: release: image: CloseableReference d89775a```
you can see that first part of image path (`file:/s`) is missing in log
Issue Analytics
- State:
- Created 7 years ago
- Comments:11 (3 by maintainers)
Top Results From Across the Web
java.io.FileNotFoundException in Java - GeeksforGeeks
java.io.FileNotFoundException which is a common exception which occurs while we try to access a file. FileNotFoundExcetion is thrown by ...
Read more >How to Fix the FileNotFoundException in Java.io - Rollbar
The FileNotFoundException is a checked exception in Java that occurs when an attempt to open a file denoted by a specified pathname fails....
Read more >java.io.FileNotFoundException: the system cannot find the file ...
First thing you would need to do (in this particular) case is make sure that the file get built into the classpath. With...
Read more >FileNotFoundException (Java Platform SE 8 )
Signals that an attempt to open the file denoted by a specified pathname has failed. This exception will be thrown by the FileInputStream...
Read more >Solving java.io.FileNotFoundException
java.io.filenotfoundexception is thrown during a failed attempt to open the file denoted by a specified pathname.
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@lambdapioneer I have solved the issue, problem is that following code doesn’t work when you try to load image from folder with empty space in name
instead of that use this
also i have tested it in fresco sample app (zoomableapp) and issue is persist there, here is the code i changed in test app
Fresco 1.0.0 X Uri uri = Uri.fromFile(“/storage/哈哈/123.jpg”); √ Uri uri = Uri.parse(“file://” + “/storage/哈哈/123.jpg”);