org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed at query: SELECT "ORDERFACT"."QUANTITYORDERED", "ORDERFACT"."PRICEEACH", "ORDERFACT"."ORDERLINENUMBER", "ORDERFACT"."TOTALPRICE", "ORDERFACT"."SHIPPEDDATE", "ORDERFACT"."STATUS", "PRODUCTS"."PRODUCTNAME", "PRODUCTS"."PRODUCTCODE", "ORDERFACT"."PRODUCTCODE", "PRODUCTS"."PRODUCTLINE" FROM "PRODUCTS" INNER JOIN "ORDERFACT" ON "PRODUCTS"."PRODUCTCODE" = "ORDERFACT"."PRODUCTCODE" WHERE "ORDERFACT"."STATUS" <> 'Shipped' AND "PRODUCTS"."PRODUCTLINE" = 'Ships' GROUP BY "ORDERFACT"."STATUS" ORDER BY "ORDERFACT"."STATUS" ASC

Pentaho BI Platform Tracking | Jem Matzan | 8 years ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Instead of showing the error message below, I would rather have something like this... Bad Query: Not in aggregate function or group by clause org.pentaho.reporting.engine.classic.core.ReportProcessingException: Unable to initialize the report at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:468) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:261) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) ParentException: org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed at query: SELECT "ORDERFACT"."QUANTITYORDERED", "ORDERFACT"."PRICEEACH", "ORDERFACT"."ORDERLINENUMBER", "ORDERFACT"."TOTALPRICE", "ORDERFACT"."SHIPPEDDATE", "ORDERFACT"."STATUS", "PRODUCTS"."PRODUCTNAME", "PRODUCTS"."PRODUCTCODE", "ORDERFACT"."PRODUCTCODE", "PRODUCTS"."PRODUCTLINE" FROM "PRODUCTS" INNER JOIN "ORDERFACT" ON "PRODUCTS"."PRODUCTCODE" = "ORDERFACT"."PRODUCTCODE" WHERE "ORDERFACT"."STATUS" <> 'Shipped' AND "PRODUCTS"."PRODUCTLINE" = 'Ships' GROUP BY "ORDERFACT"."STATUS" ORDER BY "ORDERFACT"."STATUS" ASC at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:138) at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLReportDataFactory.queryData(SQLReportDataFactory.java:95) at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:88) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryInternal(CachingDataFactory.java:168) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryData(CachingDataFactory.java:143) at org.pentaho.reporting.engine.classic.core.states.CascadingDataFactory.queryData(CascadingDataFactory.java:81) at org.pentaho.reporting.engine.classic.core.states.datarow.ReportDataRow.createDataRow(ReportDataRow.java:97) at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQuery(DefaultFlowController.java:185) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:255) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:375) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:261) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) ParentException: java.sql.SQLException: Not in aggregate function or group by clause: org.hsqldb.Expression@1cac6db in statement [SELECT "ORDERFACT"."QUANTITYORDERED", "ORDERFACT"."PRICEEACH", "ORDERFACT"."ORDERLINENUMBER", "ORDERFACT"."TOTALPRICE", "ORDERFACT"."SHIPPEDDATE", "ORDERFACT"."STATUS", "PRODUCTS"."PRODUCTNAME", "PRODUCTS"."PRODUCTCODE", "ORDERFACT"."PRODUCTCODE", "PRODUCTS"."PRODUCTLINE" FROM "PRODUCTS" INNER JOIN "ORDERFACT" ON "PRODUCTS"."PRODUCTCODE" = "ORDERFACT"."PRODUCTCODE" WHERE "ORDERFACT"."STATUS" <> 'Shipped' AND "PRODUCTS"."PRODUCTLINE" = 'Ships' GROUP BY "ORDERFACT"."STATUS" ORDER BY "ORDERFACT"."STATUS" ASC] at org.hsqldb.jdbc.Util.throwError(Unknown Source) at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source) at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source) at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.parametrizeAndQuery(SimpleSQLReportDataFactory.java:160) at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:134) at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLReportDataFactory.queryData(SQLReportDataFactory.java:95) at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:88) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryInternal(CachingDataFactory.java:168) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryData(CachingDataFactory.java:143) at org.pentaho.reporting.engine.classic.core.states.CascadingDataFactory.queryData(CascadingDataFactory.java:81) at org.pentaho.reporting.engine.classic.core.states.datarow.ReportDataRow.createDataRow(ReportDataRow.java:97) at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQuery(DefaultFlowController.java:185) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:255) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:375) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:261) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174)

    Pentaho BI Platform Tracking | 8 years ago | Jem Matzan
    org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed at query: SELECT "ORDERFACT"."QUANTITYORDERED", "ORDERFACT"."PRICEEACH", "ORDERFACT"."ORDERLINENUMBER", "ORDERFACT"."TOTALPRICE", "ORDERFACT"."SHIPPEDDATE", "ORDERFACT"."STATUS", "PRODUCTS"."PRODUCTNAME", "PRODUCTS"."PRODUCTCODE", "ORDERFACT"."PRODUCTCODE", "PRODUCTS"."PRODUCTLINE" FROM "PRODUCTS" INNER JOIN "ORDERFACT" ON "PRODUCTS"."PRODUCTCODE" = "ORDERFACT"."PRODUCTCODE" WHERE "ORDERFACT"."STATUS" <> 'Shipped' AND "PRODUCTS"."PRODUCTLINE" = 'Ships' GROUP BY "ORDERFACT"."STATUS" ORDER BY "ORDERFACT"."STATUS" ASC
  2. 0

    Instead of showing the error message below, I would rather have something like this... Bad Query: Not in aggregate function or group by clause org.pentaho.reporting.engine.classic.core.ReportProcessingException: Unable to initialize the report at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:468) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:261) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) ParentException: org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed at query: SELECT "ORDERFACT"."QUANTITYORDERED", "ORDERFACT"."PRICEEACH", "ORDERFACT"."ORDERLINENUMBER", "ORDERFACT"."TOTALPRICE", "ORDERFACT"."SHIPPEDDATE", "ORDERFACT"."STATUS", "PRODUCTS"."PRODUCTNAME", "PRODUCTS"."PRODUCTCODE", "ORDERFACT"."PRODUCTCODE", "PRODUCTS"."PRODUCTLINE" FROM "PRODUCTS" INNER JOIN "ORDERFACT" ON "PRODUCTS"."PRODUCTCODE" = "ORDERFACT"."PRODUCTCODE" WHERE "ORDERFACT"."STATUS" <> 'Shipped' AND "PRODUCTS"."PRODUCTLINE" = 'Ships' GROUP BY "ORDERFACT"."STATUS" ORDER BY "ORDERFACT"."STATUS" ASC at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:138) at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLReportDataFactory.queryData(SQLReportDataFactory.java:95) at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:88) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryInternal(CachingDataFactory.java:168) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryData(CachingDataFactory.java:143) at org.pentaho.reporting.engine.classic.core.states.CascadingDataFactory.queryData(CascadingDataFactory.java:81) at org.pentaho.reporting.engine.classic.core.states.datarow.ReportDataRow.createDataRow(ReportDataRow.java:97) at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQuery(DefaultFlowController.java:185) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:255) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:375) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:261) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) ParentException: java.sql.SQLException: Not in aggregate function or group by clause: org.hsqldb.Expression@1cac6db in statement [SELECT "ORDERFACT"."QUANTITYORDERED", "ORDERFACT"."PRICEEACH", "ORDERFACT"."ORDERLINENUMBER", "ORDERFACT"."TOTALPRICE", "ORDERFACT"."SHIPPEDDATE", "ORDERFACT"."STATUS", "PRODUCTS"."PRODUCTNAME", "PRODUCTS"."PRODUCTCODE", "ORDERFACT"."PRODUCTCODE", "PRODUCTS"."PRODUCTLINE" FROM "PRODUCTS" INNER JOIN "ORDERFACT" ON "PRODUCTS"."PRODUCTCODE" = "ORDERFACT"."PRODUCTCODE" WHERE "ORDERFACT"."STATUS" <> 'Shipped' AND "PRODUCTS"."PRODUCTLINE" = 'Ships' GROUP BY "ORDERFACT"."STATUS" ORDER BY "ORDERFACT"."STATUS" ASC] at org.hsqldb.jdbc.Util.throwError(Unknown Source) at org.hsqldb.jdbc.jdbcPreparedStatement.<init>(Unknown Source) at org.hsqldb.jdbc.jdbcConnection.prepareStatement(Unknown Source) at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.parametrizeAndQuery(SimpleSQLReportDataFactory.java:160) at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:134) at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLReportDataFactory.queryData(SQLReportDataFactory.java:95) at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:88) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryInternal(CachingDataFactory.java:168) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryData(CachingDataFactory.java:143) at org.pentaho.reporting.engine.classic.core.states.CascadingDataFactory.queryData(CascadingDataFactory.java:81) at org.pentaho.reporting.engine.classic.core.states.datarow.ReportDataRow.createDataRow(ReportDataRow.java:97) at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQuery(DefaultFlowController.java:185) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:255) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:375) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:261) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174)

    Pentaho BI Platform Tracking | 8 years ago | Jem Matzan
    org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed at query: SELECT "ORDERFACT"."QUANTITYORDERED", "ORDERFACT"."PRICEEACH", "ORDERFACT"."ORDERLINENUMBER", "ORDERFACT"."TOTALPRICE", "ORDERFACT"."SHIPPEDDATE", "ORDERFACT"."STATUS", "PRODUCTS"."PRODUCTNAME", "PRODUCTS"."PRODUCTCODE", "ORDERFACT"."PRODUCTCODE", "PRODUCTS"."PRODUCTLINE" FROM "PRODUCTS" INNER JOIN "ORDERFACT" ON "PRODUCTS"."PRODUCTCODE" = "ORDERFACT"."PRODUCTCODE" WHERE "ORDERFACT"."STATUS" <> 'Shipped' AND "PRODUCTS"."PRODUCTLINE" = 'Ships' GROUP BY "ORDERFACT"."STATUS" ORDER BY "ORDERFACT"."STATUS" ASC
  3. 0

    Call Stored Procedure in Pentaho Reporting

    pentaho.com | 2 years ago
    org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed at query: { call cursorResultSet() }
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

  5. 0

    I get the following exception when I create a very simple report from the attached metadata model, after saving and reopening the file: org.pentaho.reporting.engine.classic.core.ReportProcessingException: Unable to initialize the report at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:472) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187) ParentException: org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Unable to open meta-data layer at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.PmdDataFactory.open(PmdDataFactory.java:293) at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.open(CompoundDataFactory.java:142) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.open(CachingDataFactory.java:113) at org.pentaho.reporting.engine.classic.core.parameters.DefaultParameterContext.open(DefaultParameterContext.java:69) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:172) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:387) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187) ParentException: org.pentaho.reporting.libraries.resourceloader.UnrecognizedLoaderException: This bundle data does not point to readable content. at org.pentaho.reporting.libraries.docbundle.bundleloader.RepositoryResourceBundleData.<init>(RepositoryResourceBundleData.java:95) at org.pentaho.reporting.libraries.docbundle.bundleloader.RepositoryResourceBundleData.deriveData(RepositoryResourceBundleData.java:144) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.load(ResourceManager.java:284) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:388) at org.pentaho.reporting.libraries.resourceloader.ResourceManager.create(ResourceManager.java:353) at org.pentaho.reporting.engine.classic.extensions.datasources.pmd.PmdDataFactory.open(PmdDataFactory.java:241) at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.open(CompoundDataFactory.java:142) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.open(CachingDataFactory.java:113) at org.pentaho.reporting.engine.classic.core.parameters.DefaultParameterContext.open(DefaultParameterContext.java:69) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:172) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:387) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:90) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:270) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:187)

    Pentaho BI Platform Tracking | 8 years ago | Will Gorman
    org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Unable to open meta-data layer
  6. 0

    Some of the samples fail to preview. There are probably more, but these certainly error reliably Legacy/Income Statement Advanced/Customer Report (subreport) at java.lang.Thread.run(Thread.java:619) 14:30:10,584 ERROR [UncaughtExceptionsModel] UncaughtExcpetionsModel.addException org.pentaho.reporting.engine.classic.core.ReportProcessingException: Unable to initialize the report at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:481) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:266) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) ParentException: org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed to load XML data at org.pentaho.reporting.engine.classic.extensions.datasources.xpath.XPathDataFactory.queryData(XPathDataFactory.java:144) at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:88) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryInternal(CachingDataFactory.java:168) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryData(CachingDataFactory.java:143) at org.pentaho.reporting.engine.classic.core.states.CascadingDataFactory.queryData(CascadingDataFactory.java:81) at org.pentaho.reporting.engine.classic.core.states.datarow.ReportDataRow.createDataRow(ReportDataRow.java:97) at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQuery(DefaultFlowController.java:184) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:260) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:388) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:266) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174) ParentException: org.pentaho.reporting.libraries.resourceloader.ResourceException: Unable to load the resource at org.pentaho.reporting.engine.classic.extensions.datasources.xpath.XPathDataFactory.load(XPathDataFactory.java:192) at org.pentaho.reporting.engine.classic.extensions.datasources.xpath.XPathDataFactory.queryData(XPathDataFactory.java:139) at org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:88) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryInternal(CachingDataFactory.java:168) at org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryData(CachingDataFactory.java:143) at org.pentaho.reporting.engine.classic.core.states.CascadingDataFactory.queryData(CascadingDataFactory.java:81) at org.pentaho.reporting.engine.classic.core.states.datarow.ReportDataRow.createDataRow(ReportDataRow.java:97) at org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQuery(DefaultFlowController.java:184) at org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:260) at org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:388) at org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77) at org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:266) at org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174)

    Pentaho BI Platform Tracking | 7 years ago | Nick Baker
    org.pentaho.reporting.engine.classic.core.ReportDataFactoryException: Failed to load XML data

    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. org.pentaho.reporting.engine.classic.core.ReportDataFactoryException

      Failed at query: SELECT "ORDERFACT"."QUANTITYORDERED", "ORDERFACT"."PRICEEACH", "ORDERFACT"."ORDERLINENUMBER", "ORDERFACT"."TOTALPRICE", "ORDERFACT"."SHIPPEDDATE", "ORDERFACT"."STATUS", "PRODUCTS"."PRODUCTNAME", "PRODUCTS"."PRODUCTCODE", "ORDERFACT"."PRODUCTCODE", "PRODUCTS"."PRODUCTLINE" FROM "PRODUCTS" INNER JOIN "ORDERFACT" ON "PRODUCTS"."PRODUCTCODE" = "ORDERFACT"."PRODUCTCODE" WHERE "ORDERFACT"."STATUS" <> 'Shipped' AND "PRODUCTS"."PRODUCTLINE" = 'Ships' GROUP BY "ORDERFACT"."STATUS" ORDER BY "ORDERFACT"."STATUS" ASC

      at org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData()
    2. org.pentaho.reporting
      Worker.run
      1. org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SimpleSQLReportDataFactory.queryData(SimpleSQLReportDataFactory.java:138)
      2. org.pentaho.reporting.engine.classic.core.modules.misc.datafactory.sql.SQLReportDataFactory.queryData(SQLReportDataFactory.java:95)
      3. org.pentaho.reporting.engine.classic.core.CompoundDataFactory.queryData(CompoundDataFactory.java:88)
      4. org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryInternal(CachingDataFactory.java:168)
      5. org.pentaho.reporting.engine.classic.core.states.CachingDataFactory.queryData(CachingDataFactory.java:143)
      6. org.pentaho.reporting.engine.classic.core.states.CascadingDataFactory.queryData(CascadingDataFactory.java:81)
      7. org.pentaho.reporting.engine.classic.core.states.datarow.ReportDataRow.createDataRow(ReportDataRow.java:97)
      8. org.pentaho.reporting.engine.classic.core.states.datarow.DefaultFlowController.performQuery(DefaultFlowController.java:185)
      9. org.pentaho.reporting.engine.classic.core.states.process.ProcessState.<init>(ProcessState.java:255)
      10. org.pentaho.reporting.engine.classic.core.layout.output.AbstractReportProcessor.prepareReportProcessing(AbstractReportProcessor.java:375)
      11. org.pentaho.reporting.engine.classic.core.modules.output.pageable.graphics.PrintReportProcessor.getNumberOfPages(PrintReportProcessor.java:77)
      12. org.pentaho.reporting.engine.classic.core.modules.gui.base.PreviewPane$RepaginationRunnable.run(PreviewPane.java:261)
      13. org.pentaho.reporting.engine.classic.core.util.Worker.run(Worker.java:174)
      13 frames