|
<action process="/qx/qx/process/reportDemo/reportDemoProcess" activity="mainActivity" action-flag="__action_0__" executor="" execute-context="" name="queryV_reportBaobiao1Action"><parameters xmlns:xbiz="http://www.justep.com/xbiz#"><parameter name="variables"/></parameters></action>
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:57)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:606)
at com.justep.system.action.Engine.invokeActions(Native Method)
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.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:723)
at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
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:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: select v_reportBaobiao.xlzd as xlzd,v_reportBaobiao.zongjixiu as zongjixiu,v_reportBaobiao.zongtuoche as zongtuoche,v_reportBaobiao.zongxianlu as zongxianlu,v_reportBaobiao.xianlujixiu as xianlujixiu,v_reportBaobiao.xianlutuoche as xianlutuoche,v_reportBaobiao.zongzhandian as zongzhandian,v_reportBaobiao.zhandianjixiu as zhandianjixiu,v_reportBaobiao.zhandiantuoche as zhandiantuoche,v_reportBaobiao.zongwgsj as zongwgsj from v_reportBaobiao v_reportBaobiao
--> sql: SELECT v_reportBaobiao.XLZD AS xlzd, v_reportBaobiao.ZONGJIXIU AS zongjixiu, v_reportBaobiao.ZONGTUOCHE AS zongtuoche, v_reportBaobiao.ZONGXIANLU AS zongxianlu, v_reportBaobiao.XIANLUJIXIU AS xianlujixiu, v_reportBaobiao.XIANLUTUOCHE AS xianlutuoche, v_reportBaobiao.ZONGZHANDIAN AS zongzhandian, v_reportBaobiao.ZHANDIANJIXIU AS zhandianjixiu, v_reportBaobiao.ZHANDIANTUOCHE AS zhandiantuoche, v_reportBaobiao.ZONGWGSJ AS zongwgsj FROM v_reportBaobiao v_reportBaobiao
--> binds: []
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.KSQL.select(Unknown Source)
at KSQLProcedure.query(KSQLProcedure.java:18)
... 27 more
Caused by: java.sql.SQLException: The value supplied cannot be converted to INTEGER.
at net.sourceforge.jtds.jdbc.Support.convert(Support.java:570)
at net.sourceforge.jtds.jdbc.JtdsResultSet.getInt(JtdsResultSet.java:657)
at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getInt(DelegatingResultSet.java:225)
at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getInt(DelegatingResultSet.java:225)
at com.justep.system.data.impl.TableUtilsImplement.fillRow(Unknown Source)
... 32 more
[ERROR] 2016-03-14 17:06:10,710 com.justep.report.controller.DataController - 报表数据获取失败
执行KSQL出错, KSQL: select v_reportBaobiao.xlzd as xlzd,v_reportBaobiao.zongjixiu as zongjixiu,v_reportBaobiao.zongtuoche as zongtuoche,v_reportBaobiao.zongxianlu as zongxianlu,v_reportBaobiao.xianlujixiu as xianlujixiu,v_reportBaobiao.xianlutuoche as xianlutuoche,v_reportBaobiao.zongzhandian as zongzhandian,v_reportBaobiao.zhandianjixiu as zhandianjixiu,v_reportBaobiao.zhandiantuoche as zhandiantuoche,v_reportBaobiao.zongwgsj as zongwgsj from v_reportBaobiao v_reportBaobiao
--> sql: SELECT v_reportBaobiao.XLZD AS xlzd, v_reportBaobiao.ZONGJIXIU AS zongjixiu, v_reportBaobiao.ZONGTUOCHE AS zongtuoche, v_reportBaobiao.ZONGXIANLU AS zongxianlu, v_reportBaobiao.XIANLUJIXIU AS xianlujixiu, v_reportBaobiao.XIANLUTUOCHE AS xianlutuoche, v_reportBaobiao.ZONGZHANDIAN AS zongzhandian, v_reportBaobiao.ZHANDIANJIXIU AS zhandianjixiu, v_reportBaobiao.ZHANDIANTUOCHE AS zhandiantuoche, v_reportBaobiao.ZONGWGSJ AS zongwgsj FROM v_reportBaobiao v_reportBaobiao
--> binds: []
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:643)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
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:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: com.justep.report.exception.ReportServerException: 执行KSQL出错, KSQL: select v_reportBaobiao.xlzd as xlzd,v_reportBaobiao.zongjixiu as zongjixiu,v_reportBaobiao.zongtuoche as zongtuoche,v_reportBaobiao.zongxianlu as zongxianlu,v_reportBaobiao.xianlujixiu as xianlujixiu,v_reportBaobiao.xianlutuoche as xianlutuoche,v_reportBaobiao.zongzhandian as zongzhandian,v_reportBaobiao.zhandianjixiu as zhandianjixiu,v_reportBaobiao.zhandiantuoche as zhandiantuoche,v_reportBaobiao.zongwgsj as zongwgsj from v_reportBaobiao v_reportBaobiao
--> sql: SELECT v_reportBaobiao.XLZD AS xlzd, v_reportBaobiao.ZONGJIXIU AS zongjixiu, v_reportBaobiao.ZONGTUOCHE AS zongtuoche, v_reportBaobiao.ZONGXIANLU AS zongxianlu, v_reportBaobiao.XIANLUJIXIU AS xianlujixiu, v_reportBaobiao.XIANLUTUOCHE AS xianlutuoche, v_reportBaobiao.ZONGZHANDIAN AS zongzhandian, v_reportBaobiao.ZHANDIANJIXIU AS zhandianjixiu, v_reportBaobiao.ZHANDIANTUOCHE AS zhandiantuoche, v_reportBaobiao.ZONGWGSJ AS zongwgsj FROM v_reportBaobiao v_reportBaobiao
--> binds: []
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
-------------------------------------------------------------------------------------------------------------
我的action里的语句是 select v_reportBaobiao.xlzd as xlzd,v_reportBaobiao.zongjixiu as zongjixiu,v_reportBaobiao.zongtuoche as zongtuoche,v_reportBaobiao.zongxianlu as zongxianlu,v_reportBaobiao.xianlujixiu as xianlujixiu,v_reportBaobiao.xianlutuoche as xianlutuoche,v_reportBaobiao.zongzhandian as zongzhandian,v_reportBaobiao.zhandianjixiu as zhandianjixiu,v_reportBaobiao.zhandiantuoche as zhandiantuoche,v_reportBaobiao.zongwgsj as zongwgsj
from v_reportBaobiao v_reportBaobiao
这个在sqlserver中是可以查询的
其他的也都按照视频的步骤 但是报错
|
|