本帖最后由 MorningStar 于 2017-1-13 09:16 编辑
报表后台报java.lang.UnsupportedOperationException,页面可以正常显示,但是加载非常慢,需要40秒左右才可以加载好页面,执行sql的时间大概15秒左右,看到之前一篇求助帖说后台有报错会影响加载速度,请教大家这种异常是什么原因导致的,应该怎么处理.附件是后台的log文件和报表模版文件
2017-1-12 15:32:12
警告: null
java.lang.UnsupportedOperationException
at com.fr.report.core.ActiveReport$LayerBlock.getCellElement(Unknown Source)
at com.fr.report.script.SimpleColumnRowNameSpace.resolveColumnRowRange(Unknown Source)
at com.fr.web.core.ReportSessionIDInfor.resolveVariable(Unknown Source)
at com.fr.web.core.SessionIDInfor$SessionIDInforNameSpace.getVariable(Unknown Source)
at com.fr.report.script.Calculator$1.resloveFromThreadContext(Unknown Source)
at com.fr.report.script.Calculator$1.getVariable(Unknown Source)
at com.fr.report.script.Calculator$NameSpaceChain.getVariable(Unknown Source)
at com.fr.report.script.Calculator.resolveVariableInCE(Unknown Source)
at com.fr.report.script.core.parser.ColumnRowRange.eval(Unknown Source)
at com.fr.report.script.core.parser.UnaryExpression.eval(Unknown Source)
at com.fr.report.script.core.parser.BinaryExpression.eval(Unknown Source)
at com.fr.report.script.core.parser.BinaryExpression.eval(Unknown Source)
at com.fr.report.script.core.parser.BinaryExpression.eval(Unknown Source)
at com.fr.report.script.core.parser.BinaryExpression.eval(Unknown Source)
at com.fr.report.script.core.parser.BinaryExpression.eval(Unknown Source)
at com.fr.report.script.core.parser.BinaryExpression.eval(Unknown Source)
at com.fr.report.script.Calculator.evalInCE(Unknown Source)
at com.fr.report.script.core.parser.Expression.eval(Unknown Source)
at com.fr.report.script.Calculator.evalString(Unknown Source)
at com.fr.report.script.Calculator.evalInCE(Unknown Source)
at com.fr.report.script.Calculator.evalWithCellUnwrapped(Unknown Source)
at com.fr.report.core.ScriptUtils.executeFormula(Unknown Source)
at com.fr.report.core.ScriptUtils.executeNormalFormula(Unknown Source)
at com.fr.report.core.ScriptUtils.executeNormalFormula(Unknown Source)
at com.fr.report.core.A.O$_A.B(Unknown Source)
at com.fr.report.core.A.O$_A.A(Unknown Source)
at com.fr.report.core.A.O$_A.A(Unknown Source)
at com.fr.report.core.A.O$_A.A(Unknown Source)
at com.fr.report.core.A.O$_D.C(Unknown Source)
at com.fr.report.core.A.O$_D.getPage(Unknown Source)
at com.fr.report.PageSetChain$ChainInfo.getReportPage(Unknown Source)
at com.fr.report.PageSetChain$ChainInfo.access$400(Unknown Source)
at com.fr.report.PageSetChain.getPage(Unknown Source)
at com.fr.web.core.ReportSessionIDInfor.getReportPage(Unknown Source)
at com.fr.web.core.A.z$_A.A(Unknown Source)
at com.fr.web.core.A.z$_A.A(Unknown Source)
at com.fr.web.core.A.z.process(Unknown Source)
at com.fr.web.core.ReportDispatcher.dealWithRequest(Unknown Source)
at com.fr.web.ReportServlet.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)