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

Attempt to invoke virtual method 'float android.text.Layout.getLineLeft(int)' on a null object reference #115

Closed
janvalji opened this issue Dec 28, 2020 · 1 comment

Comments

@janvalji
Copy link

janvalji commented Dec 28, 2020

The application is constantly crashing. it sometimes improves when it starts with a delay, but when I press the home button (at the time of loading) it gives an error. you have to help .. everyone is waiting for your help on this issue
@hanks-zyh

'float android.text.Layout.getLineLeft(int)'

`java.lang.NullPointerException: 
  at com.hanks.htextview.evaporate.EvaporateText$3.run (EvaporateText.java:2)
  at android.os.Handler.handleCallback (Handler.java:914)
  at android.os.Handler.dispatchMessage (Handler.java:100)
  at android.os.Looper.loop (Looper.java:225)
  at android.app.ActivityThread.main (ActivityThread.java:7564)
  at java.lang.reflect.Method.invoke (Method.java)
  at com.android.internal.os.RuntimeInit$MethodAndArgsCaller.run (RuntimeInit.java:539)
  at com.android.internal.os.ZygoteInit.main (ZygoteInit.java:950)`
@bumibest
Copy link

Same here

java.lang.NullPointerException: Attempt to invoke virtual method 'float android.text.Layout.getLineLeft(int)' on a null object reference
        at com.hanks.htextview.scale.ScaleText.drawFrame(ScaleText.java:98)
        at com.hanks.htextview.base.HText.onDraw(HText.java:114)
        at com.hanks.htextview.scale.ScaleTextView.onDraw(ScaleTextView.java:44)``

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

2 participants