|
楼主 |
发表于 2017-6-1 09:32:16
|
显示全部楼层
同步菜单时报如下错误:
2017-06-01 09:23:16 [SQL Time]sql 执行时间:0ms, exec KSQL: SELECT p FROM SA_OPP
erson p where p.sValidState=1
--> sql:SELECT p.sID FROM SA_OPPerson p WHERE p.SVALIDSTATE = ?
--> binds:[1]
2017-06-01 09:23:16 [KSQL Time]sql 执行时间:0ms, ksql:SELECT p FROM SA_OPPerson
p where p.sValidState=1
2017-06-01 09:23:16 [SQL Time]sql 执行时间:16ms, exec KSQL:
--> sql:SELECT count(*) FROM SA_OPPerson p WHERE p.SVALIDSTATE = ?
--> binds:[1]
2017-06-01 09:23:16 [SQL Time]sql 执行时间:0ms, exec KSQL: select SA_OPPerson,
SA_OPPerson.sName from SA_OPPerson SA_OPPerson where SA_OPPerson.sValidState=1
--> sql:SELECT SA_OPPerson.sID, SA_OPPerson.SNAME AS sName FROM SA_OPPerson S
A_OPPerson WHERE SA_OPPerson.SVALIDSTATE = ?
--> binds:[1]
2017-06-01 09:23:16 [KSQL Time]sql 执行时间:0ms, ksql:select SA_OPPerson, SA_OP
Person.sName from SA_OPPerson SA_OPPerson where SA_OPPerson.sValidState=1
2017-06-01 09:23:16 [SQL Time]sql 执行时间:0ms, exec KSQL: select DISTINCT o.sP
ersonID as SA_OPPerson, o.sName from SA_OPOrg o where o.sValidState=1 and o.sOrg
KindID='psm'
--> sql:SELECT DISTINCT o.SPERSONID AS SA_OPPerson, o.SNAME AS sName FROM SA
_OPOrg o WHERE (o.SVALIDSTATE = ?) AND (o.SORGKINDID = ?)
--> binds:[1, psm]
2017-06-01 09:23:16 [KSQL Time]sql 执行时间:0ms, ksql:select DISTINCT o.sPerson
ID as SA_OPPerson, o.sName from SA_OPOrg o where o.sValidState=1 and o.sOrgKindI
D='psm'
2017-06-01 09:24:15 [SQL Time]sql 执行时间:0ms, exec sql:{DEFAULT=select sText
AS STEXT from SA_Code where sType = 'wxMenuConfig' }
--> binds:[]
2017-06-01 09:24:15 [SQL Time]sql 执行时间:0ms, exec sql:{DEFAULT=update SA_Cod
e set sCode = '6',sText = ? where sType = 'wxMenuConfig' }
--> binds:[[{"Name":{"value":"我的CRM"},"URL":{"value":"https://open.weixin.qq.
com/connect/oauth2/authorize?appid=wxb137643b9cd33415&redirect_uri=https%3A%2F%2
Fcrm.yunuotech.com%2Fx5%2FUI2%2FSA%2Fweixin%2FOauth2Callback.j%3FconfigKey%3Dwxb
137643b9cd334156%26pageURL%3DLi4vLi4vcG9ydGFsL21vYmlsZS9pbmRleC53P3Byb2Nlc3M9L1N
BL09QTS9zeXN0ZW0vc3lzdGVtUHJvY2VzcyZhY3Rpdml0eT1tYWluQWN0aXZpdHk%3D&response_typ
e=code&scope=snsapi_base&state=STATE#wechat_redirect"},"configKey":{"value":"wxb
137643b9cd334156"},"funcURL":{"value":"../../portal/mobile/index.w?process=/SA/O
PM/system/systemProcess&activity=mainActivity"},"id":{"value":"C6D71D7904D00001C
DBCB4548CBCD340"},"level":{"value":"一级菜单"},"parent":{"value":""},"path":{"va
lue":"首页"},"rows":[]}]]
2017-06-01 09:24:15 [Action Time]action执行时间:140ms,/SA/weixin/process/weixin
/weixinProcess,mainActivity,saveMenuConfigAction
==actionName==menuSynchToWxAction
2017-06-01 09:24:15 getWeixinBSessionID
2017-06-01 09:24:15 bsessionid:92B905B8764461FBEAEAFEA933184E90
2017-06-01 09:24:15 已经登录过:92B905B8764461FBEAEAFEA933184E90
2017-06-01 09:24:15 session 没有超时
2017-06-01 09:24:15 check login end getWeixinBSessionID
2017-06-01 09:24:16 [SQL Time]sql 执行时间:0ms, exec sql:{DEFAULT=select sText
AS STEXT from SA_Code where sType = 'wxMenuConfig' and sCode = 'null'}
--> binds:[]
2017-06-01 09:24:16 action:<?xml version="1.0" encoding="UTF-8"?>
<action process="/SA/weixin/process/weixin/weixinProcess" activity="mainActivity
" name="menuSynchToWxAction" execute-context="configKey=wxb137643b9cd334156;" co
ntent-type="application/xml"><parameters><parameter name="isSingle"><xbiz:simple
xmlns:xbiz="http://www.justep.com/xbiz#" type="http://www.w3.org/2001/XMLSchema
#String">???</xbiz:simple></parameter></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(DelegatingMethodAcces
sorImpl.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 Sour
ce)
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(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: 无效菜单文件
at orgSynchronizeToWeixin.CreateWxMenu(orgSynchronizeToWeixin.java:742)
at orgSynchronizeToWeixin.menuSynchToWx(orgSynchronizeToWeixin.java:728)
... 28 more
2017-06-01 09:24:16 无效菜单文件
javax.servlet.ServletException: java.lang.RuntimeException: 无效菜单文件
at com.justep.ui.servlet.MainServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(Appl
icationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationF
ilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperV
alve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextV
alve.java:191)
at org.apache.catalina.authenticator.AuthenticatorBase.invoke(Authentica
torBase.java:563)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.j
ava:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.j
ava:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineVal
ve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.jav
a:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java
:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.proce
ss(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:48
9)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.RuntimeException: 无效菜单文件
at Synchweixin.doExec(Synchweixin.java:49)
at Synchweixin.execute(Synchweixin.java:24)
at com.justep.ui.JavaServer.runJava(Unknown Source)
at com.justep.ui.JavaServer.doJ(Unknown Source)
at com.justep.ui.JavaServer.service(Native Method)
... 18 more
|
|