?Invalid path to Spectrum logo? error, when running Jasper report.

Document ID : KB000044594
Last Modified Date : 14/02/2018
Show Technical Document Details


“Invalid path to Spectrum logo” error, when running Jasper report.


Spectrum 10.1.1 /CABI6.1 (Jasper)


The following error message is seen when running a report based on a MySQL and PostgreSQL database:

"net.sf.jasperreports.engine.JRException: Byte data not found at: /capability/resources/Spectrum.JPG"


Currently the Spectrum logo is located at “/organizations/spectrum/capability/resources/images/spectrum.jpg”, but some sub-reports point to the logo at “/organizations/spectrum/capability/resources/Spectrum.JPG” where path and case are wrong.

If you use MySQL for the Jasper installation, this doesn't cause any problem because the case is not an issue in MySQL and the main report is passing the right logo path to the sub/drill-down report.

If you use PostgreSQL, then the wrong case & path causes some errors. To correct this, the SE team has to update the drill-down reports to use the right case and path. This fix is planned to be included in the upcoming Spectrum version 10.2.

If you invoke the drill-down from the main-report (by clicking the hyperlink) you may not see the issue at all.


Additional Information:

Spectrum 10.2 is scheduled for the end of the second half of 2016.