EASv8.0
s-HRv1.5
SQL:2008r2
NT:2008r2
联系电话:13459197966
QQ:251336603
做EAS与s-HR集成,报错信息如下:
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:94)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:619)
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 com.sun.proxy.$Proxy272.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:94)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:619)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at com.sun.proxy.$Proxy297.initData(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:619)
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:853)
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:94)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:619)
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 com.sun.proxy.$Proxy272.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:94)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:619)
at com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194)
at com.sun.proxy.$Proxy297.initData(Unknown Source)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:94)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:55)
at java.lang.reflect.Method.invoke(Method.java:619)
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:853)
推荐阅读