Suddenly receiving error on templates calling cfdo...
# cfml-general
u
Suddenly receiving error on templates calling cfdocument in prod:
An exception occurred when performing document processing.
The cause of this exception was that: java.lang.NoClassDefFoundError: Could not initialize class sun.font.SunFontManager.
Any ideas what may be causing this? TIA.
e
you do not have the font being requested installed.
ie, Edit jvm.config file and add the below argument: --add-exports java.desktop/sun.font=ALL-UNNAMED
👍 2
t
I've also seen similar things recently after applying some recent CF updates. Uninstalling and reinstalling the pdf and/or document packages seems to fix it.
👍 1