Error when trying to load profit and loss statement by year

Hi,

I got this error message when I tried to load P&L statement yearly. Other periodicity works fine though.
Traceback (most recent call last):
File “/home/frappe/benches/bench-2017-07-26/apps/frappe/frappe/app.py”, line 56, in application
response = frappe.handler.handle()
File “/home/frappe/benches/bench-2017-07-26/apps/frappe/frappe/handler.py”, line 21, in handle
data = execute_cmd(cmd)
File “/home/frappe/benches/bench-2017-07-26/apps/frappe/frappe/handler.py”, line 52, in execute_cmd
return frappe.call(method, **frappe.form_dict)
File “/home/frappe/benches/bench-2017-07-26/apps/frappe/frappe/init.py”, line 922, in call
return fn(*args, **newargs)
File “/home/frappe/benches/bench-2017-07-26/apps/frappe/frappe/desk/query_report.py”, line 95, in run
res = frappe.get_attr(method_name)(frappe._dict(filters))
File “/home/frappe/benches/bench-2017-07-26/apps/erpnext/erpnext/accounts/report/profit_and_loss_statement/profit_and_loss_statement.py”, line 16, in execute
ignore_closing_entries=True, ignore_accumulated_values_for_fy= True)
File “/home/frappe/benches/bench-2017-07-26/apps/erpnext/erpnext/accounts/report/financial_statements.py”, line 130, in get_data
period_list[0][“year_start_date”] if only_current_fiscal_year else None,
IndexError: list index out of range

Please help. Thanks!