Hi everyone, I'm trying to upgrade my jasperreports version from 4.0.0 to 6.17.0. But I get a java.lang.NullPointerException for JasperFillManager.fillReport (it was working very well with 4.0.0) Any ideas where the problem can come from ?
JasperReport jrReport = (JasperReport) JRLoader.loadObject(getResourceAsStream("jasper/RP_FicheMain.jasper", lang)); JasperPrint jasperPrint = JasperFillManager.fillReport(jrReport, parameters, new JRBeanCollectionDataSource(demandes));
Many thanks
0 Answers:
No answers yet
Thank you for posting to the Jaspersoft Community. Our team of experts has read your question and we are working to get you an answer as quickly as we can. If you have a Jaspersoft Professional Subscription plan, please visit https://support.tibco.com/s/ for direct access to our technical support teams offering guaranteed response times.
Hello,
May we please see the full stack trace of the error? Otherwise it is hard to determine what exactly went wrong. Also to clarify further, when do you get that error? When running a report? Is it happening to all reports? Or just one particular one?
Regards,
Paul
Dear User,
We are eagerly anticipating your response to the comment mentioned above. Please provide the requested information so that we can assist you in addressing your question effectively.