报错日志:
2016-12-14 12:58:56
正常:SELECT id,parent,name,reportletPath,description,isView,transmitParameters,sortindex,mobileDeviceConfig,parentDeviceConfig,mobileCoverId FROM fr_reportletentry WHERE reportletPath=?
2016-12-14 12:58:56
正常:columnIndex:1columnValue:测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt
2016-12-14 12:58:56
正常:开始计算报表
2016-12-14 12:58:56
正常:SQL: SELECT * FROM dbo.
where 报表日 =
(SELECT top(1) 报表日 FROM dbo.
order by 报表日)
and 牧场编码 = '1110110000'
and 测试日 in ('2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07')
order by 测试日,胎次组
2016-12-14 12:59:04
正常:SQL TIME:7394ms!
2016-12-14 12:59:05
严重:报表计算中 , __BOXMODEL__ : true, __FIT__ : true, __LOCALE__ : zh_CN, __STREAMCLOSED__ : , __WEBPAGE__ : true, _PAPERHEIGHT : 678, _PAPERWIDTH : 1440, CMD : parameters_d, LABEL0 : 测试日:, LABEL10 : 牧场, MUCHANG : 1110110000, OP : page_content, P1 : 123, PN : 1, REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, SESSIONID : 20620, TESTDATE : 2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07}] :
-1
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.chart.chartdata.TableDataDefinition.addValueInColumnWithName(Unknown Source)
at com.fr.chart.chartdata.BubbleTableDefinition.createChartData(Unknown Source)
at com.fr.chart.chartdata.TableDataDefinition.calcu4ChartData(Unknown Source)
at com.fr.report.core.A.H.dealWithChart(Unknown Source)
at com.fr.report.core.A.H$_B.B(Unknown Source)
at com.fr.report.core.A.H$_B.n(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.plugin.reportfit.FitResultBookManager.getResultBook(Unknown Source)
at com.fr.plugin.reportfit.ReportFitImpl.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.zB.A(Unknown Source)
at com.fr.web.core.A.zB.A(Unknown Source)
at com.fr.web.core.A.mB.A(Unknown Source)
at com.fr.web.core.A.CB.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.kB.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)
2016-12-14 12:59:05
正常:columnIndex:1columnValue:测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt
2016-12-14 12:59:05
正常:columnIndex:2columnValue:0
2016-12-14 12:59:05
正常:columnIndex:3columnValue: , __BOXMODEL__ : true, __FIT__ : true, __LOCALE__ : zh_CN, __STREAMCLOSED__ : , __WEBPAGE__ : true, _PAPERHEIGHT : 678, _PAPERWIDTH : 1440, CMD : parameters_d, LABEL0 : 测试日:, LABEL10 : 牧场, MUCHANG : 1110110000, OP : page_content, P1 : 123, PN : 1, REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, SESSIONID : 20620, TESTDATE : 2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07}]
2016-12-14 12:59:05
正常:columnIndex:4columnValue:报表计算中 , __BOXMODEL__ : true, __FIT__ : true, __LOCALE__ : zh_CN, __STREAMCLOSED__ : , __WEBPAGE__ : true, _PAPERHEIGHT : 678, _PAPERWIDTH : 1440, CMD : parameters_d, LABEL0 : 测试日:, LABEL10 : 牧场, MUCHANG : 1110110000, OP : page_content, P1 : 123, PN : 1, REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, SESSIONID : 20620, TESTDATE : 2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07}] :
-1
2016-12-14 12:59:05
正常:columnIndex:5columnValue:java.lang.ArrayIndexOutOfBoundsException: -1
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.chart.chartdata.TableDataDefinition.addValueInColumnWithName(Unknown Source)
at com.fr.chart.chartdata.BubbleTableDefinition.createChartData(Unknown Source)
at com.fr.chart.chartdata.TableDataDefinition.calcu4ChartData(Unknown Source)
at com.fr.report.core.A.H.dealWithChart(Unknown Source)
at com.fr.report.core.A.H$_B.B(Unknown Source)
at com.fr.report.core.A.H$_B.n(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.plugin.reportfit.FitResultBookManager.getResultBook(Unknown Source)
at com.fr.plugin.reportfit.ReportFitImpl.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.zB.A(Unknown Source)
at com.fr.web.core.A.zB.A(Unknown Source)
at com.fr.web.core.A.mB.A(Unknown Source)
at com.fr.web.core.A.CB.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.kB.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)
2016-12-14 12:59:05
正常:columnIndex:6columnValue:2016-12-14 12:59:05
2016-12-14 12:59:06
正常:完成报表计算 耗时:9754ms!
2016-12-14 12:59:06
正常:columnIndex:1columnValue:测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt
2016-12-14 12:59:06
正常:页面已生成
2016-12-14 12:59:06
正常:columnIndex:2columnValue:0
2016-12-14 12:59:06
正常:columnIndex:3columnValue:_ : 1481691536920, __BOXMODEL__ : true, __FIT__ : true, __LOCALE__ : zh_CN, __STREAMCLOSED__ : , __WEBPAGE__ : true, _PAPERHEIGHT : 678, _PAPERWIDTH : 1440, CMD : parameters_d, LABEL0 : 测试日:, LABEL10 : 牧场, MUCHANG : 1110110000, OP : page_content, P1 : 123, PN : 1, REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt, SESSIONID : 20620, TESTDATE : 2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07
2016-12-14 12:59:06
正常:columnIndex:4columnValue:localhost
2016-12-14 12:59:06
正常:开始转报表页为Html
2016-12-14 12:59:06
正常:columnIndex:5columnValue:未登录用户
2016-12-14 12:59:06
正常:columnIndex:6columnValue:未知角色
2016-12-14 12:59:06
正常:columnIndex:7columnValue:2016-12-14 12:59:06
2016-12-14 12:59:06
正常:columnIndex:8columnValue:9755
2016-12-14 12:59:06
正常:报表页转Html结束 耗时2毫秒
2016-12-14 12:59:06
正常:columnIndex:9columnValue:where 报表日 = (SELECT top(1) 报表日 FROM dbo.order by 报表日)and 牧场编码 = '1110110000'and 测试日 in ('2016-04-05','2016-04-21','2016-05-03','2016-05-17','2016-06-01','2016-06-14','2016-07-05','2016-08-03','2016-09-06','2016-10-07')order by 测试日,胎次组 ; rowcount : 17782 ; time : 2016-12-14 12:59:04 ;]
2016-12-14 12:59:06
正常:columnIndex:10columnValue:36000
2016-12-14 12:59:06
正常:columnIndex:11columnValue:{"Agent":"mozilla/5.0 (windows nt 6.1; wow64) applewebkit/537.36 (khtml, like gecko) chrome/54.0.2840.99 safari/537.36 opr/41.0.2353.69","Version":"537.36","BoxModel":true,"Browser":"webkit"}
执行的SQL:
SELECT * FROM dbo.
where 报表日 =
(SELECT top(1) 报表日 FROM dbo.
order by 报表日)
and 牧场编码 = '${muchang}'
and 测试日 in ('${testDate}')
order by 测试日,胎次组
测试日数据库为日期类型,数据库是sqlServer
问题描述:
下拉复选框,返回值勾选为字符串,分隔符为','
如果选择2个时间没问题,选择超过2个时间数据就会出现上面的错误,把时间直接放在SQL中运行是可以显示的没问题,不清楚哪里出错了,究竟算是BUG还是?
另外说明下,导出内置模板运行就不会出现这种出错
{:9_257:}