Uploaded image for project: 'Nuxeo Platform'
  1. Nuxeo Platform
  2. NXP-12141

Cannot preview Birt report

    XMLWordPrintable

    Details

      Description

      After filling parameters for a report, the preview fails with the following error when creating a NuxeoDSConfig:

      java.lang.NullPointerException
      	at org.nuxeo.ecm.platform.reporting.datasource.NuxeoDSConfig.<init>(NuxeoDSConfig.java:52)
      	at org.nuxeo.ecm.platform.reporting.datasource.DSHelper.getDSForRepos(DSHelper.java:65)
      	at org.nuxeo.ecm.platform.reporting.datasource.DSHelper.getDefaultRepoDS(DSHelper.java:76)
      	at org.nuxeo.ecm.platform.reporting.datasource.DSHelper.getReplacementDS(DSHelper.java:95)
      	at org.nuxeo.ecm.platform.reporting.report.ReportHelper.getNuxeoReport(ReportHelper.java:97)
      	at org.nuxeo.ecm.platform.reporting.api.BirtReportInstance.render(BirtReportInstance.java:162)
      	at org.nuxeo.ecm.platform.reporting.jaxrs.ReportResource.html(ReportResource.java:237)
      	at org.nuxeo.ecm.platform.reporting.jaxrs.ReportResource.editAndRenderHtml(ReportResource.java:181)
      
      NuxeoDSConfig config = new NuxeoDSConfig(desc.xaDataSourceName,
          desc.properties);
      

      desc.xaDataSourceName is null.

        Attachments

          Issue Links

            Activity

              People

              • Votes:
                0 Vote for this issue
                Watchers:
                1 Start watching this issue

                Dates

                • Created:
                  Updated:
                  Resolved: