找回密码
 注册账号

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

初学者课程:T3自学|T6自学|U8自学软件下载课件下载工具下载资料:通资料|U8资料|NC|培训|年结积分规则 | 使用常见问题Q&A
知识库:U8 | | NC | U9 | OA | 政务U8|U9|NCC|NC65|NC65客开|NCC客开新手必读 | 任务 | 快速增金币用友QQ群[微信群]
查看: 9|回复: 1

[求助] NCC 外部开放平台 采购合同创建接口调用报错 java.lang.NullPointerException

[复制链接]
  • 打卡等级:无名新人
  • 打卡总天数:4
  • 打卡月天数:4
  • 打卡总奖励:8
  • 最近打卡:2024-11-27 08:13:34
发表于 2 小时前 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册账号

×
接口地址:/nccloud/api/ct/purdaily/savebase

请求参数:[{"ct_pu":{"vtrantypecode":"Z2-01","cvendorid":"0001","ctname":"测试采购合同","valdate":"2024-11-24 00:00:00","invallidate":"2024-12-24 23:59:59","pk_org":"CO001"},"ct_pu_b":[{"pk_material":"01020001","nnum":10,"norigmny":1500},{"pk_material":"01020002","nnum":10,"norigmny":500}]}]
返回结果:{"success":false,"data":null,"code":"1000000003","message":null,"errorStack":"java.lang.NullPointerException\r\n\tat nccloud.api.impl.ct.mz2.rule.ChooseHeadOrgEvent.fillBase(ChooseHeadOrgEvent.java:93)\r\n\tat nccloud.api.impl.ct.mz2.rule.ChooseHeadOrgEvent.process(ChooseHeadOrgEvent.java:58)\r\n\tat nccloud.api.impl.ct.mz2.fill.PurdailySaveDefValue.setDefultValue(PurdailySaveDefValue.java:34)\r\n\tat nccloud.api.impl.ct.mz2.APIPurdailyMaintainImpl.saveBase(APIPurdailyMaintainImpl.java:55)\r\n\tat sun.reflect.GeneratedMethodAccessor1145.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat nc.bs.framework.aop.rt.MethodProceedingJoinpoint$3.invoke(MethodProceedingJoinpoint.java:74)\r\n\tat nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:188)\r\n\tat nc.bs.framework.server.SecurityAspect.aroundMethod1(SecurityAspect.java:72)\r\n\tat sun.reflect.GeneratedMethodAccessor188.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat nc.bs.framework.aop.rt.AdviceHolder.invoke(AdviceHolder.java:182)\r\n\tat nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:131)\r\n\tat nc.bs.framework.aop.rt.MethodProceedingJoinpoint.proceed(MethodProceedingJoinpoint.java:137)\r\n\tat nc.bs.framework.aop.rt.AspectedProxy.invoke(AspectedProxy.java:60)\r\n\tat com.sun.proxy.$Proxy537.saveBase(Unknown Source)\r\n\tat sun.reflect.GeneratedMethodAccessor1145.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat nc.bs.framework.ejb.CMTProxyImpl.delegate(CMTProxyImpl.java:22)\r\n\tat nc.itf.framework.ejb.CMTProxyEjbBean.delegate(CMTProxyEjbBean.java:44)\r\n\tat nc.itf.framework.ejb.CMTProxy_Local.delegate(CMTProxy_Local.java:77)\r\n\tat sun.reflect.GeneratedMethodAccessor197.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:58)\r\n\tat nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:36)\r\n\tat com.sun.proxy.$Proxy24.delegate(Unknown Source)\r\n\tat nc.bs.framework.ejb.CMTEJBServiceHandler.invoke(CMTEJBServiceHandler.java:32)\r\n\tat com.sun.proxy.$Proxy538.saveBase(Unknown Source)\r\n\tat nccloud.openapi.ct.mz2.PurdailyResource.save(PurdailyResource.java:106)\r\n\tat sun.reflect.GeneratedMethodAccessor1141.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.restlet.ext.jaxrs.internal.wrappers.AbstractMethodWrapper.internalInvoke(AbstractMethodWrapper.java:164)\r\n\tat org.restlet.ext.jaxrs.internal.wrappers.ResourceMethod.invoke(ResourceMethod.java:269)\r\n\tat org.restlet.ext.jaxrs.JaxRsRestlet.invokeMethod(JaxRsRestlet.java:1038)\r\n\tat org.restlet.ext.jaxrs.JaxRsRestlet.handle(JaxRsRestlet.java:765)\r\n\tat org.restlet.routing.Filter.doHandle(Filter.java:150)\r\n\tat org.restlet.routing.Filter.handle(Filter.java:197)\r\n\tat org.restlet.routing.Filter.doHandle(Filter.java:150)\r\n\tat uap.ws.rest.filter.UAPLoggerFilter.doHandle(UAPLoggerFilter.java:40)\r\n\tat org.restlet.routing.Filter.handle(Filter.java:197)\r\n\tat org.restlet.routing.Filter.doHandle(Filter.java:150)\r\n\tat org.restlet.routing.Filter.handle(Filter.java:197)\r\n\tat org.restlet.routing.Filter.doHandle(Filter.java:150)\r\n\tat org.restlet.routing.Filter.handle(Filter.java:197)\r\n\tat org.restlet.routing.Filter.doHandle(Filter.java:150)\r\n\tat org.restlet.routing.Filter.handle(Filter.java:197)\r\n\tat org.restlet.routing.Filter.doHandle(Filter.java:150)\r\n\tat org.restlet.engine.application.StatusFilter.doHandle(StatusFilter.java:140)\r\n\tat org.restlet.routing.Filter.handle(Filter.java:197)\r\n\tat org.restlet.routing.Filter.doHandle(Filter.java:150)\r\n\tat org.restlet.routing.Filter.handle(Filter.java:197)\r\n\tat org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)\r\n\tat org.restlet.engine.application.ApplicationHelper.handle(ApplicationHelper.java:77)\r\n\tat org.restlet.Application.handle(Application.java:385)\r\n\tat org.restlet.routing.Filter.doHandle(Filter.java:150)\r\n\tat org.restlet.routing.Filter.handle(Filter.java:197)\r\n\tat org.restlet.routing.Router.doHandle(Router.java:422)\r\n\tat org.restlet.routing.Router.handle(Router.java:641)\r\n\tat org.restlet.routing.Filter.doHandle(Filter.java:150)\r\n\tat org.restlet.routing.Filter.handle(Filter.java:197)\r\n\tat org.restlet.routing.Router.doHandle(Router.java:422)\r\n\tat org.restlet.routing.Router.handle(Router.java:641)\r\n\tat org.restlet.routing.Filter.doHandle(Filter.java:150)\r\n\tat org.restlet.routing.Filter.handle(Filter.java:197)\r\n\tat org.restlet.engine.CompositeHelper.handle(CompositeHelper.java:202)\r\n\tat org.restlet.Component.handle(Component.java:408)\r\n\tat org.restlet.Server.handle(Server.java:507)\r\n\tat org.restlet.engine.connector.ServerHelper.handle(ServerHelper.java:63)\r\n\tat org.restlet.engine.adapter.HttpServerHelper.handle(HttpServerHelper.java:143)\r\n\tat org.restlet.ext.servlet.ServerServlet.service(ServerServlet.java:1117)\r\n\tat uap.ws.rest.servlet.UAPRSServerServlet.service(UAPRSServerServlet.java:40)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:764)\r\n\tat sun.reflect.GeneratedMethodAccessor1073.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAsPrivileged(Subject.java:549)\r\n\tat org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)\r\n\tat org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:170)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:222)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:146)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)\r\n\tat org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:53)\r\n\tat sun.reflect.GeneratedMethodAccessor1072.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAsPrivileged(Subject.java:549)\r\n\tat org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)\r\n\tat org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:146)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)\r\n\tat nccloud.ws.opm.core.filter.OpenCloudSecurityFilter.lambda$exe$2(OpenCloudSecurityFilter.java:402)\r\n\tat io.github.resilience4j.circuitbreaker.CircuitBreaker.lambda$decorateCheckedConsumer$6(CircuitBreaker.java:576)\r\n\tat nccloud.ws.opm.core.filter.CircuitBreakerHandler.execCheckedConsumerForCircuiter(CircuitBreakerHandler.java:216)\r\n\tat nccloud.ws.opm.core.filter.OpenCloudSecurityFilter.exe(OpenCloudSecurityFilter.java:402)\r\n\tat nccloud.ws.opm.core.filter.OpenCloudSecurityFilter.lambda$handle$0(OpenCloudSecurityFilter.java:390)\r\n\tat io.github.resilience4j.ratelimiter.RateLimiter.lambda$decorateConsumer$5(RateLimiter.java:188)\r\n\tat nccloud.ws.opm.core.filter.CircuitBreakerHandler.execConsumerForRateLimiter(CircuitBreakerHandler.java:189)\r\n\tat nccloud.ws.opm.core.filter.OpenCloudSecurityFilter.handle(OpenCloudSecurityFilter.java:388)\r\n\tat nccloud.ws.opm.core.filter.OpenCloudSecurityFilter.doFilter(OpenCloudSecurityFilter.java:173)\r\n\tat sun.reflect.GeneratedMethodAccessor1072.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAsPrivileged(Subject.java:549)\r\n\tat org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)\r\n\tat org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:146)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)\r\n\tat nccloud.framework.core.filter.CorsFilter.handleNonCORS(CorsFilter.java:483)\r\n\tat nccloud.framework.core.filter.CorsFilter.doFilter(CorsFilter.java:180)\r\n\tat sun.reflect.GeneratedMethodAccessor1072.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAsPrivileged(Subject.java:549)\r\n\tat org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)\r\n\tat org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:146)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)\r\n\tat nccloud.framework.core.filter.SecurityFilter.doFilter(SecurityFilter.java:87)\r\n\tat sun.reflect.GeneratedMethodAccessor1072.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAsPrivileged(Subject.java:549)\r\n\tat org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)\r\n\tat org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:146)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)\r\n\tat org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:201)\r\n\tat org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:119)\r\n\tat sun.reflect.GeneratedMethodAccessor1072.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAsPrivileged(Subject.java:549)\r\n\tat org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)\r\n\tat org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:146)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)\r\n\tat nccloud.framework.core.filter.EntryLeaveFilter.doFilter(EntryLeaveFilter.java:56)\r\n\tat sun.reflect.GeneratedMethodAccessor1072.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAsPrivileged(Subject.java:549)\r\n\tat org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)\r\n\tat org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:146)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)\r\n\tat nccloud.framework.core.filter.HostFilter.doFilter(HostFilter.java:48)\r\n\tat sun.reflect.GeneratedMethodAccessor1072.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAsPrivileged(Subject.java:549)\r\n\tat org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)\r\n\tat org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:146)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)\r\n\tat org.apache.logging.log4j.web.Log4jServletFilter.doFilter(Log4jServletFilter.java:71)\r\n\tat sun.reflect.GeneratedMethodAccessor1072.invoke(Unknown Source)\r\n\tat java.lang.reflect.Method.invoke(Method.java:498)\r\n\tat org.apache.catalina.security.SecurityUtil.lambda$execute$0(SecurityUtil.java:280)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat javax.security.auth.Subject.doAsPrivileged(Subject.java:549)\r\n\tat org.apache.catalina.security.SecurityUtil.execute(SecurityUtil.java:311)\r\n\tat org.apache.catalina.security.SecurityUtil.doAsPrivilege(SecurityUtil.java:253)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:188)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.lambda$doFilter$0(ApplicationFilterChain.java:146)\r\n\tat java.security.AccessController.doPrivileged(Native Method)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:144)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:202)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:97)\r\n\tat org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:542)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:143)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:97)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:78)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:357)\r\n\tat org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:385)\r\n\tat org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:65)\r\n\tat org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:893)\r\n\tat org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1723)\r\n\tat org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\r\n\tat java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\r\n\tat java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\r\n\tat org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\r\n\tat java.lang.Thread.run(Thread.java:748)\r\n"}

  • 打卡等级:无名新人
  • 打卡总天数:1
  • 打卡月天数:1
  • 打卡总奖励:2
  • 最近打卡:2024-11-27 15:44:19
发表于 1 小时前 | 显示全部楼层
回复 点赞 拍砖

使用道具 举报

您需要登录后才可以回帖 登录 | 注册账号

本版积分规则

QQ|站长微信|Archiver|手机版|小黑屋|用友之家 ( 蜀ICP备07505338号|51072502110008 )

GMT+8, 2024-11-27 18:52 , Processed in 0.042323 second(s), 8 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

快速回复 返回顶部 返回列表