Android – Attempt to invoke virtual method ‘void android.view.View.getBoundsOnScreen(android.graphics.Rect)’ on a null object reference

Problem is a known Android bug. From the Google issue tracker suggestions, setting the hint on the TextInputEditText seems to be causing the crash. Setting the hint only on the TextInputLayout fixes the crash.

This issue only happens IF the hint is set on the nested EditText
inside the TextInputLayout. I resolved it by setting the hint on the
TextInputLayout.

https://issuetracker.google.com/issues/62834931
Comment #28

Leave a Comment

Hata!: SQLSTATE[HY000] [1045] Access denied for user 'divattrend_liink'@'localhost' (using password: YES)