You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
when i call methob getAssetPathList second time my app has crashed immediately
and I found it comes from an error when I use the isCache = false ; Expected behavior
pathList = await PhotoManager.getAssetPathList(hasVideo:true,isCache:true);
Flutter version
Smartphone (please complete the following information):
Device: [e.g. MIPAD4]
Version [3.0.1]
Log
java.lang.ArrayIndexOutOfBoundsException: length=823; index=823
[ ] E/AndroidRuntime(15281): at java.util.ArrayList.add(ArrayList.java:468)
[ ] E/AndroidRuntime(15281): at top.kikt.imagescanner.ImageScanner.handleImageCursor(ImageScanner.kt:149)
[ ] E/AndroidRuntime(15281): at top.kikt.imagescanner.ImageScanner.scanImage(ImageScanner.kt:125)
[ ] E/AndroidRuntime(15281): at top.kikt.imagescanner.ImageScanner.scan(ImageScanner.kt:79)
[ ] E/AndroidRuntime(15281): at top.kikt.imagescanner.ImageScanner.access$scan(ImageScanner.kt:16)
[ ] E/AndroidRuntime(15281): at top.kikt.imagescanner.ImageScanner$scanAndGetImageIdList$1.run(ImageScanner.kt:219)
[ ] E/AndroidRuntime(15281): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1162)
[ ] E/AndroidRuntime(15281): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:636)
[ ] E/AndroidRuntime(15281): at java.lang.Thread.run(Thread.java:764)
The text was updated successfully, but these errors were encountered:
trantrongkim98
changed the title
[BUG] crash when getAssetPathList
[BUG] crash when call getAssetPathList second time!
May 2, 2019
Describe the bug
when i call methob getAssetPathList second time my app has crashed immediately
and I found it comes from an error when I use the isCache = false ;
Expected behavior
pathList = await PhotoManager.getAssetPathList(hasVideo:true,isCache:true);
Flutter version
Smartphone (please complete the following information):
Log
The text was updated successfully, but these errors were encountered: