Subreport field is still null even if the dataset is assigned in DynamicReports
问题 I am using the DynamicReports (4.1.0) and iReport (5.6.0) to generate pdf files. I have created a subreport in iReport which has a pie chart. After I run the code via DynamicReports, the created PDF does not show this piechart. Here is the code: HashMap<String,Object> map = new HashMap<String,Object>(); map.put("id", "157"); //Actually, this will not be used since I pass this value statically in subreport.jrxml Object[] array = new Object[1]; array[0] = map; JRMapArrayDataSource ds = new