Update:
The cause of this problem was moving a gateway from Windows to Linux. On Linux, some fonts are not available and the JDK needs the fontconfig package to find a replacement for those fonts.
After installing the fontconfig package and restarting the gateway, the exception is gone. Of course the report looks terrible with the replacement fonts, but at least it can be generated.