Reporting module - class sun.font.CompositeFont cannot be cast to class sun.font.PhysicalFont

#1

After upgrading a project from 7.9 to 8.0.6 i get an exception when creating a report with system.report.executeReport. The same excpetion happens when i create the report with a action in the report designer.
The report preview in the designer is ok.

Ignition is 8.0.6 running on Linux.

Maybe this is related to BUG[12832]

INFO   | jvm 3    | 2019/11/23 06:16:23 |   File "<module:project.reports.scripts>", line 274, in MES_TagesreportSchmiede
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.getDefaultPhysicalFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.initialiseDeferredFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.findJREDeferredFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.findDeferredFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.findFont2D(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/java.awt.Font.getFont2D(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/java.awt.Font.canDisplay(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMFontFile.canDisplay(RMFontFile.java:324)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMFont.canDisplay(RMFont.java:299)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMXStringUtils.getRepresentableString(RMXStringUtils.java:146)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMXString.getRepresentableString(RMXString.java:621)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMTextLayout.layoutText(RMTextLayout.java:131)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMTextLayout.layout(RMTextLayout.java:116)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTextShape.getTextLayout(RMTextShape.java:785)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTextShape.computePrefHeight(RMTextShape.java:846)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getPrefHeight(RMShape.java:2169)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getPrefHeight(RMShape.java:2159)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRowRPG.computePrefHeight(RMTableRowRPG.java:452)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getPrefHeight(RMShape.java:2169)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getBestHeight(RMShape.java:2214)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getBestHeight(RMShape.java:2207)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.setBestHeight(RMShape.java:2221)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRowRPG.rpgAll(RMTableRowRPG.java:56)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRPG.addRows(RMTableRPG.java:251)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRPG.rpgTable(RMTableRPG.java:146)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRPG.rpgAll(RMTableRPG.java:66)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTable.rpgAll(RMTable.java:497)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMParentShape.rpgChildren(RMParentShape.java:574)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMPage.rpgChildren(RMPage.java:658)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMParentShape.rpgAll(RMParentShape.java:561)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMPage.rpgAll(RMPage.java:625)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMDocument.rpgChildren(RMDocument.java:1035)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMParentShape.rpgAll(RMParentShape.java:561)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.generateReport(ReportOwner.java:171)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMDocument.generateReport(RMDocument.java:1011)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMDocument.generateReport(RMDocument.java:981)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.reporting.gateway.scripting.GatewayScriptingFunctions.executeReport(GatewayScriptingFunctions.java:182)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.reporting.common.scripting.ReportScriptingFunctionsPyWrapper.executeReport(ReportScriptingFunctionsPyWrapper.java:62)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | java.lang.ClassCastException: java.lang.ClassCastException: class sun.font.CompositeFont cannot be cast to class sun.font.PhysicalFont (sun.font.CompositeFont and sun.font.PhysicalFont are in module java.desktop of loader 'bootstrap')
INFO   | jvm 3    | 2019/11/23 06:16:23 | 
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.Py.JavaError(Py.java:552)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.Py.JavaError(Py.java:543)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:190)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.ignition.common.script.ScriptManager$ReflectedInstanceFunction.__call__(ScriptManager.java:518)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.PyObject.__call__(PyObject.java:413)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.pycode._pyx88.MES_TagesreportSchmiede$4(<module:project.reports.scripts>:303)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.pycode._pyx88.call_function(<module:project.reports.scripts>)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.PyTableCode.call(PyTableCode.java:171)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.PyBaseCode.call(PyBaseCode.java:171)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.PyFunction.__call__(PyFunction.java:434)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.pycode._pyx24.timer$1(<module:project.reports.report>:12)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.pycode._pyx24.call_function(<module:project.reports.report>)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.PyTableCode.call(PyTableCode.java:171)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.PyBaseCode.call(PyBaseCode.java:125)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.PyFunction.__call__(PyFunction.java:403)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.pycode._pyx23.f$0(<TimerScript:reports/Zeitplan @30,000ms >:1)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.pycode._pyx23.call_function(<TimerScript:reports/Zeitplan @30,000ms >)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.PyTableCode.call(PyTableCode.java:171)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.PyCode.call(PyCode.java:18)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.Py.runCode(Py.java:1614)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(ScriptManager.java:761)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.ignition.common.script.ScriptManager.runCode(ScriptManager.java:716)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.ignition.common.script.TimerScriptTask.run(TimerScriptTask.java:88)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/java.util.TimerThread.mainLoop(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/java.util.TimerThread.run(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | Caused by: org.python.core.PyException: Traceback (most recent call last):
INFO   | jvm 3    | 2019/11/23 06:16:23 |   File "<TimerScript:reports/Zeitplan @30,000ms >", line 1, in <module>
INFO   | jvm 3    | 2019/11/23 06:16:23 |   File "<module:project.reports.report>", line 59, in timer
INFO   | jvm 3    | 2019/11/23 06:16:23 |   File "<module:project.reports.report>", line 59, in timer
INFO   | jvm 3    | 2019/11/23 06:16:23 |   File "<module:project.reports.scripts>", line 274, in MES_TagesreportSchmiede
INFO   | jvm 3    | 2019/11/23 06:16:23 |   File "<module:project.reports.scripts>", line 274, in MES_TagesreportSchmiede
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.getDefaultPhysicalFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.initialiseDeferredFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.findJREDeferredFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.findDeferredFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.findFont2D(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/java.awt.Font.getFont2D(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/java.awt.Font.canDisplay(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMFontFile.canDisplay(RMFontFile.java:324)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMFont.canDisplay(RMFont.java:299)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMXStringUtils.getRepresentableString(RMXStringUtils.java:146)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMXString.getRepresentableString(RMXString.java:621)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMTextLayout.layoutText(RMTextLayout.java:131)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMTextLayout.layout(RMTextLayout.java:116)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTextShape.getTextLayout(RMTextShape.java:785)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTextShape.computePrefHeight(RMTextShape.java:846)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getPrefHeight(RMShape.java:2169)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getPrefHeight(RMShape.java:2159)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRowRPG.computePrefHeight(RMTableRowRPG.java:452)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getPrefHeight(RMShape.java:2169)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getBestHeight(RMShape.java:2214)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getBestHeight(RMShape.java:2207)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.setBestHeight(RMShape.java:2221)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRowRPG.rpgAll(RMTableRowRPG.java:56)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRPG.addRows(RMTableRPG.java:251)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRPG.rpgTable(RMTableRPG.java:146)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRPG.rpgAll(RMTableRPG.java:66)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTable.rpgAll(RMTable.java:497)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMParentShape.rpgChildren(RMParentShape.java:574)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMPage.rpgChildren(RMPage.java:658)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMParentShape.rpgAll(RMParentShape.java:561)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMPage.rpgAll(RMPage.java:625)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMDocument.rpgChildren(RMDocument.java:1035)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMParentShape.rpgAll(RMParentShape.java:561)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.generateReport(ReportOwner.java:171)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMDocument.generateReport(RMDocument.java:1011)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMDocument.generateReport(RMDocument.java:981)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.reporting.gateway.scripting.GatewayScriptingFunctions.executeReport(GatewayScriptingFunctions.java:182)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.reporting.common.scripting.ReportScriptingFunctionsPyWrapper.executeReport(ReportScriptingFunctionsPyWrapper.java:62)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | java.lang.ClassCastException: java.lang.ClassCastException: class sun.font.CompositeFont cannot be cast to class sun.font.PhysicalFont (sun.font.CompositeFont and sun.font.PhysicalFont are in module java.desktop of loader 'bootstrap')
INFO   | jvm 3    | 2019/11/23 06:16:23 | 
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	... 25 common frames omitted
INFO   | jvm 3    | 2019/11/23 06:16:23 | Caused by: java.lang.ClassCastException: class sun.font.CompositeFont cannot be cast to class sun.font.PhysicalFont (sun.font.CompositeFont and sun.font.PhysicalFont are in module java.desktop of loader 'bootstrap')
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.getDefaultPhysicalFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.initialiseDeferredFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.findJREDeferredFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.findDeferredFont(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/sun.font.SunFontManager.findFont2D(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/java.awt.Font.getFont2D(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.desktop/java.awt.Font.canDisplay(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMFontFile.canDisplay(RMFontFile.java:324)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMFont.canDisplay(RMFont.java:299)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMXStringUtils.getRepresentableString(RMXStringUtils.java:146)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMXString.getRepresentableString(RMXString.java:621)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMTextLayout.layoutText(RMTextLayout.java:131)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.text.RMTextLayout.layout(RMTextLayout.java:116)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTextShape.getTextLayout(RMTextShape.java:785)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTextShape.computePrefHeight(RMTextShape.java:846)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getPrefHeight(RMShape.java:2169)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getPrefHeight(RMShape.java:2159)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRowRPG.computePrefHeight(RMTableRowRPG.java:452)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getPrefHeight(RMShape.java:2169)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getBestHeight(RMShape.java:2214)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.getBestHeight(RMShape.java:2207)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMShape.setBestHeight(RMShape.java:2221)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRowRPG.rpgAll(RMTableRowRPG.java:56)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRPG.addRows(RMTableRPG.java:251)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRPG.rpgTable(RMTableRPG.java:146)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTableRPG.rpgAll(RMTableRPG.java:66)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMTable.rpgAll(RMTable.java:497)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMParentShape.rpgChildren(RMParentShape.java:574)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMPage.rpgChildren(RMPage.java:658)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMParentShape.rpgAll(RMParentShape.java:561)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMPage.rpgAll(RMPage.java:625)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMDocument.rpgChildren(RMDocument.java:1035)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMParentShape.rpgAll(RMParentShape.java:561)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.rpg(ReportOwner.java:180)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.ReportOwner.generateReport(ReportOwner.java:171)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMDocument.generateReport(RMDocument.java:1011)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.rm.shape.RMDocument.generateReport(RMDocument.java:981)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.reporting.gateway.scripting.GatewayScriptingFunctions.executeReport(GatewayScriptingFunctions.java:182)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at com.inductiveautomation.reporting.common.scripting.ReportScriptingFunctionsPyWrapper.executeReport(ReportScriptingFunctionsPyWrapper.java:62)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/jdk.internal.reflect.NativeMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/jdk.internal.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at java.base/java.lang.reflect.Method.invoke(Unknown Source)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	at org.python.core.PyReflectedFunction.__call__(PyReflectedFunction.java:188)
INFO   | jvm 3    | 2019/11/23 06:16:23 | 	... 22 common frames omitted

0 Likes

#2

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.

2 Likes