java.lang.IllegalArgumentException: FontSize must be greater than 0


Solutions on the web2

Solution icon of pentaho
via Pentaho BI Platform Tracking by Gretchen Moran, 1 year ago
FontSize must be greater than 0

Solution icon of pentaho
via Pentaho BI Platform Tracking by Gretchen Moran, 1 year ago
FontSize must be greater than 0

Stack trace

java.lang.IllegalArgumentException: FontSize must be greater than 0
	at org.jfree.report.style.FontDefinition.<init>(FontDefinition.java:157)
	at org.jfree.report.style.ElementStyleSheet.getFontDefinitionProperty(ElementStyleSheet.java:951)
	at org.jfree.report.TextElement.getFont(TextElement.java:328)
	at org.pentaho.reportdesigner.crm.report.reportimporter.JFreeReportImporter.applyTextProperties(JFreeReportImporter.java:734)
	at org.pentaho.reportdesigner.crm.report.reportimporter.JFreeReportImporter.addElement(JFreeReportImporter.java:516)
	at org.pentaho.reportdesigner.crm.report.reportimporter.JFreeReportImporter.addElements(JFreeReportImporter.java:417)
	at org.pentaho.reportdesigner.crm.report.reportimporter.JFreeReportImporter.importStandardBands(JFreeReportImporter.java:163)
	at org.pentaho.reportdesigner.crm.report.reportimporter.JFreeReportImporter.<init>(JFreeReportImporter.java:133)
	at org.pentaho.reportdesigner.crm.report.commands.ImportReportDefinitionAsXMLCommand$2.run(ImportReportDefinitionAsXMLCommand.java:190)

Write tip

You have a different solution? A short tip here would help you and many other users who saw this issue last week.

Users with the same issue

You are the first who have seen this exception. Write a tip to help other users and build your expert profile.