After upgrading to 4.x, the coverage statistics gadget shows an error in the dashboard.
Due to the change in architecture, the only resolution is to re-create the gadgets in the dashboard.
- Delete the gadget showing an error in the dashboard
- Manage your Dashboard and add the gadget "Coverage Statistics for Jira"
- Configure the gadget by choosing a project and a corresponding coverage filter
- Click Save