martin.borugadda Posted April 12, 2021 Share Posted April 12, 2021 I'm using JasperSoft Studio. I'm trying to load data through MongoDb connector. After providing a query, I'm able to read fields for all but one Binary field. The database has a field of the type Binary, and it is being read into JasperServer as of type "[b", and the report doesn't preview throwing the following error."java.lang.ClassNotFoundException: [L; --- net.sf.jasperreports.engine.design.JRDesignField@4ffd8408" If I manually change the field to org.bson.types.Binary, I get the following error"net.sf.jasperreports.engine.JRException: org.bson.json.JsonParseException: JSON reader expected a string but found '{'." How can I read /parse the binary field successfully? 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