Jump to content
Changes to the Jaspersoft community edition download ×

JRException : No input source supplied to th


Recommended Posts

By: msprasanth - msprasanth

JRException : No input source supplied to th

2006-03-02 20:13

Does anyone know what that means ??

 

JRException : No input source supplied to the exporter.

 

Here is the peice of code that is generating it :

 

JasperReport jasperReport = (JasperReport)JRLoader.loadObject(reportFile.getPath());

b = JasperRunManager.runReportToPdf(jasperReport, parameters, con);

 

try{

response.setContentType("application/pdf");

response.setHeader("Pragma","cache");

response.setHeader(

"Content-Disposition",

"attachment;filename=Order_Details.pdf");

 

if(b != null){

ServletOutputStream sos;

sos = response.getOutputStream();

sos.write(b);

sos.flush();

sos.close();

}

}catch (FileNotFoundException e) {

e.printStackTrace();

return new ModelAndView(getSuccessView());

}

catch (Exception e) {

e.printStackTrace();

return new ModelAndView(getSuccessView());

}

 

 

Thank you, please help

 

 

 

 

 

By: Lucian Chirita - lucianc

RE: JRException : No input source supplied t

2006-03-03 01:24

Which JR version are you using?

 

Regards,

Lucian

Link to comment
Share on other sites

  • Replies 0
  • Created
  • Last Reply

Top Posters In This Topic

Popular Days

Top Posters In This Topic

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...