Jump to content
Changes to the Jaspersoft community edition download ×

fillReport Crashes With No Exception ??


2004 IR Help

Recommended Posts

By: jerry555 - jerry555

fillReport Crashes With No Exception ??

2005-10-06 18:29

I don't know whats going on here. I am calling JasperFillManager.fillReport with a compiled report, parameters map and an empty data source. In my log files there is nothing after fillReport.

 

I am running this on Solaris with jdk 1.4.2 and have all the library files in my path (except for ant and hsqldb).

 

try

{

jasperPrint = JasperFillManager.fillReport(jasperReport, parameterMap, new JREmptyDataSource());

} catch (JRException jre)

{

jre.printStackTrace();

log.debug("Error: " + jre.getMessage());

}

log.debug("Report filled");

 

Thanks.

 

 

 

 

 

By: Lucian Chirita - lucianc

RE: fillReport Crashes With No Exception ??

2005-10-07 00:27

Try catching more than JRException (Throwable if you want to make sure that you're catching everything).

 

HTH,

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