Opening Invoice Creation Tool - Error: AttributeError: 'NoneType' object has no attribute 'name'

When creating bulk invoice by Opening Invoice Creation Tool, below are the error message display on my JavaScript console:

Traceback (most recent call last):
File “/home/erp/frappe-bench/apps/frappe/frappe/”, line 62, in application
response = frappe.handler.handle()
File “/home/erp/frappe-bench/apps/frappe/frappe/”, line 22, in handle
data = execute_cmd(cmd)
File “/home/erp/frappe-bench/apps/frappe/frappe/”, line 53, in execute_cmd
return, **frappe.form_dict)
File “/home/erp/frappe-bench/apps/frappe/frappe/”, line 939, in call
return fn(*args, **newargs)
File “/home/erp/frappe-bench/apps/frappe/frappe/”, line 81, in runserverobj
frappe.desk.form.run_method.runserverobj(method, docs=docs, dt=dt, dn=dn, arg=arg, args=args)
File “/home/erp/frappe-bench/apps/frappe/frappe/desk/form/”, line 36, in runserverobj
r = doc.run_method(method)
File “/home/erp/frappe-bench/apps/frappe/frappe/model/”, line 758, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/erp/frappe-bench/apps/frappe/frappe/model/”, line 1027, in composer
return composed(self, method, *args, **kwargs)
File “/home/erp/frappe-bench/apps/frappe/frappe/model/”, line 1010, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/erp/frappe-bench/apps/frappe/frappe/model/”, line 752, in
fn = lambda self, *args, **kwargs: getattr(self, method)(*args, **kwargs)
File “/home/erp/frappe-bench/apps/erpnext/erpnext/accounts/doctype/opening_invoice_creation_tool/”, line 95, in make_invoices
doc = frappe.get_doc(args).insert()
File “/home/erp/frappe-bench/apps/frappe/frappe/model/”, line 220, in insert
File “/home/erp/frappe-bench/apps/frappe/frappe/model/”, line 717, in _validate_links
invalid_links, cancelled_links = self.get_invalid_links()
File “/home/erp/frappe-bench/apps/frappe/frappe/model/”, line 465, in get_invalid_links
setattr(self, df.fieldname,
AttributeError: ‘NoneType’ object has no attribute ‘name’

Please guide me how to resolve this issue to utilize the Opening Invoice Creation Tool.

Its seem that Party Name in uploaded file is not present in the system.