cancel
Showing results for 
Search instead for 
Did you mean: 

Export to PDF with OpenJDK 11

Former Member
0 Kudos

I am trying to use SAP Crystal Reports, version for eclipse and upgrade my application to openjdk 11. I am getting the following error. I think this has something to do with the way fonts are not bundled into the jdk any longer. I do not know if I'm correct though, has anyone had any luck with open jdk 11 and exporting to pdf?


Caused by: java.lang.NullPointerException
at com.crystal2012//com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.OpenTypeFontManager.if(SourceFile:211)
at com.crystal2012//com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.OpenTypeFontManager.a(SourceFile:70)
at com.crystal2012//com.crystaldecisions.reports.exporters.format.page.pdf.fontembedding.opentype.OpenTypeFontManager.if(SourceFile:77)

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member203619
Contributor
0 Kudos

Hi Joseph,

There was another post with a very similar issue to yours here:

https://answers.sap.com/questions/676449/nullpointerexception-in-opentypefontmanager.html?childToVie...

They fixed it by copying the windows fonts into the font folder of their java JVM. (jvm/jre/lib/fonts)

Shawn