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

Unable to create reports after upgrade from 1.10.1 to 1.10.2

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed (View Workflow)
    • Priority: Major
    • Resolution: Fixed
    • Affects Version/s: 1.10.2
    • Fix Version/s: 1.10.3
    • Component/s: Reports / Statsd
    • Security Level: Default (Default Security Scheme)
    • Labels:
      None
    • Environment:
      CentOS 5.8 fully updated on x64 platform

      Description

      After the update from 1.10.1 to 1.10.2, the scheduled database/7-day availability report stopped being constructed. Looking in the logs/report.log file, we see the following traceback:

      2012-05-17 08:00:00,319 ERROR [databaseReport_Worker-1] DefaultReportWrapperService: failed to run or render report: local_Availability-Summary-Report
      org.opennms.api.reporting.ReportException: unable to run emptyDataSource jasperReport
      at org.opennms.reporting.jasperreports.svclayer.JasperReportService.run(JasperReportService.java:392)
      at org.opennms.reporting.core.svclayer.support.DefaultReportWrapperService.run(DefaultReportWrapperService.java:180)
      at org.opennms.reporting.core.BatchReportJob.executeInternal(BatchReportJob.java:69)
      at org.springframework.scheduling.quartz.QuartzJobBean.execute(QuartzJobBean.java:86)
      at org.quartz.core.JobRunShell.run(JobRunShell.java:202)
      at org.quartz.simpl.SimpleThreadPool$WorkerThread.run(SimpleThreadPool.java:525)
      Caused by: net.sf.jasperreports.engine.JRException: Report compiler class not found : org.codehaus.mojo.jasperreports.MavenJavacCompiler
      at net.sf.jasperreports.engine.JasperCompileManager.getCompiler(JasperCompileManager.java:465)
      at net.sf.jasperreports.engine.JasperCompileManager.loadEvaluator(JasperCompileManager.java:238)
      at net.sf.jasperreports.engine.JasperCompileManager.loadEvaluator(JasperCompileManager.java:260)
      at net.sf.jasperreports.engine.fill.JRFillSubreport.createEvaluator(JRFillSubreport.java:391)
      at net.sf.jasperreports.engine.fill.JRFillSubreport.loadReportEvaluator(JRFillSubreport.java:379)
      at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluateSubreport(JRFillSubreport.java:348)
      at net.sf.jasperreports.engine.fill.JRFillSubreport.evaluate(JRFillSubreport.java:263)
      at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:258)
      at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:499)
      at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2033)
      at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupFooter(JRVerticalFiller.java:925)
      at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillGroupFooters(JRVerticalFiller.java:791)
      at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportContent(JRVerticalFiller.java:281)
      at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:132)
      at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:946)
      at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:845)
      at net.sf.jasperreports.engine.fill.JRFiller.fillReport(JRFiller.java:58)
      at net.sf.jasperreports.engine.JasperFillManager.fillReport(JasperFillManager.java:417)
      at net.sf.jasperreports.engine.JasperFillManager.fillReportToFile(JasperFillManager.java:199)
      at org.opennms.reporting.jasperreports.svclayer.JasperReportService.run(JasperReportService.java:380)
      ... 5 more
      Caused by: java.lang.ClassNotFoundException: org.codehaus.mojo.jasperreports.MavenJavacCompiler
      at java.net.URLClassLoader$1.run(URLClassLoader.java:202)
      at java.security.AccessController.doPrivileged(Native Method)
      at java.net.URLClassLoader.findClass(URLClassLoader.java:190)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:307)
      at java.net.FactoryURLClassLoader.loadClass(URLClassLoader.java:627)
      at java.lang.ClassLoader.loadClass(ClassLoader.java:248)
      at net.sf.jasperreports.engine.JasperCompileManager.getCompiler(JasperCompileManager.java:460)
      ... 24 more

        Attachments

          Activity

            People

            • Assignee:
              ranger Benjamin Reed
              Reporter:
              jmellor John Mellor
            • Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: