adnanbazaz0007 Posted February 22, 2018 Share Posted February 22, 2018 error : net.sf.jasperreports.engine.JRException:java.lang.ArrayIndexOutOfBoundException Link to comment Share on other sites More sharing options...
Solution Friendly User Posted February 28, 2018 Solution Share Posted February 28, 2018 This doesn't tell much. How is the image stored? Is it a BLOB? Is it a URL to the image? The image element supports the following classes:java.lang.Stringjava.io.Filejava.net.URLjava.io.InputStreamjava.awt.Imagenet.sf.jasperreports.engine.JRRenderableYou'll need to find a way to convert whatever you have in the database to one of these types and then pass it to image expression 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