dario.griffo Posted July 23, 2014 Share Posted July 23, 2014 I tried setting the class to java.awt.Image, but it doesn't load This is the exception I get net.sf.jasperreports.engine.JRException: net.sf.jasperreports.engine.JRException: Unknown image source class [b at com.jaspersoft.studio.editor.preview.view.control.ReportControler.fillReport(ReportControler.java:466) at com.jaspersoft.studio.editor.preview.view.control.ReportControler.access$18(ReportControler.java:441) at com.jaspersoft.studio.editor.preview.view.control.ReportControler$4.run(ReportControler.java:333) at org.eclipse.core.internal.jobs.Worker.run(Worker.java:54) Caused by: net.sf.jasperreports.engine.JRException: Unknown image source class [b at net.sf.jasperreports.engine.fill.JRFillImage.evaluateImage(JRFillImage.java:562) at net.sf.jasperreports.engine.fill.JRFillImage.evaluate(JRFillImage.java:472) at net.sf.jasperreports.engine.fill.JRFillElementContainer.evaluate(JRFillElementContainer.java:259) at net.sf.jasperreports.engine.fill.JRFillBand.evaluate(JRFillBand.java:456) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnBand(JRVerticalFiller.java:2067) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:788) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReportStart(JRVerticalFiller.java:298) at net.sf.jasperreports.engine.fill.JRVerticalFiller.fillReport(JRVerticalFiller.java:152) at net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:963) at net.sf.jasperreports.engine.fill.BaseFillHandle$ReportFiller.run(BaseFillHandle.java:120) at java.lang.Thread.run(Unknown Source) Any ideas? Link to comment Share on other sites More sharing options...
dario.griffo Posted July 23, 2014 Author Share Posted July 23, 2014 This is a duplicate, but I cannot edit or remove it. If trying to edit I get an error saying is spam, and no remove button is enabled.This is the complete questionhttp://community.jaspersoft.com/questions/841981/loading-image-mssql-datatype-image-not-blob Link to comment Share on other sites More sharing options...
netti royala Posted July 24, 2014 Share Posted July 24, 2014 can you post jrxml file...its related to type='java.io.InputStream' may be it will work. Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now