现在做云之家与shr数据同步,用户映射时只有一部分数据映射成功, 另外一部分在“尚未映射人员”。同步组织人事数据,重启控制台报错,如下。
{"phone":"13857186698","email":"","status":"1","department":"Changing Education Inc.\\轻轻教育科技(香港)有限公司\\励为网络科技(上海)有限公司\\励为网络科技(上海)有限公司杭州分公司\\营运认证部","isHidePhone":"0","name":"张玲","gender":"2","photoUrl":"http://kdweibo.com/space/c/photo/load?id\u003d562994e0e4b02c3cdac91f25","openId":"562992f2e4b02c3cdac6541e","jobTitle":"TA"},{"phone":"15856982052","email":"","status":"1","department":"Changing Education Inc.\\轻轻教育科技(香港)有限公司\\励为网络科技(上海)有限公司\\上海轻轻信息科技有限公司\\上海轻轻信息科技有限公司合肥分公司\\营运认证部","isHidePhone":"0","name":"胡涛","gender":"2","photoUrl":"http://kdweibo.com/space/c/photo/load?id\u003d562994e3e4b02c3cdac920a8","openId":"562992f2e4b02c3cdac65420","jobTitle":"TA"},{"phone":"13760616060","email":"","status":"1","department":"Changing Education Inc.\\轻轻教育科技(香港)有限公司\\励为网络科技(上海)有限公司\\上海轻轻信息科技有限公司\\广州轻轻教育科技有限公司\\总经办","isHidePhone":"0","name":"胡国志","gender":"1","photoUrl":"http://kdweibo.com/space/c/photo/load?id\u003d562994e5e4b02c3cdac92219","openId":"562992f2e4b02c3cdac65423","jobTitle":"总经理"},{"phone":"13916936809","email":"","status":"1","department":"Changing Education Inc.\\轻轻教育科技(香港)有限公司\\励为网络科技(上海)有限公司\\上海轻轻信息科技有限公司\\上海轻轻信息科技有限公司南京分公司\\综合服务部","isHidePhone":"0","name":"朱丹丹","gender":"2","photoUrl":"http://kdweibo.com/space/c/photo/load?id\u003d562994e7e4b02c3cdac9232c","openId":"562992f2e4b02c3cdac65426","jobTitle":"人事行政"}]}
2015-10-23 11:08:16 错误 [con.err] java.lang.reflect.InvocationTargetException
2015-10-23 11:08:16 错误 [con.err] at sun.reflect.GeneratedMethodAccessor135.invoke(Unknown Source)
2015-10-23 11:08:16 错误 [con.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2015-10-23 11:08:16 错误 [con.err] at java.lang.reflect.Method.invoke(Method.java:618)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.eas.base.permission.util.xt.SynchManager.getImportData(SynchManager.java:717)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.eas.base.permission.util.xt.SynchManager.mappingData(SynchManager.java:282)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.eas.base.permission.app.HrxuntUserMappingControllerBean._autoSwitchCloudData(HrxuntUserMappingControllerBean.java:168)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.eas.base.permission.app.AbstractHrxuntUserMappingControllerBean.autoSwitchCloudData(AbstractHrxuntUserMappingControllerBean.java:235)
2015-10-23 11:08:16 错误 [con.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2015-10-23 11:08:16 错误 [con.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
2015-10-23 11:08:16 错误 [con.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2015-10-23 11:08:16 错误 [con.err] at java.lang.reflect.Method.invoke(Method.java:618)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_SUPPORTS(TxInvokerBean.java:61)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_SUPPORTS(Unknown Source)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:179)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
2015-10-23 11:08:16 错误 [con.err] at $Proxy133.autoSwitchCloudData(Unknown Source)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.eas.base.permission.HrxuntUserMapping.autoSwitchCloudData(HrxuntUserMapping.java:159)
2015-10-23 11:08:16 错误 [con.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2015-10-23 11:08:16 错误 [con.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
2015-10-23 11:08:16 错误 [con.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2015-10-23 11:08:16 错误 [con.err] at java.lang.reflect.Method.invoke(Method.java:618)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
2015-10-23 11:08:16 错误 [con.err] at $Proxy132.autoSwitchCloudData(Unknown Source)
2015-10-23 11:08:16 错误 [con.err] at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
2015-10-23 11:08:16 错误 [con.err] at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
2015-10-23 11:08:16 错误 [con.err] at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
2015-10-23 11:08:16 错误 [con.err] at java.lang.reflect.Method.invoke(Method.java:618)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.metadata.function.FunctionInvoke.innerLocalInvoke(FunctionInvoke.java:301)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.metadata.function.FunctionInvoke.localInvoke(FunctionInvoke.java:101)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.metadata.function.FunctionInvoke.localInvoke(FunctionInvoke.java:80)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.service.job.wrapper.FunctionWrapper.call(FunctionWrapper.java:204)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.service.job.wrapper.FunctionWrapper.invoke(FunctionWrapper.java:187)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.service.job.wrapper.FunctionWrapper.execute(FunctionWrapper.java:116)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.service.job.core.ThreadWorker.execute(ThreadWorker.java:143)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.bos.service.job.core.ThreadWorker.run(ThreadWorker.java:102)
2015-10-23 11:08:16 错误 [con.err] at java.lang.Thread.run(Thread.java:810)
2015-10-23 11:08:16 错误 [con.err] Caused by:
2015-10-23 11:08:16 错误 [con.err] com.kingdee.bos.BOSException: null
Caused exception message is: Sql222 execute exception : insert into t_bd_hrxuntusermapping(fpersonid,Fopenid,fcreatetime,fname,femail,fphone,forgname) values (?,?,?,?,?,?,?)
Caused exception message is: ORA-12899: 列 "KDSHR"."T_BD_HRXUNTUSERMAPPING"."FORGNAME" 的值太大 (实际值: 267, 最大值: 255)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.shr.base.syssetting.app.util.MsfServiceUtil.processService(MsfServiceUtil.java:127)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.shr.base.syssetting.app.MSFServiceFacadeControllerBean._processService(MSFServiceFacadeControllerBean.java:37)
2015-10-23 11:08:16 错误 [con.err] at com.kingdee.shr.base.syssetting.app.AbstractMSFServiceFacadeControllerBean.processService(AbstractMSFServiceFacadeControllerBean.java:47)
推荐阅读