Uploaded image for project: 'OpenNMS'
  1. OpenNMS
  2. NMS-6113

Cron-triggered reports in Reportd do not work

    Details

      Description

      Steps to reproduce:

      1. Configure any working report defined in jasper-reports.xml to run on a cron-like schedule via an entry in reportd-configuration.xml. No e-mail recipients are needed.

      2. Wait for the cron trigger to fire

      Expected result: Report runs, is delivered to filesystem

      Actual result: Report does not run. Exception stack trace in reportd.log:

      2013-09-16 15:46:30,002 DEBUG [reportd_Worker-2] Reportd: reportd – running job Node-Availability-Report
      2013-09-16 15:46:30,312 ERROR [reportd_Worker-2] DefaultReportService: Unexpected exception: null
      java.lang.UnsupportedOperationException
      at java.util.Collections$UnmodifiableMap.put(Collections.java:1342)
      at net.sf.jasperreports.engine.fill.JRFillDataset.setConnectionParameterValue(JRFillDataset.java:729)
      at net.sf.jasperreports.engine.fill.JRBaseFiller.setConnectionParameterValue(JRBaseFiller.java:851)
      at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:843)
      at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:58)
      at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)
      at org.opennms.netmgt.reporting.service.DefaultReportService.runAndRender(DefaultReportService.java:185)
      at org.opennms.netmgt.reporting.service.DefaultReportService.runReport(DefaultReportService.java:84)
      at org.opennms.netmgt.reporting.service.Reportd.runReport(Reportd.java:122)
      at org.opennms.netmgt.reporting.service.ReportJob.execute(ReportJob.java:54)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)

        Attachments

          Activity

            People

            • Assignee:
              jeffg Jeff Gehlbach
              Reporter:
              jeffg Jeff Gehlbach
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: