|
楼主 |
发表于 2017-2-24 17:09:53
|
显示全部楼层
控制台中报的错{"accept":"application/json","action":"importExcel","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"config":{"@type":"xml","xml":"<config use-default=\"true\" to=\"DB\" excel-file=\"F:\\appdsb\\apache-tomcat\\temp\\14d5b1ff-12a7-46d4-bd2a-beddf7314fb0.excel.tmp\" mapping-file=\"F:\\appdsb\\apache-tomcat\\temp\\16df6d65-54e0-4f36-9104-1451862b32bc.excel.tmp\"><data><concept name=\"DS_XSLR_MX\"><relation name=\"DS_XSLR_MX\" type=\"String\"/><relation name=\"PluCode\" type=\"String\"/><relation name=\"PluName\" type=\"String\"/><relation name=\"Unit\" type=\"String\"/><relation name=\"fDJ\" type=\"Float\"/><relation name=\"fDRBS\" type=\"String\"/><relation name=\"fFT\" type=\"Text\"/><relation name=\"fGG\" type=\"String\"/><relation name=\"fHJJE\" type=\"Float\"/><relation name=\"fHjCost\" type=\"String\"/><relation name=\"fMDBM\" type=\"String\"/><relation name=\"fMDMC\" type=\"String\"/><relation name=\"fMasterID\" type=\"String\"/><relation name=\"fSL\" type=\"Integer\"/><relation name=\"fWPID\" type=\"String\"/><relation name=\"fXH\" type=\"String\"/><relation name=\"fXSPT\" type=\"String\"/><relation name=\"fXSRQ\" type=\"DateTime\"/><relation name=\"version\" type=\"Integer\"/></concept></data></config>"},"createActionParam":{"action":"createDS_XSLR_MXAction","activity":"mainActivity","parameters":{"defaultValues":{"fMasterID":"'30DA0678786F4655864BDD23B071DB6D'"},"table":{"@type":"table","rows":[],"userdata":{"idColumnDefine":"DS_XSLR_MX","idColumnName":"DS_XSLR_MX","idColumnType":"String","model":"/dsb/SaleSubmit/data","relationAlias":"PluCode,PluName,Unit,fDJ,fDRBS,fFT,fGG,fHJJE,fHjCost,fMDBM,fMDMC,fMasterID,fSL,fWPID,fXH,fXSPT,fXSRQ,version","relationTypes":"String,String,String,Float,String,Text,String,Float,String,String,String,String,Integer,String,String,String,DateTime,Integer","relations":"DS_TskuPlu.PluCode,DS_TskuPlu.PluName,DS_TskuPlu.Unit,DS_XSLR_MX.fDJ,DS_XSLR_MX.fDRBS,DS_XSLR_MX.fFT,DS_TskuPlu.fGG,DS_XSLR_MX.fHJJE,DS_TskuPlu.fHjCost,DS_XSLR_MX.fMDBM,DS_XSLR_MX.fMDMC,DS_XSLR_MX.fMasterID,DS_XSLR_MX.fSL,DS_XSLR_MX.fWPID,DS_XSLR_MX.fXH,DS_XSLR_MX.fXSPT,DS_XSLR_MX.fXSRQ,DS_XSLR_MX.version","updateMode":"whereVersion"}}},"process":"/dsb/SaleSubmit/process/SaleCommit/saleCommitProcess"},"saveActionParam":{"action":"saveDS_XSLR_MXAction","activity":"mainActivity","parameters":{"table":{"@type":"table","rows":[],"userdata":{"idColumnDefine":"DS_XSLR_MX","idColumnName":"DS_XSLR_MX","idColumnType":"String","model":"/dsb/SaleSubmit/data","relationAlias":"PluCode,PluName,Unit,fDJ,fDRBS,fFT,fGG,fHJJE,fHjCost,fMDBM,fMDMC,fMasterID,fSL,fWPID,fXH,fXSPT,fXSRQ,version","relationTypes":"String,String,String,Float,String,Text,String,Float,String,String,String,String,Integer,String,String,String,DateTime,Integer","relations":"DS_TskuPlu.PluCode,DS_TskuPlu.PluName,DS_TskuPlu.Unit,DS_XSLR_MX.fDJ,DS_XSLR_MX.fDRBS,DS_XSLR_MX.fFT,DS_TskuPlu.fGG,DS_XSLR_MX.fHJJE,DS_TskuPlu.fHjCost,DS_XSLR_MX.fMDBM,DS_XSLR_MX.fMDMC,DS_XSLR_MX.fMasterID,DS_XSLR_MX.fSL,DS_XSLR_MX.fWPID,DS_XSLR_MX.fXH,DS_XSLR_MX.fXSPT,DS_XSLR_MX.fXSRQ,DS_XSLR_MX.version","updateMode":"whereVersion"}}},"process":"/dsb/SaleSubmit/process/SaleCommit/saleCommitProcess"}},"process":"/dsb/SaleSubmit/process/SaleCommit/saleCommitProcess"}
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.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.system.action.ActionUtils.invokeAction(Unknown Source)
at com.justep.excel.ImportGenerator.generate(ImportGenerator.java:121)
at Excel.importExcel(Excel.java:88)
... 27 more
Caused by: java.lang.NullPointerException
at SaleCommitProcess.saleCommitProcessAfterImportExcelBeforeAction(SaleCommitProcess.java:30)
... 37 more
2017-02-24 17:05:42 action result:{"code":"","data":"","flag":false,"message":"null","messages":"[]","reason":"","stack":"java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat com.justep.system.action.Engine.invokeActions(Native Method)\r\n\tat com.justep.system.action.Engine.invokeActions(Unknown Source)\r\n\tat com.justep.business.server.BusinessServer.doAction(Unknown Source)\r\n\tat com.justep.business.server.BusinessServer.doExcute(Unknown Source)\r\n\tat com.justep.business.server.BusinessServer.excute(Unknown Source)\r\n\tat com.justep.business.server.BusinessServer.excute(Unknown Source)\r\n\tat com.justep.business.server.BusinessServerServlet.execService(Unknown Source)\r\n\tat com.justep.business.server.BusinessServerServlet.service(Unknown Source)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:723)\r\n\tat com.justep.x.bs.BusinessServerServlet.service(Unknown Source)\r\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:723)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)\r\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\r\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\r\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\r\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\r\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\r\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\r\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)\r\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)\r\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)\r\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\r\n\tat java.lang.Thread.run(Thread.java:745)\r\nCaused by: java.lang.reflect.InvocationTargetException\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\r\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\r\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\r\n\tat java.lang.reflect.Method.invoke(Method.java:497)\r\n\tat com.justep.system.action.Engine.invokeAction(Native Method)\r\n\tat com.justep.system.action.Engine.invokeAction(Unknown Source)\r\n\tat com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)\r\n\tat com.justep.system.action.ActionUtils.invokeAction(Unknown Source)\r\n\tat com.justep.excel.ImportGenerator.generate(ImportGenerator.java:121)\r\n\tat Excel.importExcel(Excel.java:88)\r\n\t... 27 more\r\nCaused by: java.lang.NullPointerException\r\n\tat SaleCommitProcess.saleCommitProcessAfterImportExcelBeforeAction(SaleCommitProcess.java:30)\r\n\t... 37 more\r\n"}
|
|