08-14 17:08:22.463: E/AndroidRuntime(30483): FATAL EXCEPTION: Thread-1802
08-14 17:08:22.463: E/AndroidRuntime(30483): java.lang.RuntimeException: An error occured while executing doInBackground()
08-14 17:08:22.463: E/AndroidRuntime(30483): at net.tsz.afinal.core.AsyncTask$3.done(AsyncTask.java:157)
08-14 17:08:22.463: E/AndroidRuntime(30483): at java.util.concurrent.FutureTask$Sync.innerSetException(FutureTask.java:273)
08-14 17:08:22.463: E/AndroidRuntime(30483): at java.util.concurrent.FutureTask.setException(FutureTask.java:124)
08-14 17:08:22.463: E/AndroidRuntime(30483): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:307)
08-14 17:08:22.463: E/AndroidRuntime(30483): at java.util.concurrent.FutureTask.run(FutureTask.java:137)
08-14 17:08:22.463: E/AndroidRuntime(30483): at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1076)
08-14 17:08:22.463: E/AndroidRuntime(30483): at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:569)
08-14 17:08:22.463: E/AndroidRuntime(30483): at java.lang.Thread.run(Thread.java:856)
08-14 17:08:22.463: E/AndroidRuntime(30483): Caused by: java.lang.NullPointerException
08-14 17:08:22.463: E/AndroidRuntime(30483): at net.tsz.afinal.FinalBitmap$BitmapLoadAndDisplayTask.doInBackground(FinalBitmap.java:696)
08-14 17:08:22.463: E/AndroidRuntime(30483): at net.tsz.afinal.FinalBitmap$BitmapLoadAndDisplayTask.doInBackground(FinalBitmap.java:1)
08-14 17:08:22.463: E/AndroidRuntime(30483): at net.tsz.afinal.core.AsyncTask$2.call(AsyncTask.java:145)
08-14 17:08:22.463: E/AndroidRuntime(30483): at java.util.concurrent.FutureTask$Sync.innerRun(FutureTask.java:305)
08-14 17:08:22.463: E/AndroidRuntime(30483): ... 4 more
doInBackground()这个函数里抛Causedby:java.lang.NullPointerException空指针异常,调试看下哪个对象是空的我知道啊,但是这里是报的afnal源码错误,不知道怎么去调试,也不知道哪个地方有问题。。。同问,也碰到相同情况……有正确答案的请@我……
版权声明:本文内容由阿里云实名注册用户自发贡献,版权归原作者所有,阿里云开发者社区不拥有其著作权,亦不承担相应法律责任。具体规则请查看《阿里云开发者社区用户服务协议》和《阿里云开发者社区知识产权保护指引》。如果您发现本社区中有涉嫌抄袭的内容,填写侵权投诉表单进行举报,一经查实,本社区将立刻删除涉嫌侵权内容。