api.JSExceptionWrapper: Byte data not found at loc 12/04/2008 18:36
Image error
I have up loaded our logo in to the image folder. I have also uploaded the image during the report setup in jasper server. When I run the report from iReports I have no issues. When I run the report from jasper server I am receiving the error below.
How do I get jasper report server to find my images?
com.jaspersoft.jasperserver.api.JSExceptionWrapper: Byte data not found at location : PRYERLogo.jpg com.jaspersoft.jasperserver.api.JSExceptionWrapper: net.sf.jasperreports.engine.JRException: Byte data not found at location : PRYERLogo.jpg at net.sf.jasperreports.engine.util.JRLoader.loadBytesFromLocation(JRLoader.java
<!-- make this div distinct from others on this page -->
RE:api.JSExceptionWrapper: Byte data not found at loc 12/05/2008 15:15
I have resolved the issue myself. Thereare some inconsistencies betweeniReports and Jasper Report Server.
iReports pull jpg from the directory where the jrxml is located. If using Jasper Reports Server and using the image folder you need to change the jrxml.
<imageExpression class="java.lang.String"><![CDATA["PRYERLogo.jpg"]]></imageExpression> to <imageExpression class="java.lang.String"><![CDATA["repo:/images/PRYERLogo"]]></imageExpression>