Jump to content
We've recently updated our Privacy Statement, available here ×

iReport 4.5.x (using image in JasperServer Repository)


CaptnTony

Recommended Posts

I'm creating a report that will ultimately be moved to a JasperServer repository (community version for now as I'm playing around with it).   The issue I'm bumping into is that when I place an image (logo file) onto my report and try to run it, I get an error message:

Error filling print... Byte data not found at : repo:/images/logo
Setting up the file resolver... 
net.sf.jasperreports.engine.JRException: Byte data not found at : repo:/images/logo
    at net.sf.jasperreports.repo.RepositoryUtil.getBytes(RepositoryUtil.java:206) 
    at net.sf.jasperreports.engine.JRImageRenderer.getInstance(JRImageRenderer.java:141) 

I update the report in the respository and run it from the server and the image displays properly.  Is that normal or should the local copy of the report still be able to be run and displayed in the internal iReport  Preview panel?  If I recall correctly the copy of the logo moved to the repository was in .gif format (not 100% sure of that though, may have been .png)

Thanks in advance.

 

Todd



Post Edited by CaptnTony at 04/18/2012 14:34
Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...