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

QQ登录

只需一步,快速开始

查看: 4065|回复: 4

[结贴] 微信企业号同步组织机构后台报错。报错信息如下:

[复制链接]

31

主题

129

帖子

267

积分

中级会员

Rank: 3Rank: 3

积分
267
QQ
发表于 2017-5-3 17:20:21 | 显示全部楼层 |阅读模式
版本: BeX5V3.5 小版本号:
数据库: MySQL 服务器操作系统: Windows 应用服务器: Tomcat
客户端操作系统: Windows 7 浏览器: Chrome
2017-05-03 08:54:09 开始-WINDOW生成中间文件: /UI2/SA/weixin/process/weixin/mainA
ctivity.w
2017-05-03 08:54:09 加载模块:/UI2/system/components/justep/window/server ...
2017-05-03 08:54:09 加载模块:/UI2/system/components/justep/window/server
2017-05-03 08:54:09 加载模块:/UI2/system/components/justep/model/server ...
2017-05-03 08:54:09 加载模块:/UI2/system/components/justep/model/server
2017-05-03 08:54:09 加载模块:/UI2/system/components/justep/data/server ...
2017-05-03 08:54:09 加载模块:/UI2/system/components/justep/common/server ...
2017-05-03 08:54:09 加载模块:/UI2/system/components/justep/common/server
2017-05-03 08:54:09 加载模块:/UI2/system/components/justep/data/server
2017-05-03 08:54:11 加载模块:/UI2/system/components/justep/grid/server ...
2017-05-03 08:54:11 加载模块:/UI2/system/components/justep/grid/server
2017-05-03 08:54:11 加载模块:/UI2/system/components/justep/windowDialog/server
...
2017-05-03 08:54:11 加载模块:/UI2/system/components/justep/windowDialog/server

2017-05-03 08:54:11 结束-WINDOW生成中间文件: /UI2/SA/weixin/process/weixin/mainA
ctivity.w
2017-05-03 08:54:11 开始-中间文件生成缓存文件: /UI2/SA/weixin/process/weixin/mai
nActivity.w
2017-05-03 08:54:12 结束-中间文件生成缓存文件: /UI2/SA/weixin/process/weixin/mai
nActivity.w
2017-05-03 08:54:12 加载模块:/SA/weixin/process/weixin ...
2017-05-03 08:54:12 加载模块:/SA/weixin/process ...
2017-05-03 08:54:12 加载模块:/SA/weixin ...
2017-05-03 08:54:12 加载模块:/SA/weixin/ontology ...
2017-05-03 08:54:12 加载模块:/SA/weixin/data ...
2017-05-03 08:54:12 加载模块:/SA/weixin/logic/code ...
2017-05-03 08:54:12 加载模块:/SA/weixin/logic ...
2017-05-03 08:54:12 加载模块:/SA/weixin/logic/action ...
2017-05-03 08:55:02 Connection attempt failed with 'java.net.ConnectException: C
onnection refused: connect'. Retrying.
2017-05-03 08:59:33 加载模块:/UI2/SA/weixin ...
2017-05-03 08:59:33 加载模块:/UI2/SA/weixin
==actionName==orgSynchToWeixinAction
2017-05-03 08:59:33 getWeixinBSessionID
2017-05-03 08:59:33 bsessionid:null
2017-05-03 08:59:33 sso login
2017-05-03 08:59:33 sso login bsessionid:AB2C71A0C4C745485080EF5984BF1A82
2017-05-03 08:59:33 check login end getWeixinBSessionID
2017-05-03 08:59:38 action:<?xml version="1.0" encoding="UTF-8"?>
<action process="/SA/weixin/process/weixin/weixinProcess" activity="mainActivity
" name="orgSynchToWeixinAction" execute-context="configKey=wxbff7eea77e5209941;"
content-type="application/xml"><parameters><parameter name="AccountType"><xbiz:
simple xmlns:xbiz="http://www.justep.com/xbiz#" type="http://www.w3.org/2001/XML
Schema#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(DelegatingMethodAcces
sorImpl.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 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.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: me.chanjar.weixin.common.exception.WxErrorException: 微信错误 errcode
=60010, errmsg=parent department id make loop
json:{"errcode":60010,"errmsg":"parent department id make loop"}
        at me.chanjar.weixin.cp.api.WxCpServiceImpl.execute(WxCpServiceImpl.java
:373)
        at me.chanjar.weixin.cp.api.WxCpServiceImpl.departUpdate(WxCpServiceImpl
.java:168)
        at orgSynchronizeToWeixin.modifyWxDepart(orgSynchronizeToWeixin.java:465
)
        at orgSynchronizeToWeixin.modifyChangeofDepart(orgSynchronizeToWeixin.ja
va:442)
        at orgSynchronizeToWeixin.orgSynchToWeixin(orgSynchronizeToWeixin.java:1
47)
        ... 27 more
2017-05-03 08:59:39 微信错误 errcode=60010, errmsg=parent department id make loo
p
json:{"errcode":60010,"errmsg":"parent department id make loop"}
javax.servlet.ServletException: java.lang.RuntimeException: 微信错误 errcode=600
10, errmsg=parent department id make loop
json:{"errcode":60010,"errmsg":"parent department id make loop"}
        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.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: 微信错误 errcode=60010, errmsg=parent dep
artment id make loop
json:{"errcode":60010,"errmsg":"parent department id make loop"}
        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)
        ... 17 more



发表于 2017-5-3 17:45:39 | 显示全部楼层
错误没遇到过!
论坛搜下类似的帖子吧
http://bbs.wex5.com/forum.php?mod=viewthread&tid=93196
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

31

主题

129

帖子

267

积分

中级会员

Rank: 3Rank: 3

积分
267
QQ
 楼主| 发表于 2017-5-4 09:31:44 | 显示全部楼层
liangyongfei 发表于 2017-5-3 17:45
错误没遇到过!
论坛搜下类似的帖子吧
http://bbs.wex5.com/forum.php?mod=viewthread&tid=93196 ...

那这个错误呢?

<action process="/SA/weixin/process/weixin/weixinProcess" activity="mainActivity
" name="orgSynchToWeixinAction" execute-context="configKey=wxbff7eea77e5209941;"
content-type="application/xml"><parameters><parameter name="AccountType"><xbiz:
simple xmlns:xbiz="http://www.justep.com/xbiz#" type="http://www.w3.org/2001/XML
Schema#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(DelegatingMethodAcces
sorImpl.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 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.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: me.chanjar.weixin.common.exception.WxErrorException: 微信错误 errcode
=40014, errmsg=invalid access_token
json:{"errcode":40014,"errmsg":"invalid access_token"}
        at me.chanjar.weixin.cp.api.WxCpServiceImpl.execute(WxCpServiceImpl.java
:373)
        at me.chanjar.weixin.cp.api.WxCpServiceImpl.departGet(WxCpServiceImpl.ja
va:178)
        at orgSynchronizeToWeixin.orgSynchToWeixin(orgSynchronizeToWeixin.java:1
45)
        ... 27 more
2017-05-04 01:26:15 微信错误 errcode=40014, errmsg=invalid access_token
json:{"errcode":40014,"errmsg":"invalid access_token"}
javax.servlet.ServletException: java.lang.RuntimeException: 微信错误 errcode=400
14, errmsg=invalid access_token
json:{"errcode":40014,"errmsg":"invalid access_token"}
        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.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: 微信错误 errcode=40014, errmsg=invalid ac
cess_token
json:{"errcode":40014,"errmsg":"invalid access_token"}
        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)
        ... 17 more

回复 支持 反对

使用道具 举报

发表于 2017-5-4 11:56:14 | 显示全部楼层
sansan910925 发表于 2017-5-4 09:31
那这个错误呢?

人员编码

一样的!微信的错误,建议百度搜下!
或者论坛搜下相似的错误
http://bbs.wex5.com/forum.php?mod=viewthread&tid=118398

应该是微信原因
qq:1912779713
WeX5教程--WeX5下载
回复 支持 反对

使用道具 举报

31

主题

129

帖子

267

积分

中级会员

Rank: 3Rank: 3

积分
267
QQ
 楼主| 发表于 2017-5-4 14:29:13 | 显示全部楼层
liangyongfei 发表于 2017-5-4 11:56
一样的!微信的错误,建议百度搜下!
或者论坛搜下相似的错误
http://bbs.wex5.com/forum.php?mod=viewth ...

找到原因了,第一个问题是因为之前存有的机构和要同步的机构的sWxdeptID有冲突。第二个问题重启服务就好了。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 09:22 , Processed in 0.082541 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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