s-HR同步到EAS7.5报错
2,131次浏览
编辑于2020年02月13日 08:41:06
根据文档《s-Hr同步到EAS说明》,将环境配置完成。
在测试EAS中的后台事务--“EAS集成s-HR初始化”完成后,在“后台事务监控”中看到该事务执行失败。
查看失败信息,内容如下:
[code]Error message:null
Caused exception message is: A JSONObject text must begin with '{' at character 1
Stack trace:
com.kingdee.bos.BOSException: null
Caused exception message is: A JSONObject text must begin with '{' at character 1
at com.kingdee.eas.hr.base.app.synch.SynchronManager.init(SynchronManager.java:56)
at com.kingdee.eas.hr.base.app.EASIntegratedSHRFacadeControllerBean._initData(EASIntegratedSHRFacadeControllerBean.java:140)
at com.kingdee.eas.hr.base.app.AbstractEASIntegratedSHRFacadeControllerBean.initData(AbstractEASIntegratedSHRFacadeControllerBean.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_SUPPORTS(TxInvokerBean.java:61)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_SUPPORTS(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:179)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy226.initData(Unknown Source)
at com.kingdee.eas.hr.base.EASIntegratedSHRFacade.initData(EASIntegratedSHRFacade.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy225.initData(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.innerLocalInvoke(FacadeInvoke.java:215)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.localInvoke(FacadeInvoke.java:92)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.localInvoke(FacadeInvoke.java:74)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.call(FunctionWrapper.java:200)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.invoke(FunctionWrapper.java:185)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.execute(FunctionWrapper.java:116)
at com.kingdee.bos.service.job.core.ThreadWorker.execute(ThreadWorker.java:161)
at com.kingdee.bos.service.job.core.ThreadWorker.run(ThreadWorker.java:106)
at java.lang.Thread.run(Thread.java:810)
Caused by: com.kingdee.bos.json.JSONException: A JSONObject text must begin with '{' at character 1
at com.kingdee.bos.json.JSONTokener.syntaxError(JSONTokener.java:382)
at com.kingdee.bos.json.JSONObject.(JSONObject.java:105)
at com.kingdee.bos.json.JSONObject.(JSONObject.java:345)
at com.kingdee.eas.hr.base.app.synch.DataTool.getHRData(DataTool.java:252)
at com.kingdee.eas.hr.base.app.synch.DataTool.getInitDataFromSHR(DataTool.java:178)
at com.kingdee.eas.hr.base.app.synch.SynchronManager.init(SynchronManager.java:44)
... 32 more
Caused by: com.kingdee.bos.json.JSONException
com.kingdee.bos.json.JSONException: A JSONObject text must begin with '{' at character 1
at com.kingdee.bos.json.JSONTokener.syntaxError(JSONTokener.java:382)
at com.kingdee.bos.json.JSONObject.(JSONObject.java:105)
at com.kingdee.bos.json.JSONObject.(JSONObject.java:345)
at com.kingdee.eas.hr.base.app.synch.DataTool.getHRData(DataTool.java:252)
at com.kingdee.eas.hr.base.app.synch.DataTool.getInitDataFromSHR(DataTool.java:178)
at com.kingdee.eas.hr.base.app.synch.SynchronManager.init(SynchronManager.java:44)
at com.kingdee.eas.hr.base.app.EASIntegratedSHRFacadeControllerBean._initData(EASIntegratedSHRFacadeControllerBean.java:140)
at com.kingdee.eas.hr.base.app.AbstractEASIntegratedSHRFacadeControllerBean.initData(AbstractEASIntegratedSHRFacadeControllerBean.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_SUPPORTS(TxInvokerBean.java:61)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_SUPPORTS(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:179)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy226.initData(Unknown Source)
at com.kingdee.eas.hr.base.EASIntegratedSHRFacade.initData(EASIntegratedSHRFacade.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy225.initData(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.innerLocalInvoke(FacadeInvoke.java:215)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.localInvoke(FacadeInvoke.java:92)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.localInvoke(FacadeInvoke.java:74)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.call(FunctionWrapper.java:200)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.invoke(FunctionWrapper.java:185)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.execute(FunctionWrapper.java:116)
at com.kingdee.bos.service.job.core.ThreadWorker.execute(ThreadWorker.java:161)
at com.kingdee.bos.service.job.core.ThreadWorker.run(ThreadWorker.java:106)
at java.lang.Thread.run(Thread.java:810)
[/code]求高手指点,哪儿的问题。
在测试EAS中的后台事务--“EAS集成s-HR初始化”完成后,在“后台事务监控”中看到该事务执行失败。
查看失败信息,内容如下:
[code]Error message:null
Caused exception message is: A JSONObject text must begin with '{' at character 1
Stack trace:
com.kingdee.bos.BOSException: null
Caused exception message is: A JSONObject text must begin with '{' at character 1
at com.kingdee.eas.hr.base.app.synch.SynchronManager.init(SynchronManager.java:56)
at com.kingdee.eas.hr.base.app.EASIntegratedSHRFacadeControllerBean._initData(EASIntegratedSHRFacadeControllerBean.java:140)
at com.kingdee.eas.hr.base.app.AbstractEASIntegratedSHRFacadeControllerBean.initData(AbstractEASIntegratedSHRFacadeControllerBean.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_SUPPORTS(TxInvokerBean.java:61)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_SUPPORTS(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:179)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy226.initData(Unknown Source)
at com.kingdee.eas.hr.base.EASIntegratedSHRFacade.initData(EASIntegratedSHRFacade.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy225.initData(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.innerLocalInvoke(FacadeInvoke.java:215)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.localInvoke(FacadeInvoke.java:92)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.localInvoke(FacadeInvoke.java:74)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.call(FunctionWrapper.java:200)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.invoke(FunctionWrapper.java:185)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.execute(FunctionWrapper.java:116)
at com.kingdee.bos.service.job.core.ThreadWorker.execute(ThreadWorker.java:161)
at com.kingdee.bos.service.job.core.ThreadWorker.run(ThreadWorker.java:106)
at java.lang.Thread.run(Thread.java:810)
Caused by: com.kingdee.bos.json.JSONException: A JSONObject text must begin with '{' at character 1
at com.kingdee.bos.json.JSONTokener.syntaxError(JSONTokener.java:382)
at com.kingdee.bos.json.JSONObject.
at com.kingdee.bos.json.JSONObject.
at com.kingdee.eas.hr.base.app.synch.DataTool.getHRData(DataTool.java:252)
at com.kingdee.eas.hr.base.app.synch.DataTool.getInitDataFromSHR(DataTool.java:178)
at com.kingdee.eas.hr.base.app.synch.SynchronManager.init(SynchronManager.java:44)
... 32 more
Caused by: com.kingdee.bos.json.JSONException
com.kingdee.bos.json.JSONException: A JSONObject text must begin with '{' at character 1
at com.kingdee.bos.json.JSONTokener.syntaxError(JSONTokener.java:382)
at com.kingdee.bos.json.JSONObject.
at com.kingdee.bos.json.JSONObject.
at com.kingdee.eas.hr.base.app.synch.DataTool.getHRData(DataTool.java:252)
at com.kingdee.eas.hr.base.app.synch.DataTool.getInitDataFromSHR(DataTool.java:178)
at com.kingdee.eas.hr.base.app.synch.SynchronManager.init(SynchronManager.java:44)
at com.kingdee.eas.hr.base.app.EASIntegratedSHRFacadeControllerBean._initData(EASIntegratedSHRFacadeControllerBean.java:140)
at com.kingdee.eas.hr.base.app.AbstractEASIntegratedSHRFacadeControllerBean.initData(AbstractEASIntegratedSHRFacadeControllerBean.java:65)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_SUPPORTS(TxInvokerBean.java:61)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_SUPPORTS(Unknown Source)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:179)
at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324)
at $Proxy226.initData(Unknown Source)
at com.kingdee.eas.hr.base.EASIntegratedSHRFacade.initData(EASIntegratedSHRFacade.java:59)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at $Proxy225.initData(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.innerLocalInvoke(FacadeInvoke.java:215)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.localInvoke(FacadeInvoke.java:92)
at com.kingdee.bos.service.job.wrapper.FacadeInvoke.localInvoke(FacadeInvoke.java:74)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.call(FunctionWrapper.java:200)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.invoke(FunctionWrapper.java:185)
at com.kingdee.bos.service.job.wrapper.FunctionWrapper.execute(FunctionWrapper.java:116)
at com.kingdee.bos.service.job.core.ThreadWorker.execute(ThreadWorker.java:161)
at com.kingdee.bos.service.job.core.ThreadWorker.run(ThreadWorker.java:106)
at java.lang.Thread.run(Thread.java:810)
[/code]求高手指点,哪儿的问题。
推荐阅读