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

Hi,
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/app.py”, line 62, in application
response = frappe.handler.handle()
File “/home/erp/frappe-bench/apps/frappe/frappe/handler.py”, line 22, in handle
data = execute_cmd(cmd)
File “/home/erp/frappe-bench/apps/frappe/frappe/handler.py”, line 53, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/erp/frappe-bench/apps/frappe/frappe/init.py”, line 939, in call
return fn(*args, **newargs)
File “/home/erp/frappe-bench/apps/frappe/frappe/handler.py”, 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/run_method.py”, line 36, in runserverobj
r = doc.run_method(method)
File “/home/erp/frappe-bench/apps/frappe/frappe/model/document.py”, line 758, in run_method
out = Document.hook(fn)(self, *args, **kwargs)
File “/home/erp/frappe-bench/apps/frappe/frappe/model/document.py”, line 1027, in composer
return composed(self, method, *args, **kwargs)
File “/home/erp/frappe-bench/apps/frappe/frappe/model/document.py”, line 1010, in runner
add_to_return_value(self, fn(self, *args, **kwargs))
File “/home/erp/frappe-bench/apps/frappe/frappe/model/document.py”, 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/opening_invoice_creation_tool.py”, line 95, in make_invoices
doc = frappe.get_doc(args).insert()
File “/home/erp/frappe-bench/apps/frappe/frappe/model/document.py”, line 220, in insert
self._validate_links()
File “/home/erp/frappe-bench/apps/frappe/frappe/model/document.py”, line 717, in _validate_links
invalid_links, cancelled_links = self.get_invalid_links()
File “/home/erp/frappe-bench/apps/frappe/frappe/model/base_document.py”, line 465, in get_invalid_links
setattr(self, df.fieldname, values.name)
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.