报错日志: 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:1[12]<--->columnValue:测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt[java.lang.String] 2016-12-14 12:58:56 正常:开始计算报表 2016-12-14 12:58:56 正常:SQL: SELECT * FROM dbo.[Rep_测试日的脂肪蛋白比例是否表明了一些潜在的问题] where 报表日 = (SELECT top(1) 报表日 FROM dbo.[Rep_测试日的脂肪蛋白比例是否表明了一些潜在的问题] 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 严重:报表计算中[Name : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt] [Parameter : {_ : 1481691536920[java.lang.String], __BOXMODEL__ : true[java.lang.String], __FIT__ : true[java.lang.String], __LOCALE__ : zh_CN[java.util.Locale], __STREAMCLOSED__ : [java.lang.String], __WEBPAGE__ : true[java.lang.String], _PAPERHEIGHT : 678[java.lang.String], _PAPERWIDTH : 1440[java.lang.String], CMD : parameters_d[java.lang.String], LABEL0 : 测试日:[java.lang.String], LABEL10 : 牧场[java.lang.String], MUCHANG : 1110110000[java.lang.String], OP : page_content[java.lang.String], P1 : 123[java.lang.String], PN : 1[java.lang.String], REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt[java.lang.String], REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt[java.lang.String], SESSIONID : 20620[java.lang.String], 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[java.lang.String]}][Type : page] : -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:1[12]<--->columnValue:测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt[java.lang.String] 2016-12-14 12:59:05 正常:columnIndex:2[-6]<--->columnValue:0[java.lang.Short] 2016-12-14 12:59:05 正常:columnIndex:3[12]<--->columnValue:[Name : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt] [Parameter : {_ : 1481691536920[java.lang.String], __BOXMODEL__ : true[java.lang.String], __FIT__ : true[java.lang.String], __LOCALE__ : zh_CN[java.util.Locale], __STREAMCLOSED__ : [java.lang.String], __WEBPAGE__ : true[java.lang.String], _PAPERHEIGHT : 678[java.lang.String], _PAPERWIDTH : 1440[java.lang.String], CMD : parameters_d[java.lang.String], LABEL0 : 测试日:[java.lang.String], LABEL10 : 牧场[java.lang.String], MUCHANG : 1110110000[java.lang.String], OP : page_content[java.lang.String], P1 : 123[java.lang.String], PN : 1[java.lang.String], REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt[java.lang.String], REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt[java.lang.String], SESSIONID : 20620[java.lang.String], 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[java.lang.String]}][Type : page] [java.lang.String] 2016-12-14 12:59:05 正常:columnIndex:4[12]<--->columnValue:报表计算中[Name : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt] [Parameter : {_ : 1481691536920[java.lang.String], __BOXMODEL__ : true[java.lang.String], __FIT__ : true[java.lang.String], __LOCALE__ : zh_CN[java.util.Locale], __STREAMCLOSED__ : [java.lang.String], __WEBPAGE__ : true[java.lang.String], _PAPERHEIGHT : 678[java.lang.String], _PAPERWIDTH : 1440[java.lang.String], CMD : parameters_d[java.lang.String], LABEL0 : 测试日:[java.lang.String], LABEL10 : 牧场[java.lang.String], MUCHANG : 1110110000[java.lang.String], OP : page_content[java.lang.String], P1 : 123[java.lang.String], PN : 1[java.lang.String], REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt[java.lang.String], REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt[java.lang.String], SESSIONID : 20620[java.lang.String], 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[java.lang.String]}][Type : page] : -1[java.lang.String] 2016-12-14 12:59:05 正常:columnIndex:5[-1]<--->columnValue: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) [java.lang.String] 2016-12-14 12:59:05 正常:columnIndex:6[93]<--->columnValue:2016-12-14 12:59:05[java.util.Date] 2016-12-14 12:59:06 正常:完成报表计算 耗时:9754ms! 2016-12-14 12:59:06 正常:columnIndex:1[12]<--->columnValue:测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt[java.lang.String] 2016-12-14 12:59:06 正常:页面已生成 2016-12-14 12:59:06 正常:columnIndex:2[-6]<--->columnValue:0[java.lang.Short] 2016-12-14 12:59:06 正常:columnIndex:3[12]<--->columnValue:_ : 1481691536920[java.lang.String], __BOXMODEL__ : true[java.lang.String], __FIT__ : true[java.lang.String], __LOCALE__ : zh_CN[java.util.Locale], __STREAMCLOSED__ : [java.lang.String], __WEBPAGE__ : true[java.lang.String], _PAPERHEIGHT : 678[java.lang.String], _PAPERWIDTH : 1440[java.lang.String], CMD : parameters_d[java.lang.String], LABEL0 : 测试日:[java.lang.String], LABEL10 : 牧场[java.lang.String], MUCHANG : 1110110000[java.lang.String], OP : page_content[java.lang.String], P1 : 123[java.lang.String], PN : 1[java.lang.String], REPORTLET : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt[java.lang.String], REPORTNAME : 测试日的脂肪蛋白比例是否表明了一些潜在的问题.cpt[java.lang.String], SESSIONID : 20620[java.lang.String], 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[java.lang.String][java.lang.String] 2016-12-14 12:59:06 正常:columnIndex:4[12]<--->columnValue:localhost[java.lang.String] 2016-12-14 12:59:06 正常:开始转报表页为Html 2016-12-14 12:59:06 正常:columnIndex:5[12]<--->columnValue:未登录用户[java.lang.String] 2016-12-14 12:59:06 正常:columnIndex:6[12]<--->columnValue:未知角色[java.lang.String] 2016-12-14 12:59:06 正常:columnIndex:7[93]<--->columnValue:2016-12-14 12:59:06[java.util.Date] 2016-12-14 12:59:06 正常:columnIndex:8[4]<--->columnValue:9755[java.lang.Long] 2016-12-14 12:59:06 正常:报表页转Html结束 耗时2毫秒 2016-12-14 12:59:06 正常:columnIndex:9[-1]<--->columnValue:[ sql : SELECT * FROM dbo.[Rep_测试日的脂肪蛋白比例是否表明了一些潜在的问题]where 报表日 = (SELECT top(1) 报表日 FROM dbo.[Rep_测试日的脂肪蛋白比例是否表明了一些潜在的问题]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 ;] [java.lang.String] 2016-12-14 12:59:06 正常:columnIndex:10[2]<--->columnValue:36000[java.lang.Long] 2016-12-14 12:59:06 正常:columnIndex:11[12]<--->columnValue:{"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"}[java.lang.String] 执行的SQL: SELECT * FROM dbo.[Rep_测试日的脂肪蛋白比例是否表明了一些潜在的问题] where 报表日 = (SELECT top(1) 报表日 FROM dbo.[Rep_测试日的脂肪蛋白比例是否表明了一些潜在的问题] order by 报表日) and 牧场编码 = '${muchang}' and 测试日 in ('${testDate}') order by 测试日,胎次组 测试日数据库为日期类型,数据库是sqlServer 问题描述: 下拉复选框,返回值勾选为字符串,分隔符为',' 如果选择2个时间没问题,选择超过2个时间数据就会出现上面的错误,把时间直接放在SQL中运行是可以显示的没问题,不清楚哪里出错了,究竟算是BUG还是? 另外说明下,导出内置模板运行就不会出现这种出错 |
最佳回答 |
||||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|
|||
0
|
|