本帖最后由 viccui 于 2016-6-23 21:43 编辑
报表执行第二遍时,会抛出错误,再刷新两次可能就好了,一会又出现,有时只抛出错误码。查了一下度娘,似乎是客户端、服务端线程和流之类的问题,但我没有自定义能力,只是系统调用哪里的问题呢?怎么解决?
严重:报表计算中 , __LOCALE__ : zh_CN, __STREAMCLOSED__ : , CMD : parameters_d, FR_USERNAME : sytlj, HIDEBLANK : true, HIDERADIO : 0, HIDEVALUE : 0, LABEL1 : 单位:, OP : fr_dialog, REPORTLET : report/report_sh.cpt, REPORTNAME : report/report_sh.cpt, SESSIONID : 27841, TOTALRADIO : 1, YEAR : 2016}] :
java.io.StreamCorruptedException: invalid stream header: 6C652E50
at com.fr.cache.list.MappedByteBufferList.get(Unknown Source)
at com.fr.cache.list.MappedByteBufferTable.getValueAt(Unknown Source)
at com.fr.data.impl.DiskCacheDBDataModel.getValueAt(Unknown Source)
at com.fr.data.index.AbstractIndexDataModel.getValueAt(Unknown Source)
at com.fr.report.cell.cellattr.core.group.FunctionGrouper.current_value(Unknown Source)
at com.fr.report.cell.cellattr.core.group.FunctionGrouper.dealGroupMode(Unknown Source)
at com.fr.report.cell.cellattr.core.group.FunctionGrouper.group(Unknown Source)
at com.fr.report.cell.cellattr.core.group.DSColumn.dealwith_condition_group_sort_select_result(Unknown Source)
at com.fr.report.core.A.H.dealWithBEDSColumn(Unknown Source)
at com.fr.report.core.A.k.cc_ce_array(Unknown Source)
at com.fr.report.core.A.H.A(Unknown Source)
at com.fr.report.core.A.H.A(Unknown Source)
at com.fr.report.core.A.H.A(Unknown Source)
at com.fr.report.core.A.H.resolveColumnRowRange(Unknown Source)
at com.fr.report.core.A.u.getVariable(Unknown Source)
at com.fr.script.Calculator$NameSpaceChain.getVariable(Unknown Source)
at com.fr.script.Calculator.resolveVariableInCE(Unknown Source)
at com.fr.stable.script.ColumnRowRange.eval(Unknown Source)
at com.fr.script.Calculator.eval(Unknown Source)
at com.fr.script.Calculator.evalValue(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.function.IF.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.report.core.A.H.dealWithBENormal(Unknown Source)
at com.fr.report.core.A.k.cc_ce_array(Unknown Source)
at com.fr.report.core.A.H.A(Unknown Source)
at com.fr.report.core.A.H.A(Unknown Source)
at com.fr.report.core.A.H.C(Unknown Source)
at com.fr.report.core.A.H.execute4Expand(Unknown Source)
at com.fr.report.core.sheet.SheetSequenceExecutor.execute4Expand(Unknown Source)
at com.fr.report.core.sheet.SequenceExecutor.execute(Unknown Source)
at com.fr.report.core.sheet.SheetSequenceExecutor._execute(Unknown Source)
at com.fr.report.core.sheet.SheetSequenceExecutor.execute(Unknown Source)
at com.fr.stable.AbstractActor.executeWorkBook(Unknown Source)
at com.fr.stable.AbstractActor.executeWorkBook(Unknown Source)
at com.fr.main.impl.WorkBook.execute(Unknown Source)
at com.fr.log.LogUtils.executeAndLogRecord(Unknown Source)
at com.fr.stable.AbstractActor.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.web.core.ReportSessionIDInfor.getReport2Show(Unknown Source)
at com.fr.web.core.A.cD.A(Unknown Source)
at com.fr.web.core.A.nA.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.WebActionsDispatcher.dealForActionCMD(Unknown Source)
at com.fr.web.core.A.fC.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)
只抛出错误码的情况如下。注:以上情况刷新一次两次就能正常显示。是内部错误吗?求解决方法!
严重:报表计算中 , __LOCALE__ : zh_CN, __STREAMCLOSED__ : , CMD : parameters_d, FR_USERNAME : sytlj, HIDEBLANK : true, HIDERADIO : 0, HIDEVALUE : 0, LABEL1 : 单位:, OP : fr_dialog, REPORTLET :report/report_sh.cpt, REPORTNAME : report/report_sh.cpt, SESSIONID : 8494, TOTALRADIO : 1, YEAR : 2016}] :
79225
at java.nio.DirectByteBuffer.get(Unknown Source)
at com.fr.cache.list.MappedByteBufferList.readWhenHasCache(Unknown Source)
at com.fr.cache.list.MappedByteBufferList.get(Unknown Source)
at com.fr.cache.list.MappedByteBufferTable.getValueAt(Unknown Source)
at com.fr.data.impl.DiskCacheDBDataModel.getValueAt(Unknown Source)
at com.fr.data.index.AbstractIndexDataModel.getValueAt(Unknown Source)
at com.fr.report.cell.cellattr.core.group.FunctionGrouper.current_value(Unknown Source)
at com.fr.report.cell.cellattr.core.group.FunctionGrouper.dealGroupMode(Unknown Source)
at com.fr.report.cell.cellattr.core.group.FunctionGrouper.group(Unknown Source)
at com.fr.report.cell.cellattr.core.group.DSColumn.dealwith_condition_group_sort_select_result(Unknown Source)
at com.fr.report.core.A.H.dealWithBEDSColumn(Unknown Source)
at com.fr.report.core.A.k.cc_ce_array(Unknown Source)
at com.fr.report.core.A.H.A(Unknown Source)
at com.fr.report.core.A.H.A(Unknown Source)
at com.fr.report.core.A.H.A(Unknown Source)
at com.fr.report.core.A.H.resolveColumnRowRange(Unknown Source)
at com.fr.report.core.A.u.getVariable(Unknown Source)
at com.fr.script.Calculator$NameSpaceChain.getVariable(Unknown Source)
at com.fr.script.Calculator.resolveVariableInCE(Unknown Source)
at com.fr.stable.script.ColumnRowRange.eval(Unknown Source)
at com.fr.script.Calculator.eval(Unknown Source)
at com.fr.script.Calculator.evalValue(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.function.IF.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.report.core.A.H.dealWithBENormal(Unknown Source)
at com.fr.report.core.A.k.cc_ce_array(Unknown Source)
at com.fr.report.core.A.H.A(Unknown Source)
at com.fr.report.core.A.H.A(Unknown Source)
at com.fr.report.core.A.H.C(Unknown Source)
at com.fr.report.core.A.H.execute4Expand(Unknown Source)
at com.fr.report.core.sheet.SheetSequenceExecutor.execute4Expand(Unknown Source)
at com.fr.report.core.sheet.SequenceExecutor.execute(Unknown Source)
at com.fr.report.core.sheet.SheetSequenceExecutor._execute(Unknown Source)
at com.fr.report.core.sheet.SheetSequenceExecutor.execute(Unknown Source)
at com.fr.stable.AbstractActor.executeWorkBook(Unknown Source)
at com.fr.stable.AbstractActor.executeWorkBook(Unknown Source)
at com.fr.main.impl.WorkBook.execute(Unknown Source)
at com.fr.log.LogUtils.executeAndLogRecord(Unknown Source)
at com.fr.stable.AbstractActor.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.web.core.ReportSessionIDInfor.getReport2Show(Unknown Source)
at com.fr.web.core.A.cD.A(Unknown Source)
at com.fr.web.core.A.nA.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.WebActionsDispatcher.dealForActionCMD(Unknown Source)
at com.fr.web.core.A.fC.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)