|
2017-03-20 10:10:33 excute stream action, params:{"accept":"application/json","action":"createInv_trans_headAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"k":"cg170320","table":{"@type":"table","rows":[{"audit_flag":{"changed":0},"bill":{"changed":0},"cause_code":{"changed":0},"customer":{"changed":0},"dept_no":{"changed":0},"duty_bill":{"changed":0},"duty_man":{"changed":0},"other_dept":{"changed":0},"record_man":{"changed":0},"return_date":{"changed":0},"supply_flag":{"changed":0},"trans_date":{"changed":0},"trans_man":{"changed":0},"trans_type":{"changed":0,"value":"IPUR"},"userdata":{"id":{"changed":0},"isModified":true,"recordState":"new"},"vendor":{"changed":0},"version":{"changed":0},"warehouse":{"changed":0}}],"userdata":{"idColumnDefine":"inv_trans_head","idColumnName":"inv_trans_head","idColumnType":"String","model":"/erp/kcgl/data","relationAlias":"audit_flag,bill,cause_code,customer,dept_no,duty_bill,duty_man,other_dept,record_man,return_date,supply_flag,trans_date,trans_man,trans_type,vendor,version,warehouse","relationTypes":"String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,Integer,String","relations":"inv_trans_head.audit_flag,inv_trans_head.bill,inv_trans_head.cause_code,inv_trans_head.customer,inv_trans_head.dept_no,inv_trans_head.duty_bill,inv_trans_head.duty_man,inv_trans_head.other_dept,inv_trans_head.record_man,inv_trans_head.return_date,inv_trans_head.supply_flag,inv_trans_head.trans_date,inv_trans_head.trans_man,inv_trans_head.trans_type,inv_trans_head.vendor,inv_trans_head.version,inv_trans_head.warehouse","updateMode":"whereVersion"}}},"process":"/erp/kcgl/process/kcgl/kcglProcess","translateParameter":{"cellnameByRelation":false,"dataType":"row-list","includeState":true,"rowsConfig":{"concept":"inv_trans_head","sequence":"audit_flag,bill,cause_code,customer,dept_no,duty_bill,duty_man,inv_trans_head,other_dept,record_man,return_date,supply_flag,trans_date,trans_man,trans_type,vendor,version,warehouse"},"transformIdcolumn":true,"useNamespace":true}}
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 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.NullPointerException
at Kcgl.createInv_trans_head(Kcgl.java:15)
... 27 more
以下是代码码,哪里有问题
public static Table createInv_trans_head(Table table,String concept,Map<String, String> defaultValues,String k){
System.out.println(BizUtils.createNextSequenceString(k,"000"));
String a=BizUtils.createNextSequenceString(k,"000");
defaultValues.put("bill", a);
return BizData.create(table,concept, defaultValues, k);
}
|
|