Thanks Joost and All,
The problem was down to a difference in the JDK:
[psmuser@iedub1lvtweb502 fonts]$ java -version
openjdk version "1.8.0_131"
OpenJDK Runtime Environment (build 1.8.0_131-b12)
OpenJDK 64-Bit Server VM (build 25.131-b12, mixed mode)
[psmuser@IEDU2LVTAPP004 ~]$ java -version
openjdk version "1.8.0_161"
OpenJDK Runtime Environment (build 1.8.0_161-b14)
OpenJDK 64-Bit Server VM (build 25.161-b14, mixed mode)
The issue is a bug reported on Redhat:
https://access.redhat.com/solutions/3145721 ( subscriber exclusive content, i not a subscriber )
The bug is we are not able to use font sans serif.
.
The error:
Caused by: java.lang.ArrayIndexOutOfBoundsException: 0
at sun.font.CompositeFont.getSlotFont(CompositeFont.java:351)
at sun.font.CompositeGlyphMapper.initMapper(CompositeGlyphMapper.java:81)
at sun.font.CompositeGlyphMapper.<init>(CompositeGlyphMapper.java:62)
at sun.font.CompositeFont.getMapper(CompositeFont.java:409)
at sun.font.CompositeFont.canDisplay(CompositeFont.java:435
The issue happens only on Red hat version 7.4
The workaround, I created a file to force psmuser to change the font.
Hello Adrian,
Could this be something as simple as attempting to export a document without passing in any data? Have you inspected the data that's used in the export attempt?
Which JDK do you use? Because OpenJDK has a bug there