Category: | Bug report |
Priority: | High |
Status: | New |
Project: | Severity: | Major |
Resolution: | Open |
|
Component: | Reproducibility: | Always |
Assigned to: |
When statements include subreport components using the the json data sources.
If you use export the "JsonQueryExecuterFactory.JSON_INPUT_STREAM" parameter. Report export fails, the exception information is as follows:(Caused by: java.io.EOFException: No content to map to Object due to end of input
at org.codehaus.jackson.map.ObjectMapper._initForReading (ObjectMapper.java: 2775)
at org.codehaus.jackson.map.ObjectMapper._readMapAndClose (ObjectMapper.java: 2718)
at org.codehaus.jackson.map.ObjectMapper.readTree (ObjectMapper.java: 1507)
at net.sf.jasperreports.engine.data.JsonDataSource. <init> (JsonDataSource.java: 98));
If you use the "JsonQueryExecuterFactory.JSON_SOURCE". Report export success.
Specific code, detailed annex.
v4.7.1