执行第二遍时java.io.StreamCorruptedException: invalid stream header错误

本帖最后由 viccui 于 2016-6-23 21:43 编辑

报表执行第二遍时,会抛出错误,再刷新两次可能就好了,一会又出现,有时只抛出错误码。查了一下度娘,似乎是客户端、服务端线程和流之类的问题,但我没有自定义能力,只是系统调用哪里的问题呢?怎么解决?

严重:报表计算中[Name :report/report_sh.cpt] [Parameter : {__FIT__ : false[java.lang.Boolean], __LOCALE__ : zh_CN[java.util.Locale], __STREAMCLOSED__ : [java.lang.String], CMD : parameters_d[java.lang.String], FR_USERNAME : sytlj[java.lang.String], HIDEBLANK : true[java.lang.Boolean], HIDERADIO : 0[java.lang.String], HIDEVALUE : 0[java.lang.String], LABEL1 : 单位:[java.lang.String], OP : fr_dialog[java.lang.String], REPORTLET : report/report_sh.cpt[java.lang.String], REPORTNAME : report/report_sh.cpt[java.lang.String], SESSIONID : 27841[java.lang.String], TOTALRADIO : 1[java.lang.String], YEAR : 2016[java.lang.String]}][Type : write]  :
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)
只抛出错误码的情况如下。注:以上情况刷新一次两次就能正常显示。是内部错误吗?求解决方法!
严重:报表计算中[Name :report/report_sh.cpt] [Parameter : {__FIT__ : false[java.lang.Boolean], __LOCALE__ : zh_CN[java.util.Locale], __STREAMCLOSED__ : [java.lang.String], CMD : parameters_d[java.lang.String], FR_USERNAME : sytlj[java.lang.String], HIDEBLANK : true[java.lang.Boolean], HIDERADIO : 0[java.lang.String], HIDEVALUE : 0[java.lang.String], LABEL1 : 单位:[java.lang.String], OP : fr_dialog[java.lang.String], REPORTLET :report/report_sh.cpt[java.lang.String], REPORTNAME : report/report_sh.cpt[java.lang.String], SESSIONID : 8494[java.lang.String], TOTALRADIO : 1[java.lang.String], YEAR : 2016[java.lang.String]}][Type : write]  :
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)


FineReportviccui 发布于 2016-6-23 20:16
回答问题
悬赏:2 F币 + 添加悬赏
提示:增加悬赏、完善问题、追问等操作,可使您的问题被置顶,并向所有关注者发送通知
共6回答
最佳回答
0
sbeg571发布于2016-6-24 07:46(编辑于 2023-9-6 09:34)
555
最佳回答
0
gxy120313发布于2016-6-24 08:38(编辑于 2023-9-6 09:34)
555
最佳回答
0
vikou发布于2016-6-24 09:28(编辑于 2023-9-6 09:34)
555
最佳回答
0
viccui发布于2016-6-24 22:11(编辑于 2023-9-6 09:34)
555
最佳回答
0
星痕发布于2016-6-25 01:44(编辑于 2023-9-6 09:34)
555
  • viccui viccui(提问者)
    嗯,我是在一个做好的模板修改,就留了一些垃圾。
    后来偶尔还出现,似乎和数据集本地缓存有一定关系,如果全部调入内存,就不出现了,挺迷惑的。
    回复
    2016-06-25 15:36 
最佳回答
0
viccui发布于2016-6-25 15:36(编辑于 2023-9-6 09:34)
555
  • 0关注人数
  • 2161浏览人数
  • 最后回答于:2016-6-25 15:36
    活动推荐 更多
    热门课程 更多
    返回顶部