Export as PDF returns empty file

Export as PDF returns empty file

I tried exporting two invoices to PDF, it took very long and then failed.

Now when I try exporting again, I get two empty files (0kb) and I cannot open them of course. It seems that something went wrong and that this "wrong file" is now cached.

Can I do something to fix this?