Mongo DB - Showing content from a Binary field

0

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?
    

martin.borugadda's picture
Joined: Aug 18 2020 - 8:43am
Last seen: 1 hour 58 min ago

0 Answers:

No answers yet
Feedback