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

EvaporateText getLineLeft NPE #96

Open
ghost opened this issue Sep 16, 2018 · 4 comments
Open

EvaporateText getLineLeft NPE #96

ghost opened this issue Sep 16, 2018 · 4 comments
Labels

Comments

@ghost
Copy link

ghost commented Sep 16, 2018

java.lang.NullPointerException: Attempt to invoke virtual method 'float android.text.Layout.getLineLeft(int)' on a null object reference at com.hanks.htextview.evaporate.EvaporateText$3.run(EvaporateText.java:65) at android.os.Handler.handleCallback(Handler.java:790) at android.os.Handler.dispatchMessage(Handler.java:99) at android.os.Looper.loop(Looper.java:164) at android.app.ActivityThread.main(ActivityThread.java:6669) at java.lang.reflect.Method.invoke(Native Method) at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run(RuntimeInit.java:547) at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:821)

这个 BUG 什么时候才能修复呀,如果不能修复能不能加个判断,如果为空就不做动画了

@pcg92
Copy link

pcg92 commented Sep 20, 2018

+1 this library isnt working

@ghost
Copy link
Author

ghost commented Sep 22, 2018

@hanks-zyh 大佬请问何时修复一下下

@sebinpaul
Copy link

I'm too facing this issue. Can anybody suggest me some workaround for this?

@janvalji
Copy link

ups

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

No branches or pull requests

4 participants