TypeError c.content is null

When closing a report tab I get a TypeError c.content is null message and cannot close the tab. Current master.