Autocomplete error for contacts when sharing e.g. task

Maybe this might help . Something wrong with get_contact_list

Traceback (most recent call last):
File “/home/frappe/frappe-bench/apps/frappe/frappe/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/frappe/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/frappe-bench/apps/frappe/frappe/init.py”, line 942, in call
return fn(*args, **newargs)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/init.py”, line 15, in get_contact_list
cached_contacts = get_cached_contacts(txt)
File “/home/frappe/frappe-bench/apps/frappe/frappe/email/init.py”, line 92, in get_cached_contacts
match = [d for d in contacts if (txt in d.value or txt in d.description)]
TypeError: argument of type ‘NoneType’ is not iterable