|
X5.2.3版本升级到X5.2.5版本之后发现同一报表页面执行出错问题,在X5.2.3版本下实现“专家分数评定报表”页面,没有出现问题,结果如下图1所示。
升级到X5.2.5版本之后测试发现该页面执行出错,如下图2所示。
控制台信息如下:- at java.lang.Thread.run(Thread.java:662)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at com.justep.system.action.Engine.invokeActions(Native Method)
- ... 21 more
- Caused by: com.justep.model.exception.ModelException: 执行sqlQueryAction时报错!select EI.Name as Name,ISNULL(ES.ExpertRolesName,'未担任评审职务') as ExpertRoles,isnull(ES.ExpertScore, '0') as score,count(ES.ExpertRolesName) as count,isnull(ExpertScore*count(*), '0') as Total from ExpertReview ER right outer join ExpertInformation EI on EI.Name = ER.ExpertName left outer join ExpertSetscoreMess ES on ER.RevPosition = ES.ExpertRolesName WHERE 1=1 and ER.ReviewDate BETWEEN CAST('null' AS DATETIME) and CAST('null' AS DATETIME) group by Name, ES.ExpertRolesName, ES.ExpertScore order by EI.Name, ES.ExpertRolesName desc
- at com.justep.system.data.SQL.select(Unknown Source)
- at com.justep.system.data.SQL.select(Unknown Source)
- at Kyglxt.expertScoreReview(Kyglxt.java:147)
- ... 26 more
- Caused by: java.sql.SQLException: 从字符串转换日期和/或时间时,转换失败。
- at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:365)
- at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2781)
- at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2224)
- at net.sourceforge.jtds.jdbc.TdsCore.isDataInResultSet(TdsCore.java:792)
- at net.sourceforge.jtds.jdbc.JtdsResultSet.<init>(JtdsResultSet.java:146)
- at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:424)
- at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuery(JtdsPreparedStatement.java:693)
- at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
- at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
- ... 29 more
- 2013-07-24 17:47:14 excute Action error:<?xml version="1.0" encoding="UTF-8"?>
- <action direct-execute="true" process="/kygl/kyglxt/process/expertScoreRevReport/expertScoreRevReportProcess" activity="mainActivity" action-flag="__action_0__" executor="" execute-context="" name="expertScoreReviewAction"><parameters xmlns:xbiz="http://www.justep.com/xbiz#"></parameters></action>
- com.justep.model.exception.ModelException: java.lang.reflect.InvocationTargetException
- at com.justep.system.action.Engine.invokeActions(Unknown Source)
- at com.justep.business.server.BusinessServer.doAction(Unknown Source)
- at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
- at com.justep.business.server.BusinessServer.excute(Unknown Source)
- at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
- at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
- at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
- at java.lang.Thread.run(Thread.java:662)
- Caused by: java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:597)
- at com.justep.system.action.Engine.invokeActions(Native Method)
- ... 21 more
- Caused by: com.justep.model.exception.ModelException: 执行sqlQueryAction时报错!select EI.Name as Name,ISNULL(ES.ExpertRolesName,'未担任评审职务') as ExpertRoles,isnull(ES.ExpertScore, '0') as score,count(ES.ExpertRolesName) as count,isnull(ExpertScore*count(*), '0') as Total from ExpertReview ER right outer join ExpertInformation EI on EI.Name = ER.ExpertName left outer join ExpertSetscoreMess ES on ER.RevPosition = ES.ExpertRolesName WHERE 1=1 and ER.ReviewDate BETWEEN CAST('null' AS DATETIME) and CAST('null' AS DATETIME) group by Name, ES.ExpertRolesName, ES.ExpertScore order by EI.Name, ES.ExpertRolesName desc
- at com.justep.system.data.SQL.select(Unknown Source)
- at com.justep.system.data.SQL.select(Unknown Source)
- at Kyglxt.expertScoreReview(Kyglxt.java:147)
- ... 26 more
- Caused by: java.sql.SQLException: 从字符串转换日期和/或时间时,转换失败。
- at net.sourceforge.jtds.jdbc.SQLDiagnostic.addDiagnostic(SQLDiagnostic.java:365)
- at net.sourceforge.jtds.jdbc.TdsCore.tdsErrorToken(TdsCore.java:2781)
- at net.sourceforge.jtds.jdbc.TdsCore.nextToken(TdsCore.java:2224)
- at net.sourceforge.jtds.jdbc.TdsCore.isDataInResultSet(TdsCore.java:792)
- at net.sourceforge.jtds.jdbc.JtdsResultSet.<init>(JtdsResultSet.java:146)
- at net.sourceforge.jtds.jdbc.JtdsStatement.executeSQLQuery(JtdsStatement.java:424)
- at net.sourceforge.jtds.jdbc.JtdsPreparedStatement.executeQuery(JtdsPreparedStatement.java:693)
- at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
- at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
- ... 29 more
- [ERROR] 2013-07-24 17:47:14,182 com.justep.report.controller.DataController - 报表数据获取失败
- 执行sqlQueryAction时报错!select EI.Name as Name,ISNULL(ES.ExpertRolesName,'未担任评审职务') as ExpertRoles,isnull(ES.ExpertScore, '0') as score,count(ES.ExpertRolesName) as count,isnull(ExpertScore*count(*), '0') as Total from ExpertReview ER right outer join ExpertInformation EI on EI.Name = ER.ExpertName left outer join ExpertSetscoreMess ES on ER.RevPosition = ES.ExpertRolesName WHERE 1=1 and ER.ReviewDate BETWEEN CAST('null' AS DATETIME) and CAST('null' AS DATETIME) group by Name, ES.ExpertRolesName, ES.ExpertScore order by EI.Name, ES.ExpertRolesName desc
- com.justep.report.exception.ReportServerException: 报表数据获取失败
- at com.justep.report.controller.DataController.execute(Unknown Source)
- at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
- at com.justep.report.controller.InitController.execute(Unknown Source)
- at com.justep.report.controller.GenericControllerChain.execute(Unknown Source)
- at com.justep.report.Servlet.a(Unknown Source)
- at com.justep.report.Servlet.doPost(Unknown Source)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:637)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
- at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
- at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
- at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
- at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
- at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
- at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
- at java.lang.Thread.run(Thread.java:662)
- Caused by: com.justep.report.exception.ReportServerException: 执行sqlQueryAction时报错!select EI.Name as Name,ISNULL(ES.ExpertRolesName,'未担任评审职务') as ExpertRoles,isnull(ES.ExpertScore, '0') as score,count(ES.ExpertRolesName) as count,isnull(ExpertScore*count(*), '0') as Total from ExpertReview ER right outer join ExpertInformation EI on EI.Name = ER.ExpertName left outer join ExpertSetscoreMess ES on ER.RevPosition = ES.ExpertRolesName WHERE 1=1 and ER.ReviewDate BETWEEN CAST('null' AS DATETIME) and CAST('null' AS DATETIME) group by Name, ES.ExpertRolesName, ES.ExpertScore order by EI.Name, ES.ExpertRolesName desc
- at com.justep.report.controller.DataController.a(Unknown Source)
- at com.justep.report.controller.DataController.a(Unknown Source)
- ... 20 more
- Caused by: java.lang.Exception
- ... 22 more
复制代码 |
-
1
-
2
|