|
主从流程,点保存是提示“保存数据失败 null”,控制台报错:
2018-12-26 16:34:09 excute stream action, params:{"actions":[{"accept":"application/json","action":"saveOA__SCM_POMstAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"table":{"@type":"table","rows":[{"Buyer":{"changed":"1","value":"system"},"ETD":{"changed":"1","value":"2018-12-26"},"PO_Date":{"changed":"1","value":"2018-12-26"},"PO_No":{"changed":"1"},"Summary":{"changed":"1"},"fAddress":{"changed":"1"},"fContact":{"changed":"1"},"fRemark":{"changed":"1"},"fSupplier_Nm":{"changed":"1"},"fSupplier_No":{"changed":"1"},"fTel":{"changed":"1"},"userdata":{"id":{"value":"E5D967F8EDCA4267BA0B0197580406E5"},"isModified":true,"recordState":"new"},"version":{"changed":"1","value":0}},{"Buyer":{"changed":"1","value":"system"},"ETD":{"changed":"1","value":"2018-12-26"},"PO_Date":{"changed":"1","value":"2018-12-26"},"PO_No":{"changed":"1"},"Summary":{"changed":"1","value":"123"},"fAddress":{"changed":"1"},"fContact":{"changed":"1"},"fRemark":{"changed":"1","value":"123"},"fSupplier_Nm":{"changed":"1","value":"供应商1"},"fSupplier_No":{"changed":"1"},"fTel":{"changed":"1"},"userdata":{"id":{"value":"E7E8AB356B4C47A797922749EC2E4B83"},"isModified":true,"recordState":"new"},"version":{"changed":"1","value":0}}],"userdata":{"idColumnDefine":"OA__SCM_POMst","idColumnName":"OA__SCM_POMst","idColumnType":"String","model":"/OA/officeSupplyConsumables/data","relationAlias":"Buyer,ETD,PO_Date,PO_No,Summary,fAddress,fContact,fRemark,fSupplier_Nm,fSupplier_No,fTel,version","relationTypes":"String,Date,Date,String,String,String,String,String,String,String,String,Integer","relations":"OA__SCM_POMst.Buyer,OA__SCM_POMst.ETD,OA__SCM_POMst.PO_Date,OA__SCM_POMst.PO_No,OA__SCM_POMst.Summary,OA_SCM_Suppliers.fAddress,OA_SCM_Suppliers.fContact,OA__SCM_POMst.fRemark,OA_SCM_Suppliers.fSupplier_Nm,OA__SCM_POMst.fSupplier_No,OA_SCM_Suppliers.fTel,OA__SCM_POMst.version","sys.rowid":"OA__SCM_POMst","updateMode":"whereVersion"}}},"process":"/OA/officeSupplyConsumables/process/officePO/officePOProcess"},{"accept":"application/json","action":"saveOA_SCM_POItmAction","actionFlag":"__action_1__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"table":{"@type":"table","rows":[{"PO_Ln":{"changed":"1"},"Quantity":{"changed":"1","value":181},"Req_NO":{"changed":"1","value":"YPQG-20121023001"},"fCode":{"changed":"1","value":"BGYP-20121023007"},"fFactAmount":{"changed":"1","value":"2715"},"fMasterID":{"changed":"1","value":"E7E8AB356B4C47A797922749EC2E4B83"},"fName":{"changed":"1","value":"本(厚)"},"fPrice":{"changed":"1","value":"15"},"fSpecType":{"changed":"1"},"fUnitName":{"changed":"1","value":"本"},"userdata":{"id":{"value":"0BD4F53CA8D746B7B467ECFB14E9A2C5"},"isModified":true,"recordState":"new"},"version":{"changed":"1","value":0}},{"PO_Ln":{"changed":"1"},"Quantity":{"changed":"1","value":"21"},"Req_NO":{"changed":"1","value":"YPQG-20181204002"},"fCode":{"changed":"1","value":"BGYP-20120806001"},"fFactAmount":{"changed":"1","value":2583},"fMasterID":{"changed":"1","value":"E7E8AB356B4C47A797922749EC2E4B83"},"fName":{"changed":"1","value":"印泥"},"fPrice":{"changed":"1","value":"123"},"fSpecType":{"changed":"1"},"fUnitName":{"changed":"1","value":"个"},"userdata":{"id":{"value":"CCE08AE5E7B6429C94D4462CB4CD4415"},"isModified":true,"recordState":"new"},"version":{"changed":"1","value":0}}],"userdata":{"idColumnDefine":"OA_SCM_POItm","idColumnName":"OA_SCM_POItm","idColumnType":"String","model":"/OA/officeSupplyConsumables/data","relationAlias":"PO_Ln,Quantity,Req_NO,fCode,fFactAmount,fMasterID,fName,fPrice,fSpecType,fUnitName,version","relationTypes":"String,Float,String,String,Decimal,String,String,Decimal,String,String,Integer","relations":"OA_SCM_POItm.PO_Ln,OA_SCM_POItm.Quantity,OA_SCM_POItm.Req_NO,OA_SCM_POItm.fCode,OA_SCM_POItm.fFactAmount,OA_SCM_POItm.fMasterID,OA_OSC_BaseInfo.fName,OA_SCM_POItm.fPrice,OA_OSC_BaseInfo.fSpecType,OA_SCM_POItm.fUnitName,OA_SCM_POItm.version","sys.rowid":"OA_SCM_POItm","updateMode":"whereVersion"}}},"process":"/OA/officeSupplyConsumables/process/officePO/officePOProcess"},{"accept":"application/json","action":"externalStartProcessAction","actionFlag":"__action_2__","activity":"mainActivity","contentType":"application/json","executeContext":"","executor":"","parameters":{"attributes":{"sData1":"E7E8AB356B4C47A797922749EC2E4B83"},"executor":"","process":"/OA/officeSupplyConsumables/process/officePO/officePOProcess"},"process":"/OA/officeSupplyConsumables/process/officePO/officePOProcess"}]}
java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.justep.system.action.Engine.invokeActions(Native Method)
at com.justep.system.action.Engine.invokeActions(Unknown Source)
at com.justep.business.server.BusinessServer.doAction(Unknown Source)
at com.justep.business.server.BusinessServer.doExcute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServer.excute(Unknown Source)
at com.justep.business.server.BusinessServerServlet.execService(Unknown Source)
at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:723)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at com.justep.micro.service.MicroServiceFilter.doFilter(Unknown Source)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:235)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)
at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
at java.lang.Thread.run(Thread.java:745)
Caused by: java.lang.reflect.InvocationTargetException
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:497)
at com.justep.system.action.Engine.invokeAction(Native Method)
at com.justep.system.action.Engine.invokeAction(Unknown Source)
at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
at com.justep.system.action.ActionUtils.invokeAction(Unknown Source)
at com.justep.system.process.ProcessUtils.startProcess(Unknown Source)
at ExternalProcessProcedure.startProcess(ExternalProcessProcedure.java:21)
... 30 more
Caused by: java.lang.NullPointerException
at com.justep.oa.ProcessExecute.doAfterProcessAction(ProcessExecute.java:128)
... 41 more
|
|