java.lang.NullPointerException: Attempt to invoke interface method 'int java.lang.CharSequence.length()' on a null obj ect reference

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by morckx
, 1 year ago
Attempt to invoke interface method 'int java.lang.CharSequence.length()' on a null obj ect reference
via Stack Overflow by Kennedy Job
, 6 months ago
Attempt to invoke interface method 'int java.lang.CharSequence.length()' on a null object reference
java.lang.NullPointerException: Attempt to invoke interface method 'int java.lang.CharSequence.length()' on a null obj ect reference
at android.text.SpannableString.(SpannableString.java:30)
at com.fsck.k9.activity.compose.RecipientAdapter.highlightText(RecipientAdapter.java:182)
at com.fsck.k9.activity.compose.RecipientAdapter.bindView(RecipientAdapter.java:92)
at com.fsck.k9.activity.compose.RecipientAdapter.getView(RecipientAdapter.java:72)
at android.widget.AbsListView.obtainView(AbsListView.java:2346)
at android.widget.ListPopupWindow$DropDownListView.obtainView(ListPopupWindow.java:1734)
at android.widget.ListView.measureHeightOfChildren(ListView.java:1281)
at android.widget.ListPopupWindow.buildDropDown(ListPopupWindow.java:1209)
at android.widget.ListPopupWindow.show(ListPopupWindow.java:584)
at android.widget.AutoCompleteTextView.showDropDown(AutoCompleteTextView.java:1106)
at com.fsck.k9.view.RecipientSelectView.showDropDown(RecipientSelectView.java:226)

Users with the same issue

You are the first who have seen this exception.

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.