UDN-企业互联网技术人气社区

板块导航

浏览  : 1079
回复  : 8

webservice调用接口进行修改数据出现以下错误,十万火急!!

[复制链接]
uec_gtxxWJd2aT的头像 楼主
发表于 2018-5-9 10:07:15 | 显示全部楼层 |阅读模式



发表于 2014-9-12 03:01:44|只看该作者


外部业务系统通过NC6.3的信息交换平台传入客户信息,新增时没有问题,如果传入共同的bill idxml进行修改某个客户的部分信息时,无法修改成功,提示“信息异常:null”回执信息如下:

<?xml version="1.0" encoding='UTF-8'?>
<ufinterface billtype="customer" filename="customer8abd6001.xml" isexchange="Y" replace="Y" roottag="sendresult" sender="001" successful="N">
    <sendresult>
        <billpk>
        </billpk>
        <bdocid>11111111111111111111</bdocid>
        <filename>customer8abd6001.xml</filename>
        <resultcode>-32000</resultcode>
        <resultdescription>单据  11111111111111111111  开始处理...
单据  11111111111111111111  处理错误:业务插件处理错误:插件类=nc.bs.bd.pfxx.plugin.CustomerBasePfxxPlugin,异常信息:null</resultdescription>
        <content>
        </content>
    </sendresult>
</ufinterface>

NClog日志如下:

$$callid= $$thread=[Thread-16] $$host= $$userid= $$ts=2018-05-08 12:50:00 $$remotecall=[pfxx] $$debuglevel=ERROR  $$msg=----testprealert   --[deployname:财务接口],[alerttyppe:外部交换数据后台发送],[plugin:nc.bs.pfxx.alert.AutoSendPAPlugin]--  has excute ,start Log&& Message
$$callid= $$thread=[Thread-16] $$host= $$userid= $$ts=2018-05-08 12:50:00 $$remotecall=[pfxx] $$debuglevel=ERROR  $$msg=----testprealert   --[deployname:财务接口],[alerttyppe:外部交换数据后台发送],[plugin:nc.bs.pfxx.alert.AutoSendPAPlugin]--   Not Send message, Message Collection is empty  
$$callid= $$thread=[Thread-16] $$host= $$userid= $$ts=2018-05-08 12:50:00 $$remotecall=[pfxx] $$debuglevel=ERROR  $$msg=--zhoutestalertlog 调度引擎中有条目taskvo ,数组长度---1
$$callid= $$thread=[Thread-16] $$host= $$userid= $$ts=2018-05-08 12:50:00 $$remotecall=[pfxx] $$debuglevel=ERROR  $$msg=--zhoutestalertlog 调度引擎中有条目taskvo ---[Lnc.vo.uap.scheduler.TaskVO;@28fb2a
$$callid= $$thread=[http-bio-/172.168.1.81-8010-exec-9] $$host=172.168.1.81 $$userid= $$ts=2018-05-08 12:53:48 $$remotecall=[pfxx] $$debuglevel=ERROR  $$msg=没有查询到辅助信息
$$callid= $$thread=[http-bio-/172.168.1.81-8010-exec-9] $$host=172.168.1.81 $$userid= $$ts=2018-05-08 12:53:48 $$remotecall=[pfxx] $$debuglevel=ERROR  $$msg=插件进行具体业务处理的时候出现错误!
nc.bs.uif2.VersionConflictException
at nc.vo.util.BDVersionValidationUtil.validateSuperVOBatch2(BDVersionValidationUtil.java:146)
at nc.vo.util.BDVersionValidationUtil.validateSuperVO(BDVersionValidationUtil.java:92)
at nc.impl.bd.cust.baseinfo.CustBaseInfoServiceImpl.updateCustomerVO(CustBaseInfoServiceImpl.java:469)
at nc.impl.bd.cust.baseinfo.CustBaseInfoServiceImpl.pfxxUpdateCustomerVO(CustBaseInfoServiceImpl.java:374)
at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint$3.invoke(MethodProceedingJoinpoint.java:74)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:184)
at nc.bs.framework.aop.rt.AdviceHolder.invoke(AdviceHolder.java:188)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:129)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:135)
at nc.bs.framework.aop.rt.AspectedProxy.invoke(AspectedProxy.java:59)
at $Proxy497.pfxxUpdateCustomerVO(Unknown Source)
at nc.gejb.uapbd.cmt.UapbdEJBEjbBean.pfxxUpdateCustomerVO(UapbdEJBEjbBean.java:2897)
at nc.gejb.uapbd.cmt.UapbdEJB_Local.pfxxUpdateCustomerVO(UapbdEJB_Local.java:8432)
at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:57)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:36)
at $Proxy603.pfxxUpdateCustomerVO(Unknown Source)
at nc.bs.bd.pfxx.plugin.CustomerBasePfxxPlugin.processBill(CustomerBasePfxxPlugin.java:90)
at nc.bs.pfxx.plugin.AbstractPfxxPlugin.ProcessRequest(AbstractPfxxPlugin.java:59)
at nc.bs.pfxx.process.BusinessProcessorDispatcher.forward(BusinessProcessorDispatcher.java:69)
at nc.bs.pfxx.process.XChangeProcessor.processChildDocument(XChangeProcessor.java:237)
at nc.bs.pfxx.process.XChangeProcessor.processMessage_AllOrNone(XChangeProcessor.java:175)
at nc.bs.pfxx.pub.PFxxEJBServiceImpl.processMessage(PFxxEJBServiceImpl.java:56)
at sun.reflect.GeneratedMethodAccessor878.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint$3.invoke(MethodProceedingJoinpoint.java:74)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:184)
at nc.bs.framework.server.SecurityAspect.aroundMethod1(SecurityAspect.java:45)
at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at nc.bs.framework.aop.rt.AdviceHolder.invoke(AdviceHolder.java:182)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:129)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:135)
at nc.bs.framework.aop.rt.AspectedProxy.invoke(AspectedProxy.java:59)
at $Proxy274.processMessage(Unknown Source)
at nc.itf.uap.pfxx.PfxxEJBEjbBean.processMessage(PfxxEJBEjbBean.java:110)
at nc.itf.uap.pfxx.PfxxEJB_Local.processMessage(PfxxEJB_Local.java:236)
at sun.reflect.GeneratedMethodAccessor878.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:57)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:36)
at $Proxy278.processMessage(Unknown Source)
at nc.bs.pfxx.ServletForXchange.normalDoAction(ServletForXchange.java:239)
at nc.bs.pfxx.ServletForXchange.doAction(ServletForXchange.java:176)
at nc.bs.framework.server.InvokerServlet.doAction(InvokerServlet.java:185)
at nc.bs.framework.server.InvokerServlet.doPost(InvokerServlet.java:72)

$$callid= $$thread=[http-bio-/172.168.1.81-8010-exec-9] $$host=172.168.1.81 $$userid= $$ts=2018-05-08 12:53:48 $$remotecall=[pfxx] $$debuglevel=ERROR  $$msg=单据11111111111111111111处理时,业务插件(nc.bs.bd.pfxx.plugin.CustomerBasePfxxPlugin)出现错误:业务插件处理错误:插件类=nc.bs.bd.pfxx.plugin.CustomerBasePfxxPlugin,异常信息:null
nc.vo.pfxx.exception.PfxxPluginException: 业务插件处理错误:插件类=nc.bs.bd.pfxx.plugin.CustomerBasePfxxPlugin,异常信息:null
at nc.bs.pfxx.process.BusinessProcessorDispatcher.forward(BusinessProcessorDispatcher.java:71)
at nc.bs.pfxx.process.XChangeProcessor.processChildDocument(XChangeProcessor.java:237)
at nc.bs.pfxx.process.XChangeProcessor.processMessage_AllOrNone(XChangeProcessor.java:175)
at nc.bs.pfxx.pub.PFxxEJBServiceImpl.processMessage(PFxxEJBServiceImpl.java:56)
at sun.reflect.GeneratedMethodAccessor878.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint$3.invoke(MethodProceedingJoinpoint.java:74)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:184)
at nc.bs.framework.server.SecurityAspect.aroundMethod1(SecurityAspect.java:45)
at sun.reflect.GeneratedMethodAccessor97.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at nc.bs.framework.aop.rt.AdviceHolder.invoke(AdviceHolder.java:182)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:129)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:135)
at nc.bs.framework.aop.rt.AspectedProxy.invoke(AspectedProxy.java:59)
at $Proxy274.processMessage(Unknown Source)
at nc.itf.uap.pfxx.PfxxEJBEjbBean.processMessage(PfxxEJBEjbBean.java:110)
at nc.itf.uap.pfxx.PfxxEJB_Local.processMessage(PfxxEJB_Local.java:236)
at sun.reflect.GeneratedMethodAccessor878.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:57)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:36)
at $Proxy278.processMessage(Unknown Source)
at nc.bs.pfxx.ServletForXchange.normalDoAction(ServletForXchange.java:239)
at nc.bs.pfxx.ServletForXchange.doAction(ServletForXchange.java:176)
at nc.bs.framework.server.InvokerServlet.doAction(InvokerServlet.java:185)
at nc.bs.framework.server.InvokerServlet.doPost(InvokerServlet.java:72)
Caused by: nc.bs.uif2.VersionConflictException
at nc.vo.util.BDVersionValidationUtil.validateSuperVOBatch2(BDVersionValidationUtil.java:146)
at nc.vo.util.BDVersionValidationUtil.validateSuperVO(BDVersionValidationUtil.java:92)
at nc.impl.bd.cust.baseinfo.CustBaseInfoServiceImpl.updateCustomerVO(CustBaseInfoServiceImpl.java:469)
at nc.impl.bd.cust.baseinfo.CustBaseInfoServiceImpl.pfxxUpdateCustomerVO(CustBaseInfoServiceImpl.java:374)
at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint$3.invoke(MethodProceedingJoinpoint.java:74)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:184)
at nc.bs.framework.aop.rt.AdviceHolder.invoke(AdviceHolder.java:188)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:129)
at nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:135)
at nc.bs.framework.aop.rt.AspectedProxy.invoke(AspectedProxy.java:59)
at $Proxy497.pfxxUpdateCustomerVO(Unknown Source)
at nc.gejb.uapbd.cmt.UapbdEJBEjbBean.pfxxUpdateCustomerVO(UapbdEJBEjbBean.java:2897)
at nc.gejb.uapbd.cmt.UapbdEJB_Local.pfxxUpdateCustomerVO(UapbdEJB_Local.java:8432)
at sun.reflect.GeneratedMethodAccessor1223.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:57)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:36)

at $Proxy603.pfxxUpdateCustomerVO(Unknown Source)
at nc.bs.bd.pfxx.plugin.CustomerBasePfxxPlugin.processBill(CustomerBasePfxxPlugin.java:90)
at nc.bs.pfxx.plugin.AbstractPfxxPlugin.ProcessRequest(AbstractPfxxPlugin.java:59)
at nc.bs.pfxx.process.BusinessProcessorDispatcher.forward(BusinessProcessorDispatcher.java:69)
... 29 more


望高手帮忙看下,谢谢谢谢谢谢!!!!





发表于 2018-5-9 11:05:05 | 显示全部楼层
传进来的值有空值 你得打断点测试 或者有个配置文件 把那个文件里每个字段设置为允许为空
使用道具 举报

回复

发表于 2018-5-14 08:22:49 | 显示全部楼层
检查下标XML模板是否有少的项目和字段非空,经常见的这俩个居多
使用道具 举报

回复

发表于 2018-5-15 11:27:46 | 显示全部楼层
跟踪nc.bs.bd.pfxx.plugin.CustomerBasePfxxPlugin这个类就知道了
使用道具 举报

回复

uec_gtxxWJd2aT的头像 楼主
发表于 2018-5-31 14:00:11 | 显示全部楼层
多谢各位,问题已经解决
使用道具 举报

回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于我们
联系我们
  • 电话:010-86393388
  • 邮件:udn@yonyou.com
  • 地址:北京市海淀区北清路68号
移动客户端下载
关注我们
  • 微信公众号:yonyouudn
  • 扫描右侧二维码关注我们
  • 专注企业互联网的技术社区
版权所有:用友网络科技股份有限公司82041 京ICP备05007539号-11 京公网网备安1101080209224 Powered by Discuz!
快速回复 返回列表 返回顶部