shr与k3cloud集成报错
金蝶云社区-赵寒光
赵寒光
0人赞赏了该文章 742次浏览 未经作者许可,禁止转载编辑于2020年02月13日 08:41:06

测试shr与K3cloud集成时,报如下错误,不知什么原因?

2016-07-09 16:47:22,488 [3] INFO - K3HR在2016-07-09 16:47:21发起一次baseDataInit
2016-07-09 16:47:22,488 [8] INFO - MessageManager的线程开启
2016-07-09 16:47:22,519 [3] DEBUG - {"url":"/OSF2sso.jsp?serviceName=getInitDataService"}
2016-07-09 16:47:22,555 [8] INFO - MessageManager的线程暂停
2016-07-09 16:47:22,556 [3] INFO - MessageManager的线程开始
2016-07-09 16:47:23,405 [8] DEBUG - http://127.0.0.1:6888/shr/OSF2sso.jsp?username=user&password=AAECAzU3ODBCQTFCNTc4MEMzN0J1c2VyQUI5QUI2NDMxQkIwN0JEOEZDRTM3MkU2MTU2OEJBODlCMEIwRUJEQw%253d%253d&userAuthPattern=OTP&serviceName=getInitDataService¶m={"bill":""}
2016-07-09 16:47:23,411 [4] INFO - AbstractAccepter的线程开启SI_datacenter1
2016-07-09 16:47:23,413 [4] INFO - AbstractAccepter的线程开始暂停
2016-07-09 16:47:23,415 [4] DEBUG - _failObjectHash:;
2016-07-09 16:47:23,416 [4] DEBUG - _wanningObjectHash:;
2016-07-09 16:47:23,510 [4] INFO - AbstractAccepter的线程暂停SI_datacenter1
2016-07-09 16:47:24,740 [8] DEBUG - {"person_rg":[],"orgUnit":[{"number":"100","state":"1","name":"集团","effectDate":"2000-01-01","id":"00000000-0000-0000-0000-000000000000CCE7AED4"},{"parentName":"集团","parentNumber":"100","number":"100.01","state":"1","name":"人事部","effectDate":"2016-07-01","id":"jxrie3+xSYaCQ/GpWihIVMznrtQ="}],"person":[],"position":[]}
2016-07-09 16:47:24,997 [8] ERROR - MessageManager
System.NullReferenceException: Object reference not set to an instance of an object.
at Kingdee.K3Cloud.IntegrationServicePlatform.K3HRAdapter.Synchronous.BD_DepartmentSaveSynchronous..ctor(JObject source, JObject target)
at Kingdee.K3Cloud.IntegrationServicePlatform.K3HRAdapter.Converter.DeptConverter.CreateSynchronous(JObject source, JObject target)
at Kingdee.K3Cloud.IntegrationServicePlatform.Core.Adapter.JsonIntegratedConverter.Convert(JToken details)
at Kingdee.K3Cloud.IntegrationServicePlatform.K3HRAdapter.Converter.DeptConverter.InnerCreateSynchrous(AbstractAccepter accepter)
at Kingdee.K3Cloud.IntegrationServicePlatform.Core.AbstractIntegration.CreateSynchrous(AbstractAccepter accepter)
at Kingdee.K3Cloud.IntegrationServicePlatform.Core.AbstractProvider.DealSynchronous(AbstractIntegration integration)
at Kingdee.K3Cloud.IntegrationServicePlatform.Core.AbstractProvider.Convert(DateTime sendTime, String contents)
at Kingdee.K3Cloud.IntegrationServicePlatform.Core.Network.HttpClient.SysncRequest(DateTime sendTime, HttpClientDelegate resultCallback, CookieContainer cookieContainer, String contentType, Boolean isByte)
2016-07-09 16:47:25,055 [8] DEBUG - http://localhost/K3CloudServiceInterface_datacenter1/json/syncreply/Auth
2016-07-09 16:47:41,707 [8] INFO - SI_datacenter1_http://localhost/K3CloudServiceInterface_datacenter1/json/syncreply/登陆成功!
2016-07-09 16:47:41,722 [8] INFO - AbstractAccepter的线程准备SI_datacenter1
2016-07-09 16:47:42,736 [10] INFO - AbstractAccepter的线程开始SI_datacenter1
2016-07-09 16:47:42,736 [4] INFO - AbstractAccepter的线程开始暂停
2016-07-09 16:47:42,736 [4] DEBUG - _failObjectHash:;
2016-07-09 16:47:42,736 [4] DEBUG - _wanningObjectHash:;
2016-07-09 16:47:42,752 [4] INFO - AbstractAccepter的线程暂停SI_datacenter1