java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.getWindowVisibleDisplayFrame(android.graphics.Rect)' on a null object reference


Solutions on the web

Solution icon of stackoverflow
Attempt to invoke virtual method 'void android.view.View.getWindowVisibleDisplayFrame(android.graphics.Rect)' on a null object reference

Solution icon of stackoverflow
Attempt to invoke virtual method 'void android.view.View.getWindowVisibleDisplayFrame(android.graphics.Rect)' on a null object reference

Solution icon of stackoverflow
Attempt to invoke virtual method 'void android.view.View.getWindowVisibleDisplayFrame(android.graphics.Rect)' on a null object reference

Solution icon of web
via blogspot.com by Unknown author, 1 year ago
Attempt to invoke virtual method 'void android.view.View.getWindowVisibleDisplayFrame(android.graphics.Rect)' on a null object reference

Stack trace

java.lang.NullPointerException: Attempt to invoke virtual method 'void android.view.View.getWindowVisibleDisplayFrame(android.graphics.Rect)' on a null object reference
	at android.widget.PopupWindow.getMaxAvailableHeight(PopupWindow.java:1764)
	at android.widget.ListPopupWindow.buildDropDown(ListPopupWindow.java:1206)
	at android.widget.ListPopupWindow.show(ListPopupWindow.java:596)
	at android.widget.AutoCompleteTextView.showDropDown(AutoCompleteTextView.java:1215)
	at android.widget.AutoCompleteTextView.updateDropDownForFilter(AutoCompleteTextView.java:1084)
	at android.widget.AutoCompleteTextView.onFilterComplete(AutoCompleteTextView.java:1066)
	at android.widget.Filter$ResultsHandler.handleMessage(Filter.java:285)
	at android.os.Handler.dispatchMessage(Handler.java:102)
	at android.os.Looper.loop(Looper.java:154)
	at android.app.ActivityThread.main(ActivityThread.java:6119)
	at java.lang.reflect.Method.invoke(Native Method)
	at com.android.internal.os.ZygoteInit$MethodAndArgsCaller.run(ZygoteInit.java:886)
	at com.android.internal.os.ZygoteInit.main(ZygoteInit.java:776)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

11 times, 3 weeks ago
Once, 4 weeks ago
Samebug visitor profile picture
Unknown user
Once, 2 months ago
Samebug visitor profile picture
Unknown user
2 times, 4 months ago
Samebug visitor profile picture
Unknown user
Once, 7 months ago
84 more bugmates