bumptech / bumptech/glide

Multi image picker issue with crash somthing wrong ..... how to fix this error

Open
#4,661 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
Java
Stars
35k
Forks
6.2k
Avg merge
1d 11h
Merged PRs (30d)
8

Description

*********************************************** coding part ************************************************************

resultList = await MultiImagePicker.pickImages(
maxImages: 7,
enableCamera: true,
selectedAssets: images,
cupertinoOptions: CupertinoOptions(
takePhotoIcon: "chat",
doneButtonTitle: "Fatto",
),
materialOptions: MaterialOptions(
actionBarColor: "#FF01aa95",
actionBarTitle: "Select Album",
allViewTitle: "All Photos Data",
useDetailsView: true,
selectCircleStrokeColor: "#FF01aa95",
statusBarColor: "#FF01aa95",
textOnNothingSelected: "Please ! Select at least one image",
),
);

i calling this code in my app but i fetched the issue with this code and get crash error in below. so, how to fix this problem please suggest me

********************************************************** error code **********************************************************

): Load failed for content://media/external/images/media/46462 with size [192x192]
W/Glide (27596): class com.bumptech.glide.load.engine.GlideException: Failed to load resource
W/Glide (27596): There were 5 causes:
5
W/Glide (27596): java.io.FileNotFoundException(open failed: ENOENT (No such file or directory))
W/Glide (27596): call GlideException#logRootCauses(String) for more detail
W/Glide (27596): Cause (1 of 6): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class java.io.InputStream, LOCAL

W/Glide (27596): There was 1 cause:
W/Glide (27596): java.io.FileNotFoundException(open failed: ENOENT (No such file or directory))
W/Glide (27596): call GlideException#logRootCauses(String) for more detail
W/Glide (27596): Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Fetch failed
W/Glide (27596): There was 1 cause:
W/Glide (27596): java.io.FileNotFoundException(open failed: ENOENT (No such file or directory))
W/Glide (27596): call GlideException#logRootCauses(String) for more detail
W/Glide (27596): Cause (1 of 1): class java.io.FileNotFoundException: open failed: ENOENT (No such file or directory)
W/Glide (27596): Cause (2 of 6): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class android.os.ParcelFileDescriptor, LOCAL
W/Glide (27596): There was 1 cause:
W/Glide (27596): java.io.FileNotFoundException(open failed: ENOENT (No such file or directory))
W/Glide (27596): call GlideException#logRootCauses(String) for more detail
W/Glide (27596): Cause (1 of 1): class com.bumptech.glide.load.engine.GlideException: Fetch failed
W/Glide (27596): There was 1 cause:
W/Glide (27596): java.io.FileNotFoundException(open failed: ENOENT (No such file or directory))
W/Glide (27596): call GlideException#logRootCauses(String) for more detail
W/Glide (27596): Cause (1 of 1): class java.io.FileNotFoundException: open failed: ENOENT (No such file or directory)
W/Glide (27596): Cause (3 of 6): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class java.io.InputStream, LOCAL
W/Glide (27596): There was 1 cause:
W/Glide (27596): java.io.FileNotFoundException(open failed: ENOENT (No such file or directory))
W/Glide (27596): call GlideException#logRootCauses(String) for more detail
W/Glide (27596): Cause (1 of 1): class java.io.FileNotFoundException: open failed: ENOENT (No such file or directory)
W/Glide (27596): Cause (4 of 6): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class android.os.ParcelFileDescriptor, LOCAL
W/Glide (27596): There was 1 cause:
W/Glide (27596): java.io.FileNotFoundException(open failed: ENOENT (No such file or directory))
W/Glide (27596): call GlideException#logRootCauses(String) for more detail
W/Glide (27596): Cause (1 of 1): class java.io.FileNotFoundException: open failed: ENOENT (No such file or directory)
W/Glide (27596): Cause (5 of 6): class com.bumptech.glide.load.engine.GlideException: Fetching data failed, class android.content.res.AssetFileDescriptor, LOCAL
.

W/Glide (27596): There was 1 cause:
W/Glide (27596): java.io.FileNotFoundException(open failed: ENOENT (No such file or directory))
W/Glide (27596): call GlideException#logRootCauses(String) for more detail
W/Glide (27596): Cause (1 of 1): class java.io.FileNotFoundException: open failed: ENOENT (No such file or directory)
W/Glide (27596): Cause (6 of 6): class com.bumptech.glide.load.engine.GlideException: Failed LoadPath{StringUri->Object->Drawable}, LOCAL
W/Glide (27596): Cause (1 of 2): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{StringUri->Drawable->Drawable}
W/Glide (27596): Cause (2 of 2): class com.bumptech.glide.load.engine.GlideException: Failed DecodePath{StringUri->Bitmap->Drawable}
I/Glide (27596): Root cause (1 of 5)
I/Glide (27596): java.io.FileNotFoundException: open failed: ENOENT (No such file or directory)
I/Glide (27596): at android.database.DatabaseUtils.readExceptionWithFileNotFoundExceptionFromParcel(DatabaseUtils.java:151)
I/Glide (27596): at android.content.ContentProviderProxy.openTypedAssetFile(ContentProviderNative.java:781)
I/Glide (27596): at android.content.ContentResolver.openTypedAssetFileDescriptor(ContentResolver.java:2008)
I/Glide (27596): at android.content.ContentResolver.openAssetFileDescriptor(ContentResolver.java:1823)
I/Glide (27596): at android.content.ContentResolver.openInputStream(ContentResolver.java:1500)
I/Glide (27596): at com.bumptech.glide.load.data.StreamLocalUriFetcher.loadResourceFromUri(StreamLocalUriFetcher.java:74)
I/Glide (27596): at com.bumptech.glide.load.data.StreamLocalUriFetcher.loadResource(StreamLocalUriFetcher.java:50)
I/Glide (27596): at com.bumptech.glide.load.data.StreamLocalUriFetcher.loadResource(StreamLocalUriFetcher.java:13)
I/Glide (27596): at com.bumptech.glide.load.data.LocalUriFetcher.loadData(LocalUriFetcher.java:44)
I/Glide (27596): at com.bumptech.glide.load.model.MultiModelLoader$MultiFetcher.loadData(MultiModelLoader.java:100)
I/Glide (27596): at com.bumptech.glide.load.model.MultiModelLoader$MultiFetcher.startNextOrFail(MultiModelLoader.java:164)
I/Glide (27596): at com.bumptech.glide.load.model.MultiModelLoader$MultiFetcher.onDataReady(MultiModelLoader.java:147)
I/Glide (27596): at com.bumptech.glide.load.data.mediastore.ThumbFetcher.loadData(ThumbFetcher.java:70)
I/Glide (27596): at com.bumptech.glide.load.model.MultiModelLoader$MultiFetcher.loadData(MultiModelLoader.java:100)
I/Glide (27596): at com.bumptech.glide.load.model.stream.QMediaStoreUriLoader$QMediaStoreUriFetcher.loadData(QMediaStoreUriLoader.java:141)
I/Glide (27596): at com.bumptech.glide.load.engine.SourceGenerator.startNextLoad(SourceGenerator.java:70)
I/Glide (27596): at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:63)
I/Glide (27596): at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:310)
I/Glide (27596): at com.bumptech.glide.load.engine.DecodeJob.decodeFromRetrievedData(DecodeJob.java:434)
I/Glide (27596): at com.bumptech.glide.load.engine.DecodeJob.onDataFetcherReady(DecodeJob.java:390)
I/Glide (27596): at com.bumptech.glide.load.engine.SourceGenerator.onDataReadyInternal(SourceGenerator.java:148)
I/Glide (27596): at com.bumptech.glide.load.engine.SourceGenerator$1.onDataReady(SourceGenerator.java:76)
I/Glide (27596): at com.bumptech.glide.load.data.mediastore.ThumbFetcher.loadData(ThumbFetcher.java:70)
I/Glide (27596): at com.bumptech.glide.load.engine.SourceGenerator.startNextLoad(SourceGenerator.java:70)
I/Glide (27596): at com.bumptech.glide.load.engine.SourceGenerator.startNext(SourceGenerator.java:63)
I/Glide (27596): at com.bumptech.glide.load.engine.DecodeJob.runGenerators(DecodeJob.java:310)
I/Glide (27596): at com.bumptech.glide.load.engine.DecodeJob.runWrapped(DecodeJob.java:279)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.