java.lang.NullPointerException: SimpleDraweeView was not initialized!
See original GitHub issueI am getting a few crash reports with this exception using Fresco version 0.4:
Caused by: java.lang.NullPointerException: SimpleDraweeView was not initialized!
Fresco is initialized very early in my applications onCreate() and I only have this problem with a few selected uses whom I cannot get in touch with.
I’m sorry I can not give you any more information than this. Please close the issue if you can’t do anything about this, I just wanted to let you know the problem is out there. I will update this issue if I learn more about it.
Issue Analytics
- State:
- Created 8 years ago
- Comments:15 (2 by maintainers)
Top Results From Across the Web
SimpleDraweeView was not initialized error using Fresco ...
I'm trying to implement Fresco in my NS Vue app. I have this in my main.js. Vue.registerElement('FrescoDrawee', () => require("nativescript- ...
Read more >SimpleDraweeView was not initialized异常引出的一个问题 - 掘金
java 里面可以加启动参数来增加类卸载回调,但android里面就不太方便了。为了验证这个问题,在Application的onCreate里面引用一个SimpleDraweeView对象, ...
Read more >SimpleDraweeView was not initialized异常引出的一个问题
java 里面可以加启动参数来增加类卸载回调,但android里面就不太方便了。为了验证这个问题,在Application的onCreate里面引用一个SimpleDraweeView对象, ...
Read more >Docs›Getting Started - Fresco
Starting with Fresco version 2.1.0, you can also use a Java-only Fresco version ... You should only do this 1 time, so placing...
Read more >com.facebook.imagepipeline.core.ImagePipelineFactory ...
This page shows Java code examples of com.facebook.imagepipeline.core. ... catch (NullPointerException e) { // Image pipeline is not initialized ...
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
Fresco.initialize needs to be called before setContentView in your app.
Hi, I have the same issue. I call Fresco.initialize(context) in my MainActivity. And this error was reported in an Activity which was called later(where I did not call initialize). Do I have to call initialize() and shutdown() in every Activity or do I have to do it only once for the whole application (before setContentView() ofcourse)?