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

JRExeption: Byte data not found at repo:xxxxxx


milan_3

Recommended Posts

Hello,

I am new to JasperSoft Studio and I am having problems with being able to locate report elements when I try to preview my reports. For example, the logo jpg images are not loading into the report and sub reports are also not being linked correctly to their parent. The common issue seems to be this sort of exception:

net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.JRException: Byte data not found at: repo:logo.
at com.jaspersoft.studio.editor.preview.view.control.ReportControler.fillReport(ReportControler.java:537)
at com.jaspersoft.studio.editor.preview.view.control.ReportControler.access$20(ReportControler.java:512)
at com.jaspersoft.studio.editor.preview.view.control.ReportControler$5.run(ReportControler.java:393)
at org.eclipse.core.internal.jobs.Worker.run(Worker.java:55)
Caused by: net.sf.jasperreports.engine.JRException: Byte data not found at: repo:logo.
at net.sf.jasperreports.repo.RepositoryUtil.getBytesFromLocation(RepositoryUtil.java:210)
at net.sf.jasperreports.renderers.util.RendererUtil.getNonLazyRenderable(RendererUtil.java:162)
at net.sf.jasperreports.engine.fill.JRFillImage.evaluateImage(JRFillImage.java:534)
at net.sf.jasperreports.engine.fill.JRFillImage.evaluate(JRFillImage.java:478)
at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:381)
at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:500)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillBandNoOverflow(JRVerticalFiller.java:427)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageHeader(JRVerticalFiller.java:388)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:249)
at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:115)
at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:580)
at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFill.run(BaseFillHandle.java:123)
at java.lang.Thread.run(Thread.java:745)
 
Is there some configuration parameter that I am missing in order to tell Jasper Soft Studio where to find references to "repo:" ? All of my files are in the same project, and they are local.
 
Please let me know if you need more information, or how to resolve this issue.
 
Thanks,
 
Milan
Link to comment
Share on other sites

  • Replies 1
  • Created
  • Last Reply

Top Posters In This Topic

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...