Jump to content
Changes to the Jaspersoft community edition download ×

JasperFillManager null when upgrading to 6.17.0


abdelmco

Recommended Posts

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

 

Link to comment
Share on other sites

  • Replies 3
  • Created
  • Last Reply

Top Posters In This Topic

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

Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

×
×
  • Create New...