Jump to content

jc_mccauley

Members
  • Posts

    7
  • Joined

  • Last visited

jc_mccauley's Achievements

Rookie

Rookie (2/14)

  • Week One Done
  • One Month Later
  • One Year In
  • First Post Rare
  • Conversation Starter Rare

Recent Badges

0

Reputation

  1. Please close topic, the report was fine, the problem is another area ( the rust on my programming!)
  2. Heres what I get in the log...little light for debugging, I think reportGenerator.convertToParameterMap(reportGenerator.java:145) DEBUG [reportGenerator] convertToParameterMap. org.jboss.logging.util.LoggerStream.write(LoggerStream.java:140) INFO [sTDOUT] Map Size: 26 net.sf.jasperreports.engine.fill.JRBaseFiller.<init>(JRBaseFiller.java:363) DEBUG [net.sf.jasperreports.engine.fill.JRBaseFiller] Fill 29495316: created for [reportname] net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:864) DEBUG [net.sf.jasperreports.engine.fill.JRBaseFiller] Fill 29495316: filling report net.sf.jasperreports.engine.fill.JRBaseFiller.addPage(JRBaseFiller.java:1708) DEBUG [net.sf.jasperreports.engine.fill.JRBaseFiller] Fill 29495316: adding page 1 net.sf.jasperreports.engine.fill.JRVerticalFiller.fillBackground(JRVerticalFiller.java:1779) DEBUG [net.sf.jasperreports.engine.fill.JRVerticalFiller] Fill 29495316: background net.sf.jasperreports.engine.fill.JRVerticalFiller.fillTitle(JRVerticalFiller.java:294) DEBUG [net.sf.jasperreports.engine.fill.JRVerticalFiller] Fill 29495316: title net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnHeader(JRVerticalFiller.java:449) DEBUG [net.sf.jasperreports.engine.fill.JRVerticalFiller] Fill 29495316: column header net.sf.jasperreports.engine.fill.JRVerticalFiller.fillDetail(JRVerticalFiller.java:699) DEBUG [net.sf.jasperreports.engine.fill.JRVerticalFiller] Fill 29495316: detail net.sf.jasperreports.engine.fill.JRVerticalFiller.fillColumnFooter(JRVerticalFiller.java:944) DEBUG [net.sf.jasperreports.engine.fill.JRVerticalFiller] Fill 29495316: column footer net.sf.jasperreports.engine.fill.JRVerticalFiller.fillPageFooter(JRVerticalFiller.java:988) DEBUG [net.sf.jasperreports.engine.fill.JRVerticalFiller] Fill 29495316: page footer net.sf.jasperreports.engine.fill.JRBaseFiller.fill(JRBaseFiller.java:933) DEBUG [net.sf.jasperreports.engine.fill.JRBaseFiller] Fill 29495316: ended
  3. you said web app..this is a wild *&^ guess since certain customers have this issue...browser setting in IE, tools--options--advanced--security section-- uncheck "do not save encrypted files to disk"
  4. So I have a basic report in iReport 3.7, has a background band, no query and all parameters in a HashMap. No other data. I have the whenNoData set to "All Sections no detail" since there is no query. ( but there are parameters in the deatil band! tried oving them but still no luck) I have tried using a query and not using the results, the JREMptyDataSource and the fillReport(report, params) methods all resulting in an empty report, meaning the pdf is created and is blank, (4K). The parameters are fine. I have verified the dependencies are there and same compile version as runtime version. What am I missing? btw, not new to JasperReports.... debug options? Java 1.5.0_22 / JBoss 4.0.3 / JasperReports 3.7 + dependencies accodring to website. ( not for excel though, not used) Code:Map parameters = shipmentToParameterMap(shipment, isCBL); JREmptyDataSource eds = new JREmptyDataSource(1);JasperPrint printObject = JasperFillManager.fillReport(ciJaspFile, parameters, eds);byte[] ba = JasperExportManager.exportReportToPdf(printObject);ORMap parameters = shipmentToParameterMap(shipment, isCBL);JasperPrint printObject = JasperFillManager.fillReport(ciJaspFile, parameters);byte[] ba = JasperExportManager.exportReportToPdf(printObject); Post Edited by jc_mccauley at 04/10/2010 15:33
×
×
  • Create New...