起步软件技术论坛
搜索
 找回密码
 注册

QQ登录

只需一步,快速开始

查看: 4655|回复: 1

[结贴] excel导入报错

[复制链接]

26

主题

66

帖子

282

积分

中级会员

Rank: 3Rank: 3

积分
282
QQ
发表于 2021-9-16 12:29:25 | 显示全部楼层 |阅读模式
2021-09-16 10:57:16 excute stream action, params:{"accept":"application/json","action":"importExcel","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"config":{"@type":"xml","xml":"<config use-default=\"true\" to=\"UI\" excel-file=\"D:\\Bex5_V3.8_1\\apache-tomcat\\temp\\1d4d664d-d80b-4e52-8c0b-5dd28c91f5ff.excel.tmp\" mapping-file=\"D:\\Bex5_V3.8_1\\apache-tomcat\\temp\\1783b1ec-e07f-4b25-9174-07cbdb60f928.excel.tmp\"><data><concept name=\"CRM_OR_ExStorageDeliveryD\"><relation name=\"CRM_OR_ExStorageDeliveryD\" type=\"String\"/><relation name=\"fActualDeliveryQty\" type=\"Decimal\"/><relation name=\"fBeginningQty\" type=\"Decimal\"/><relation name=\"fCusPartNumber\" type=\"String\"/><relation name=\"fDeliveryedQty\" type=\"Decimal\"/><relation name=\"fExWareInvQty\" type=\"Decimal\"/><relation name=\"fFactoryCode\" type=\"String\"/><relation name=\"fFactoryName\" type=\"String\"/><relation name=\"fIntoLibraryQty\" type=\"Decimal\"/><relation name=\"fInvCode\" type=\"String\"/><relation name=\"fInvName\" type=\"String\"/><relation name=\"fMasterID\" type=\"String\"/><relation name=\"fMeteringUnit\" type=\"String\"/><relation name=\"fOutLibraryQty\" type=\"Decimal\"/><relation name=\"fRemark\" type=\"String\"/><relation name=\"fReturnQty\" type=\"Decimal\"/><relation name=\"fRowNum\" type=\"Integer\"/><relation name=\"fTruckModel\" type=\"String\"/><relation name=\"fUnit\" type=\"String\"/><relation name=\"version\" type=\"Integer\"/></concept></data></config>"},"createActionParam":{"action":"createCRM_OR_ExStorageDeliveryDAction","activity":"mainActivity","parameters":{"defaultValues":{"fMasterID":"'79E42891D9D64C4A9BFB2F1A763858FC'"},"table":{"@type":"table","rows":[],"userdata":{"idColumnDefine":"CRM_OR_ExStorageDeliveryD","idColumnName":"CRM_OR_ExStorageDeliveryD","idColumnType":"String","model":"/CRM/order/data","relationAlias":"fActualDeliveryQty,fBeginningQty,fCusPartNumber,fDeliveryedQty,fExWareInvQty,fFactoryCode,fFactoryName,fIntoLibraryQty,fInvCode,fInvName,fMasterID,fMeteringUnit,fOutLibraryQty,fRemark,fReturnQty,fRowNum,fTruckModel,fUnit,version","relationTypes":"Decimal,Decimal,String,Decimal,Decimal,String,String,Decimal,String,String,String,String,Decimal,String,Decimal,Integer,String,String,Integer","relations":"CRM_OR_ExStorageDeliveryD.fActualDeliveryQty,CRM_OR_ExStorageDeliveryD.fBeginningQty,CRM_OR_ExStorageDeliveryD.fCusPartNumber,CRM_OR_ExStorageDeliveryD.fDeliveryedQty,CRM_OR_ExStorageDeliveryD.fExWareInvQty,CRM_OR_ExStorageDeliveryD.fFactoryCode,CRM_OR_ExStorageDeliveryD.fFactoryName,CRM_OR_ExStorageDeliveryD.fIntoLibraryQty,CRM_OR_ExStorageDeliveryD.fInvCode,CRM_OR_ExStorageDeliveryD.fInvName,CRM_OR_ExStorageDeliveryD.fMasterID,CRM_OR_ExStorageDeliveryD.fMeteringUnit,CRM_OR_ExStorageDeliveryD.fOutLibraryQty,CRM_OR_ExStorageDeliveryD.fRemark,CRM_OR_ExStorageDeliveryD.fReturnQty,CRM_OR_ExStorageDeliveryD.fRowNum,CRM_OR_ExStorageDeliveryD.fTruckModel,CRM_OR_ExStorageDeliveryD.fUnit,CRM_OR_ExStorageDeliveryD.version","updateMode":"whereVersion"}}},"process":"/CRM/order/process/ExStorageDelivery1/exStorageDelivery1Process"}},"process":"/SA/excel/system/systemProcess"}
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.RuntimeException: not implemented yet
        at org.apache.poi.xssf.usermodel.XSSFEvaluationWorkbook.getExternalSheetIndex(XSSFEvaluationWorkbook.java:117)
        at org.apache.poi.ss.formula.FormulaParser.createAreaRefParseNode(FormulaParser.java:613)
        at org.apache.poi.ss.formula.FormulaParser.parseRangeable(FormulaParser.java:460)
        at org.apache.poi.ss.formula.FormulaParser.parseRangeExpression(FormulaParser.java:266)
        at org.apache.poi.ss.formula.FormulaParser.parseSimpleFactor(FormulaParser.java:1117)
        at org.apache.poi.ss.formula.FormulaParser.percentFactor(FormulaParser.java:1077)
        at org.apache.poi.ss.formula.FormulaParser.powerFactor(FormulaParser.java:1064)
        at org.apache.poi.ss.formula.FormulaParser.Term(FormulaParser.java:1424)
        at org.apache.poi.ss.formula.FormulaParser.additiveExpression(FormulaParser.java:1524)
        at org.apache.poi.ss.formula.FormulaParser.concatExpression(FormulaParser.java:1508)
        at org.apache.poi.ss.formula.FormulaParser.comparisonExpression(FormulaParser.java:1465)
        at org.apache.poi.ss.formula.FormulaParser.Arguments(FormulaParser.java:1049)
        at org.apache.poi.ss.formula.FormulaParser.function(FormulaParser.java:934)
        at org.apache.poi.ss.formula.FormulaParser.parseNonRange(FormulaParser.java:556)
        at org.apache.poi.ss.formula.FormulaParser.parseRangeable(FormulaParser.java:427)
        at org.apache.poi.ss.formula.FormulaParser.parseRangeExpression(FormulaParser.java:266)
        at org.apache.poi.ss.formula.FormulaParser.parseSimpleFactor(FormulaParser.java:1117)
        at org.apache.poi.ss.formula.FormulaParser.percentFactor(FormulaParser.java:1077)
        at org.apache.poi.ss.formula.FormulaParser.powerFactor(FormulaParser.java:1064)
        at org.apache.poi.ss.formula.FormulaParser.Term(FormulaParser.java:1424)
        at org.apache.poi.ss.formula.FormulaParser.additiveExpression(FormulaParser.java:1524)
        at org.apache.poi.ss.formula.FormulaParser.concatExpression(FormulaParser.java:1508)
        at org.apache.poi.ss.formula.FormulaParser.comparisonExpression(FormulaParser.java:1465)
        at org.apache.poi.ss.formula.FormulaParser.unionExpression(FormulaParser.java:1445)
        at org.apache.poi.ss.formula.FormulaParser.parse(FormulaParser.java:1566)
        at org.apache.poi.ss.formula.FormulaParser.parse(FormulaParser.java:174)
        at org.apache.poi.xssf.usermodel.XSSFEvaluationWorkbook.getFormulaTokens(XSSFEvaluationWorkbook.java:146)
        at org.apache.poi.ss.formula.WorkbookEvaluator.evaluateAny(WorkbookEvaluator.java:277)
        at org.apache.poi.ss.formula.WorkbookEvaluator.evaluate(WorkbookEvaluator.java:221)
        at org.apache.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluateFormulaCellValue(XSSFFormulaEvaluator.java:257)
        at org.apache.poi.xssf.usermodel.XSSFFormulaEvaluator.evaluateFormulaCell(XSSFFormulaEvaluator.java:150)
        at com.justep.excel.ImportGenerator.getValue(ImportGenerator.java:269)
        at com.justep.excel.ImportGenerator.setCellsValue(ImportGenerator.java:238)
        at com.justep.excel.ImportGenerator.generateRecord(ImportGenerator.java:203)
        at com.justep.excel.ImportGenerator.generateSheet(ImportGenerator.java:198)
        at com.justep.excel.ImportGenerator.generate(ImportGenerator.java:131)
        at Excel.importExcel(Excel.java:91)
        ... 30 more

26

主题

66

帖子

282

积分

中级会员

Rank: 3Rank: 3

积分
282
QQ
 楼主| 发表于 2021-9-16 13:32:08 | 显示全部楼层
好像是excel的问题,重新建了一个就行了
回复 支持 反对

使用道具 举报

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

本版积分规则

小黑屋|手机版|X3技术论坛|Justep Inc.    

GMT+8, 2024-11-23 20:24 , Processed in 0.053024 second(s), 23 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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