Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

空指针问题 #5

Open
baonanhai opened this issue Jun 15, 2017 · 4 comments
Open

空指针问题 #5

baonanhai opened this issue Jun 15, 2017 · 4 comments

Comments

@baonanhai
Copy link

                                               java.lang.NullPointerException: Attempt to invoke virtual method 'int java.io.InputStream.read(byte[], int, int)' on a null object reference
                                                   at cn.droidlover.xrichtext.BaseImageLoader.readAndCloseStream(BaseImageLoader.java:77)
                                                   at cn.droidlover.xrichtext.BaseImageLoader.getBitmap(BaseImageLoader.java:47)
                                                   at cn.droidlover.xrichtext.XRichText$LocalImageGetter$1.run(XRichText.java:308)
                                                   at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1113)
                                                   at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:588)
                                                   at java.lang.Thread.run(Thread.java:818)
@baonanhai
Copy link
Author

我们把这个用在列表中,每一项都有这个.然后快速上下滑动,反复加载刷新的过程中出错程序崩溃.但是比较难出现这个问题,某些手机上可能出现比较容易.

@jackycaojiaqi
Copy link

项目已经不维护了吗? @limedroid

@baonanhai
Copy link
Author

估计是不维护了啊

@VergeDX
Copy link

VergeDX commented May 13, 2021

Same issues here... I recommend this solution: How to display HTML in TextView?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants