起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 3796|回复: 5

[处理中3] 企业微信无法同步通讯录

[复制链接]

7

主题

17

帖子

31

积分

新手上路

Rank: 1

积分
31
QQ
发表于 2019-5-14 09:08:47 | 显示全部楼层 |阅读模式
2019-05-14 09:03:52 编码: JUSTEP002026; 提示: .J(/UI2/SA/weixin/Synchweixin.j)执行失败

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2019-5-14 09:49:56 | 显示全部楼层
发完整的错误信息
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

7

主题

17

帖子

31

积分

新手上路

Rank: 1

积分
31
QQ
 楼主| 发表于 2019-5-14 11:58:54 | 显示全部楼层
==actionName==orgSynchToWeixinAction
==agentId==null
人员编码
==isSingle==null
2019-05-14 10:01:28 getWeixinBSessionID
2019-05-14 10:01:28 bsessionid:416071148F948096D1254E6832EDF623
2019-05-14 10:01:28 已经登录过:416071148F948096D1254E6832EDF623
2019-05-14 10:01:28 session 没有超时
2019-05-14 10:01:28 check login end getWeixinBSessionID
2019-05-14 10:01:29 api forbidden, hint: [1557799288_5_1ab55838e180d5c11661b4f2794f307c], more info at https://open.work.weixin.qq.com/devtool/query?e=48002
2019-05-14 10:01:29 api forbidden, hint: [1557799288_1_e72a1966644958e015597fad94e0b824], more info at https://open.work.weixin.qq.com/devtool/query?e=48002
2019-05-14 10:01:30 api forbidden, hint: [1557799288_4_81262d454ab365b04b906d4afa1e45ce], more info at https://open.work.weixin.qq.com/devtool/query?e=48002
2019-05-14 10:01:30 action:<?xml version="1.0" encoding="UTF-8"?>
<action process="/SA/weixin/process/weixin/weixinProcess" activity="mainActivity" name="orgSynchToWeixinAction" execute-context="configKey=ww2f24b5554ff7f2ac1000002;" content-type="application/xml"><parameters><parameter name="AccountType"><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: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.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 com.justep.micro.service.MicroServiceFilter.doFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        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: java.lang.NullPointerException
        at orgSynchronizeToWeixin.InsertwxDepart(orgSynchronizeToWeixin.java:370)
        at orgSynchronizeToWeixin.orgSynchToWeixin(orgSynchronizeToWeixin.java:149)
        ... 30 more
2019-05-14 10:01:30
java.lang.RuntimeException: null
        at Synchweixin.doExec(Synchweixin.java:52)
        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)
        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(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.justep.ui.filter.MicroServiceAdminFilter.doFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        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)
2019-05-14 10:01:30 编码: JUSTEP002026; 提示: .J(/UI2/SA/weixin/Synchweixin.j)执行失败
回复 支持 反对

使用道具 举报

7

主题

17

帖子

31

积分

新手上路

Rank: 1

积分
31
QQ
 楼主| 发表于 2019-5-14 11:59:28 | 显示全部楼层
javax.servlet.ServletException: com.justep.ui.exception.UIException: 编码: JUSTEP002026; 提示: .J(/UI2/SA/weixin/Synchweixin.j)执行失败
        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(ApplicationFilterChain.java:290)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.justep.portal.filter.RedirectFilter.doFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
        at com.justep.ui.filter.MicroServiceAdminFilter.doFilter(Unknown Source)
        at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
        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)
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2019-5-14 13:19:18 | 显示全部楼层
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
发表于 2020-9-3 18:47:04 | 显示全部楼层
jishuang 发表于 2019-5-14 13:19
http://bbs.wex5.com/forum.php?mod=redirect&goto=findpost&ptid=210421&pid=165622118中一样的问题吧 ...

select  SA_OPOrg,SA_OPOrg.sName,SA_OPOrg.sParent,(select a.sWxDeptID from SA_OPOrg a where a = SA_OPOrg.sParent) AS wxParentDeptID FROM SA_OPOrg SA_OPOrg where  (SA_OPOrg.sWxDeptID  is null or SA_OPOrg.sWxDeptID = '')   and SA_OPOrg.sValidState = 1 and SA_OPOrg.sOrgKindID in ('ogn','dpt') and length(SA_OPOrg.sSequence) = 4 order by SA_OPOrg.sSequence
2020-09-03 18:53:31 api forbidden, hint: [1599129963_56_c292f4c38b74c9b5aefca5fa2cf8110a], from ip: 125.33.244.172, more info at https://open.work.weixin.qq.com/devtool/query?e=48002
2020-09-03 18:53:31 api forbidden, hint: [1599129963_54_9211cde8d805a239bf9a4897876cd5f1], from ip: 125.33.244.172, more info at https://open.work.weixin.qq.com/devtool/query?e=48002
select  SA_OPOrg,SA_OPOrg.sName,SA_OPOrg.sParent,(select a.sWxDeptID from SA_OPOrg a where a = SA_OPOrg.sParent) AS wxParentDeptID FROM SA_OPOrg SA_OPOrg where  (SA_OPOrg.sWxDeptID  is null or SA_OPOrg.sWxDeptID = '')   and SA_OPOrg.sValidState = 1 and SA_OPOrg.sOrgKindID in ('ogn','dpt') and length(SA_OPOrg.sSequence) = 8 order by SA_OPOrg.sSequence
2020-09-03 18:53:31 action:<?xml version="1.0" encoding="UTF-8"?>
<action process="/SA/weixin/process/weixin/weixinProcess" activity="mainActivity" name="orgSynchToWeixinAction" execute-context="configKey=ww03061d01fbbd2aa21000002;" content-type="application/xml"><parameters><parameter name="AccountType"><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: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.doActi
回复 支持 反对

使用道具 举报

您需要登录后才可以回帖 登录 | 注册

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-25 14:51 , Processed in 0.098848 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

快速回复 返回顶部 返回列表