shr2.0与eas75集成报错
在eas后台事物定义中执行“eas集成shr初始化”事物,点击测试提示成功,然后在后台事物监控里面报错如下:
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:125)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_SUPPORTS(TxInvokerBean.java:64)
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 $Proxy229.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 $Proxy241.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:125)
at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_SUPPORTS(TxInvokerBean.java:64)
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 $Proxy229.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 $Proxy241.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)
请咨询韦花玲老师
shr2.0与eas75集成报错
本文2024-09-17 01:04:28发表“s-hr cloud知识”栏目。
本文链接:https://wenku.my7c.com/article/kingdee-shr-65071.html