使用开源技术ireport 打印时报错:invalid stack frame.
内存问题最最不指望出现的问题!
程序代码:
try {
JasperReport jasperReport = (JasperReport) JRLoader
.loadObject(reportFile.getPath());
jasperPrint = JasperFillManager.fillReport(jasperReport,
parameters, conn);
// 将这个报表结果存入session中给后来的导出报表使用。
request.getSession().setAttribute("jasperReport", jasperPrint);
}catch (JRException e) {
response.setContentType("text/html");
PrintWriter out = response.getWriter();
.....
呵呵,程序逻辑上没问题。最可疑的地方:
JasperReport jasperReport = (JasperReport) JRLoader
.loadObject(reportFile.getPath());
重新发布程序,问题解决。
其实我只想证实我的想法,ireport开发工具生成.jasper文件需要重新发布程序,否则在"C:\Program Files\apache-tomcat-6.0.16\webapps\fuNan_web\report\iReport\Holiday.jasper"找不到这个文件。
呵呵,问题也不是很艰巨嘛!关键是思路
分享到:
相关推荐
Resolved issue 1451: Chrome 54+ session not created exception: Runtime.executionContextCreated has invalid 'context' [['Pri-1']] Resolved issue 984: Extend ChromeDriver capabilities to cover network ...
Added examples using Network DualStack (IPv4/IPv6) Middleware targeting MCBSTM32C (Keil.MDK-Middleware.7.0.0.pack required) Updated emWin examples to emWin V5.32 Updated CAN examples Updated USB ...
集合了 所有的 Unix命令大全 ...telnet 192.168.0.23 自己帐号 sd08077-you0 ftp工具 192.168.0.202 tools-toolss ... 各个 shell 可互相切换 ksh:$ sh:$ csh:guangzhou% bash:bash-3.00$ ... 命令和参数之间必需用空格隔...
+ if the data set is sorted, all interpolations are now marked invalid as they should be. + "Apply to All" did not necessarily force the current attributes of a graph to the current graph (only if...
mov fp, #0 @ no previous frame, so fp=0 @ copy U-Boot to RAM ldr r0, =TEXT_BASE mov r1, #0x0 mov r2, #0x30000 bl nand_read_ll tst r0, #0x0 beq ok_nand_read Create PDF files without this ...
* @return BufferedImage representation of frame, or null if n is invalid. */ public BufferedImage getFrame(int n) { BufferedImage im = null; if ((n >= 0) && (n < frameCount)) { im = (...
ENTER Make Stack Frame for Procedure Parameters HLT Halt IDIV Signed Divide IMUL Signed Multiply IN Input from Port INC Increment by 1 INS/INSB/INSW/INSD Input from Port to String INT/INTO Call to ...
Q525599 - Ribbon - TcxBarEditItem content blends with background if the editor is shown in the QAT residing on the Windows Aero Glass frame Q521395 - Ribbon - TdxRibbonBackstageView - Clicking the ...
Q525599 - Ribbon - TcxBarEditItem content blends with background if the editor is shown in the QAT residing on the Windows Aero Glass frame Q521395 - Ribbon - TdxRibbonBackstageView - Clicking the ...
Changes in 2.4.6 (February 22, 2011): Brief summary : - Support more host OS to run on: - Include win64 native binary in the release. - Fixed failures on big endian hosts. - BIOS: Support for up to...
PEP 523: Adding a frame evaluation API to CPython PYTHONMALLOC environment variable DTrace and SystemTap probing support Other Language Changes New Modules secrets Improved Modules array ast ...
A reference to an invalid page (a page that is not in your working set) is referred to as a page fault. Assuming the page reference does not result in an access violation, a page fault can be either ...
- FIX Invalid arc size calculation when flex-control's size changes via DocRect property. Absence of the UpdateCounter checking brings to reccurent scaling. Access demo: - FIX Memory leak in ...