JasperFillManager null when upgrading to 6.17.0

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
abdelmco's picture
Joined: May 11 2023 - 8:13am
Last seen: 4 months 2 weeks ago

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.

arai_4 - 4 months 2 weeks ago


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?



pjimenez_2 - 4 months 1 week ago

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.

arai_4 - 4 months 5 days ago

0 Answers:

No answers yet