当报表返回给页面的数量量大时,会经常报错

报错如图,有时又报500错误,重新再点一次查询(再发送一个get请求给cpt),又正常了。http的get请求的方式,请求cpt文件,返回的报表明细数据也就1200多条吧。


参考:内置Jetty服务器说明- FineReport帮助文档
http://help.finereport.com/doc-view-800.html
后,设置最大内存为1536m,重启内置服务(关闭右下角的服务,再点预览重启)后解决。谢谢网友的帮助。
编辑于 2017-6-12 16:50  
编辑于 2017-6-12 16:51  
编辑于 2017-6-12 16:56  
FineReportdaidongdong 发布于 2017-6-12 14:55
回答问题
悬赏:2 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共6回答
最佳回答
0
macro_hard发布于2017-6-12 14:55(编辑于 2023-9-6 09:34)
555
最佳回答
0
macro_hard发布于2017-6-12 14:58(编辑于 2023-9-6 09:34)
555
  • daidongdong daidongdong(提问者)

    貌似不是这个原因,我只是在finereport上预览,都会这样
    回复
    2017-06-12 15:57 
最佳回答
0
daidongdong发布于2017-6-12 15:57(编辑于 2023-9-6 09:34)
555
  • macro_hard macro_hard

    那更加可能了,设计器默认最大才1g内存
    回复
    2017-06-12 14:55 
最佳回答
0
daidongdong发布于2017-6-12 16:24(编辑于 2023-9-6 09:34)
555
最佳回答
0
macro_hard发布于2017-6-12 16:29(编辑于 2023-9-6 09:34)
555
  • daidongdong daidongdong(提问者)

    日志中的严重信息是:
    2017-06-12 16:33:47
    严重:报表计算中[Name : fineReport/zc_swqcmx.cpt] [Parameter : {__FIT__ : true[java.lang.Boolean], __LOCALE__ : zh_CN[java.util.Locale], __STREAMCLOSED__ : [java.lang.String], REPORTLET : fineReport/zc_swqcmx.cpt[java.lang.String], REPORTNAME : fineReport/zc_swqcmx.cpt[java.lang.String]}][Type : page]  :
    null
            at com.fr.design.mainframe.loghandler.LogHandlerBar.timerPaint(Unknown Source)
            at com.fr.design.mainframe.loghandler.LogHandlerBar.errorAdd(Unknown Source)
            at com.fr.design.mainframe.loghandler.DesignerLogHandler$LogHandlerArea.setMessage(Unknown Source)
            at com.fr.design.mainframe.loghandler.DesignerLogHandler$LogHandlerArea.printMessage(Unknown Source)
            at com.fr.design.mainframe.loghandler.DesignerLogHandler$LogHandlerArea.printStackTrace(Unknown Source)
            at com.fr.design.mainframe.loghandler.DesignerLogHandler$LogHandlerArea$2.publish(Unknown Source)
            at java.util.logging.Logger.log(Unknown Source)
            at java.util.logging.Logger.doLog(Unknown Source)
            at java.util.logging.Logger.log(Unknown Source)
            at com.fr.general.FRLogger.loglevel(Unknown Source)
            at com.fr.general.FRLogger.logAndRecordErrorInfo(Unknown Source)
            at com.fr.general.FRLogger.error(Unknown Source)
            at com.fr.general.FRLogger.error(Unknown Source)
            at com.fr.general.FRLogger.error(Unknown Source)
            at com.fr.function.FORMAT.run(Unknown Source)
            at com.fr.script.AbstractFunction.evalExpression(Unknown Source)
            at com.fr.parser.FunctionCall.eval(Unknown Source)
            at com.fr.script.Calculator.eval(Unknown Source)
            at com.fr.stable.script.Expression.eval(Unknown Source)
            at com.fr.script.Calculator.evalString(Unknown Source)
            at com.fr.script.Calculator.eval(Unknown Source)
            at com.fr.script.Calculator.evalValue(Unknown Source)
            at com.fr.base.present.FormulaPresent.present(Unknown Source)
            at com.fr.report.core.A.H$_B.B(Unknown Source)
            at com.fr.report.core.A.H$_B.A(Unknown Source)
            at com.fr.report.core.A.H$_B.A(Unknown Source)
            at com.fr.report.core.A.H$_B.A(Unknown Source)
            at com.fr.report.core.A.H.execute4ECReport(Unknown Source)
            at com.fr.report.core.A.H.execute(Unknown Source)
            at com.fr.report.worksheet.WorkSheet.execute(Unknown Source)
            at com.fr.report.core.sheet.AbstractWorkBookExecutor._execute(Unknown Source)
            at com.fr.report.core.sheet.AbstractWorkBookExecutor.execute(Unknown Source)
            at com.fr.main.impl.WorkBook.execute(Unknown Source)
            at com.fr.log.LogUtils.executeAndLogRecord(Unknown Source)
            at com.fr.log.LogUtils.executeAndLogRecord(Unknown Source)
            at com.fr.web.cache.ReportCache.getResultWorkBook(Unknown Source)
            at com.fr.stable.PageActor.getResultBookFromCacheIfNeed(Unknown Source)
            at com.fr.main.impl.WorkBookTemplateDelegate.execute(Unknown Source)
            at com.fr.web.core.ReportSessionIDInfor.calResultWorkBook(Unknown Source)
            at com.fr.web.core.ReportSessionIDInfor.initBook2Show(Unknown Source)
            at com.fr.web.core.ReportSessionIDInfor.getWorkBook2Show(Unknown Source)
            at com.fr.plugin.reportfit.ReportFitImpl.getResultWorkBook(Unknown Source)
            at sun.reflect.GeneratedMethodAccessor57.invoke(Unknown Source)
            at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
            at java.lang.reflect.Method.invoke(Unknown Source)
            at com.fr.plugin.proxy.AbstractPluginInvocationHandler.invoke(Unknown Source)
            at com.fr.plugin.proxy.AbstractPluginInvocationHandler.defaultInvoke(Unknown Source)
            at com.fr.plugin.proxy.CloseableInvocationHandler.invoke(Unknown Source)
            at com.sun.proxy.$Proxy14.getResultWorkBook(Unknown Source)
            at com.fr.web.core.ReportSessionIDInfor.getResultWorkBook(Unknown Source)
            at com.fr.web.core.ReportSessionIDInfor.createPageSetChain(Unknown Source)
            at com.fr.web.core.ReportSessionIDInfor.getReportPage(Unknown Source)
            at com.fr.web.core.A.FC.A(Unknown Source)
            at com.fr.web.core.A.FC.A(Unknown Source)
            at com.fr.web.core.A.tB.A(Unknown Source)
            at com.fr.web.core.A.HB.actionCMD(Unknown Source)
            at com.fr.web.core.WebActionsDispatcher.dealForActionCMD(Unknown Source)
            at com.fr.web.core.WebActionsDispatcher.dealForActionDefaultCmd(Unknown Source)
            at com.fr.web.core.A.qB.process(Unknown Source)
            at com.fr.web.core.ReportDispatcher.dealWithOp(Unknown Source)
            at com.fr.web.core.ReportDispatcher.dealWeblet(Unknown Source)
            at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source)
            at com.fr.web.BaseServlet.doGet(Unknown Source)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:596)
            at javax.servlet.http.HttpServlet.service(HttpServlet.java:689)
            at org.mortbay.jetty.servlet.ServletHolder.handle(ServletHolder.java:428)
            at org.mortbay.jetty.servlet.WebApplicationHandler.dispatch(WebApplicationHandler.java:473)
            at org.mortbay.jetty.servlet.ServletHandler.handle(ServletHandler.java:568)
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1530)
            at org.mortbay.jetty.servlet.WebApplicationContext.handle(WebApplicationContext.java:633)
            at org.mortbay.http.HttpContext.handle(HttpContext.java:1482)
            at org.mortbay.http.HttpServer.service(HttpServer.java:909)
            at org.mortbay.http.HttpConnection.service(HttpConnection.java:820)
            at org.mortbay.http.HttpConnection.handleNext(HttpConnection.java:986)
            at org.mortbay.http.HttpConnection.handle(HttpConnection.java:837)
            at org.mortbay.http.SocketListener.handleConnection(SocketListener.java:245)
            at org.mortbay.util.ThreadedServer.handle(ThreadedServer.java:357)
            at org.mortbay.util.ThreadPool$PoolThread.run(ThreadPool.java:534)
    回复
    2017-06-12 16:37 
最佳回答
0
daidongdong发布于2017-6-12 16:37(编辑于 2023-9-6 09:34)
555
  • 0关注人数
  • 470浏览人数
  • 最后回答于:2017-6-12 16:37
    活动推荐 更多
    热门课程 更多
    返回顶部