|
楼主 |
发表于 2021-7-2 17:48:12
|
显示全部楼层
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
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.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 p, p.sName AS pname, p.sCode AS pcode, mo, mo.sFID as m_sfid, mo.sFName as m_sfname, mo.sFCode as m_sfcode , a.sOrgFName as agt_fname, a.sOrgFID as agt_fid, a.sProcess as agt_process FROM SA_OPPerson p JOIN SA_OPOrg mo ON p.sMainOrgID = mo JOIN SA_OPOrg pm ON pm.sValidState = 1 AND pm.sPersonID = p AND pm.sOrgKindID = 'psm' JOIN SA_OPAgent a ON a.sOrgFID = pm.sFID AND a.sAgentID = 'PSN01' AND a.sValidState = 1 AND (:now >= a.sStartTime OR a.sStartTime IS NULL) AND (a.sFinishTime IS NULL OR a.sFinishTime >= :now)
--> sql: SELECT p.sID, p.SNAME AS pname, p.SCODE AS pcode, mo.sID, mo.sFID AS m_sfid, mo.sFName AS m_sfname, mo.SFCODE AS m_sfcode, a.SORGFNAME AS agt_fname, a.SORGFID AS agt_fid, a.SPROCESS AS agt_process FROM SA_OPPerson p JOIN SA_OPOrg mo ON p.SMAINORGID = mo.sID JOIN SA_OPOrg pm ON (pm.SVALIDSTATE = ?) AND (pm.SPERSONID = p.sID) AND (pm.SORGKINDID = ?) JOIN SA_OPAgent a ON (a.SORGFID = pm.sFID) AND (a.SAGENTID = ?) AND (a.SVALIDSTATE = ?) AND ( ( ? >= a.SSTARTTIME) OR (a.SSTARTTIME IS NULL) ) AND ( (a.SFINISHTIME IS NULL) OR (a.SFINISHTIME >= ? ) )
--> binds: [1, psm, PSN01, 1, 2021-07-02 17:46:38.302, 2021-07-02 17:46:38.302]
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 com.justep.system.opm.Operator.loadAgent(Unknown Source)
at com.justep.system.opm.Operator.loadPersonPermission(Unknown Source)
at com.justep.system.opm.Operator.<init>(Unknown Source)
at com.justep.system.opm.OrgUtils.login(Native Method)
at com.justep.system.opm.OrgUtils.login1(Unknown Source)
at OPMProcedure.login(OPMProcedure.java:141)
at OPMProcedure.login(OPMProcedure.java:126)
... 26 more
Caused by: com.justep.exception.BusinessException: 编码: JUSTEP150039; 提示: 执行sql: SELECT p.sID, p.SNAME AS pname, p.SCODE AS pcode, mo.sID, mo.sFID AS m_sfid, mo.sFName AS m_sfname, mo.SFCODE AS m_sfcode, a.SORGFNAME AS agt_fname, a.SORGFID AS agt_fid, a.SPROCESS AS agt_process FROM SA_OPPerson p JOIN SA_OPOrg mo ON p.SMAINORGID = mo.sID JOIN SA_OPOrg pm ON (pm.SVALIDSTATE = ?) AND (pm.SPERSONID = p.sID) AND (pm.SORGKINDID = ?) JOIN SA_OPAgent a ON (a.SORGFID = pm.sFID) AND (a.SAGENTID = ?) AND (a.SVALIDSTATE = ?) AND ( ( ? >= a.SSTARTTIME) OR (a.SSTARTTIME IS NULL) ) AND ( (a.SFINISHTIME IS NULL) OR (a.SFINISHTIME >= ? ) ) , binds: [1, psm, PSN01, 1, 2021-07-02 17:46:38.302, 2021-07-02 17:46:38.302]出错
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.ksql.KSQLUtils.execSqlSelect(Unknown Source)
... 37 more
Caused by: java.sql.SQLException: ORA-00942: 表或视图不存在
at oracle.jdbc.driver.DatabaseError.throwSqlException(DatabaseError.java:112)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:331)
at oracle.jdbc.driver.T4CTTIoer.processError(T4CTTIoer.java:288)
at oracle.jdbc.driver.T4C8Oall.receive(T4C8Oall.java:743)
at oracle.jdbc.driver.T4CPreparedStatement.doOall8(T4CPreparedStatement.java:213)
at oracle.jdbc.driver.T4CPreparedStatement.executeForDescribe(T4CPreparedStatement.java:796)
at oracle.jdbc.driver.OracleStatement.executeMaybeDescribe(OracleStatement.java:1031)
at oracle.jdbc.driver.T4CPreparedStatement.executeMaybeDescribe(T4CPreparedStatement.java:836)
at oracle.jdbc.driver.OracleStatement.doExecuteWithTimeout(OracleStatement.java:1124)
at oracle.jdbc.driver.OraclePreparedStatement.executeInternal(OraclePreparedStatement.java:3285)
at oracle.jdbc.driver.OraclePreparedStatement.executeQuery(OraclePreparedStatement.java:3329)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
at org.apache.tomcat.dbcp.dbcp.DelegatingPreparedStatement.executeQuery(DelegatingPreparedStatement.java:96)
... 38 more
|
|