Error while running Alarm or Event reports Jaspersoft Spectrum
search cancel

Error while running Alarm or Event reports Jaspersoft Spectrum

book

Article ID: 117549

calendar_today

Updated On:

Products

Spectrum

Issue/Introduction

Getting a very similar behavior as described in knowledge article 116273 "JasperReports - Error compiling report expressions class file", but in my case, both SRM server and CABI server are in the same timezone, and time is synchronized with NTP. I also get the same behavior no matter where I run the report from (form CABI server itself or from remote client). Both servers run on Windows. Whatever Alarm or Event report I chose, when the parameter panel should show up, I get an cryptic error message. Checking the Jaspersoft Tomcat log and there is a lengthy exception seen in the log

ERROR GenericExceptionMapper,http-nio-80-exec-1:50 - Unexpected error occurs 
net.sf.jasperreports.engine.JRException: Errors were encountered when compiling report expressions class file: 
1. Only a type can be imported. com.ca.spectrum.cabi.ReportUtility resolves to a package 
import com.ca.spectrum.cabi.ReportUtility; 

Environment

Release: Any
Component: SPCJSP

Cause

The Jaspersoft > Spectrum integration is missing components

Resolution

Re-run spectrumConfigInstaller.jar per the integration steps listed in the "Integration with CABI JasperReports Server" section of the documentation.