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

Pentaho BI Platform Tracking | Gretchen Moran | 10 years ago
  1. 0

    This bug was reported in the forums. I have tested the repro path with the same builds and my test fails as well. I have added the .xreportspec that was generated during my tests in case that helps to expedite the fix: From Wismed on the forums (http://forums.pentaho.org/showthread.php?p=156307#post156307): I created a generic report using the SampleData in the standalone pentaho-report-design-wizard-1.2.0.373.GA. I didn't change any of the defaults when creating the report just went through and published it. When I try to import it (the .xreportspec file) into ReportDesigner 1.2.0 build 143 it always errors with this message...you can only input valid JFreeReport xml files. 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)

    Pentaho BI Platform Tracking | 10 years ago | Gretchen Moran
    java.lang.IllegalArgumentException: FontSize must be greater than 0
  2. 0

    This bug was reported in the forums. I have tested the repro path with the same builds and my test fails as well. I have added the .xreportspec that was generated during my tests in case that helps to expedite the fix: From Wismed on the forums (http://forums.pentaho.org/showthread.php?p=156307#post156307): I created a generic report using the SampleData in the standalone pentaho-report-design-wizard-1.2.0.373.GA. I didn't change any of the defaults when creating the report just went through and published it. When I try to import it (the .xreportspec file) into ReportDesigner 1.2.0 build 143 it always errors with this message...you can only input valid JFreeReport xml files. 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)

    Pentaho BI Platform Tracking | 10 years ago | Gretchen Moran
    java.lang.IllegalArgumentException: FontSize must be greater than 0
  3. 0

    custom auth provider problem

    Oracle Community | 6 years ago | 780358
    java.lang.IllegalArgumentException: Max must be greater than 0: 0
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    Issue 1116 in zxing: IllegalArgumentException thrown (possibly) incorrectly

    Google Groups | 5 years ago | zx...@googlecode.com
    java.lang.IllegalArgumentException: Both dimensions must be greater than 0
  6. 0

    GitHub comment 264#241934302

    GitHub | 3 months ago | susussa
    java.lang.IllegalArgumentException: Both dimensions must be greater than 0

    Not finding the right solution?
    Take a tour to get the most out of Samebug.

    Tired of useless tips?

    Automated exception search integrated into your IDE

    Root Cause Analysis

    1. java.lang.IllegalArgumentException

      FontSize must be greater than 0

      at org.jfree.report.style.FontDefinition.<init>()
    2. org.jfree.report
      TextElement.getFont
      1. org.jfree.report.style.FontDefinition.<init>(FontDefinition.java:157)
      2. org.jfree.report.style.ElementStyleSheet.getFontDefinitionProperty(ElementStyleSheet.java:951)
      3. org.jfree.report.TextElement.getFont(TextElement.java:328)
      3 frames
    3. org.pentaho.reportdesigner
      ImportReportDefinitionAsXMLCommand$2.run
      1. org.pentaho.reportdesigner.crm.report.reportimporter.JFreeReportImporter.applyTextProperties(JFreeReportImporter.java:734)
      2. org.pentaho.reportdesigner.crm.report.reportimporter.JFreeReportImporter.addElement(JFreeReportImporter.java:516)
      3. org.pentaho.reportdesigner.crm.report.reportimporter.JFreeReportImporter.addElements(JFreeReportImporter.java:417)
      4. org.pentaho.reportdesigner.crm.report.reportimporter.JFreeReportImporter.importStandardBands(JFreeReportImporter.java:163)
      5. org.pentaho.reportdesigner.crm.report.reportimporter.JFreeReportImporter.<init>(JFreeReportImporter.java:133)
      6. org.pentaho.reportdesigner.crm.report.commands.ImportReportDefinitionAsXMLCommand$2.run(ImportReportDefinitionAsXMLCommand.java:190)
      6 frames