fresco icon indicating copy to clipboard operation
fresco copied to clipboard

Image occasionally load not to come out, throw an exception: java.io.FileNotFoundException

Open 1908561871 opened this issue 11 years ago • 2 comments

The following two different exception occurs

The first initialization:

Fresco.initialize(context);
onFailure(String id, Throwable throwable) {
/***   java.io.FileNotFoundException  *****/
}

In case:Occasional pictures showed not to come out, can show the pictures to request.

The second initialization: ImagePipelineConfig config = OkHttpImagePipelineConfigFactory.newBuilder(this, new OkHttpClient()) .setMainDiskCacheConfig(diskCacheConfig) .build();

Fresco.initialize(weiLeCtx, config);
onFailure(String id, Throwable throwable) {
 /*********java.lang.IllegalArgumentException: unknown image format **********/
}

In case:Occasional pictures showed not to come out, to request or show not to come out, doubt is Okhttp cache problem

snap

1908561871 avatar May 12 '15 09:05 1908561871

What is the image that is failing to load?

IanChilds avatar May 13 '15 09:05 IanChilds

reaping

plamenko avatar Jul 08 '15 13:07 plamenko