|
版本: |
X5.2.6 |
小版本号: |
|
|
|
数据库: |
MySQL |
服务器操作系统: |
Windows |
应用服务器: |
Tomcat |
客户端操作系统: |
Windows XP |
浏览器: |
Firefox |
|
|
本帖最后由 lsqtly@163.com 于 2014-2-24 15:35 编辑
用excel导入组件,出现错误提示
“组件案例”有个EXCEL ,同样也是这样的错误提示,请管理员看一下,是什么问题?
控制台提示- 2014-02-23 14:10:21 action:<?xml version="1.0" encoding="UTF-8"?>
- <action direct-execute="false" process="/SA/excel/system/systemProcess" activity="mainActivity" action-flag="__action_0__" executor="PSN01" execute-context="" name="importExcel"><parameters xmlns:xbiz="http://www.justep.com/xbiz#"><parameter name="config"><xbiz:xml><config use-default="false" to="UI" excel-file="G:\x5\apache-tomcat\temp\5627944b-8d05-475c-a50e-899033a8305f.tmp" mapping-file="G:\x5\apache-tomcat\temp\0f3cc4e5-cdf4-4811-a498-a51c3827b405.tmp"><sheet all="false" start="1" end="1"/><row all="false" start="1" end="1"/><data><concept name="DEMO_TABLE1"><relation name="fString" type="String"/><relation name="fInteger" type="Integer"/><relation name="fFloat" type="Float"/><relation name="fDecimal" type="Decimal"/><relation name="fDate" type="Date"/><relation name="fDateTime" type="DateTime"/><relation name="fTime" type="Time"/><relation name="fBlob" type="Blob"/><relation name="fText" type="Text"/><relation name="fParent" type="String"/><relation name="fLevel" type="String"/><relation name="space-column" type="Object"/><relation name="version" type="Integer"/><relation name="fPath" type="String"/><relation name="fString0" type="String"/><relation name="fString1" type="String"/><relation name="fKind" type="String"/></concept></data></config></xbiz:xml></parameter><parameter name="createActionParam"><xbiz:map><item key="process"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[/demo/components/process/windowDialog/windowDialogProcess]]></xbiz:simple></item><item key="activity"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[mainActivity]]></xbiz:simple></item><item key="action"><xbiz:simple type="http://www.w3.org/2001/XMLSchema#String"><![CDATA[createDEMO_TABLE1Action]]></xbiz:simple></item><item key="parameters"><xbiz:map><item key="table"><xbiz:table><rows><userdata name="concept">DEMO_TABLE1</userdata><userdata name="relations">DEMO_TABLE1.fString,DEMO_TABLE1.fInteger,DEMO_TABLE1.fFloat,DEMO_TABLE1.fDecimal,DEMO_TABLE1.fDate,DEMO_TABLE1.fDateTime,DEMO_TABLE1.fTime,DEMO_TABLE1.fBlob,DEMO_TABLE1.fText,DEMO_TABLE1.fParent,DEMO_TABLE1.fLevel,EXPRESS,DEMO_TABLE1.version,DEMO_TABLE1.fPath,DEMO_TABLE1.fString0,DEMO_TABLE1.fString1,DEMO_TABLE1.fKind</userdata><userdata name="model">/demo/components/data</userdata><userdata name="concept-alias">DEMO_TABLE1</userdata><userdata name="id-column-name">DEMO_TABLE1</userdata><userdata name="id-column-type">String</userdata><userdata name="id-column-define">DEMO_TABLE1</userdata><userdata name="relation-alias">fString,fInteger,fFloat,fDecimal,fDate,fDateTime,fTime,fBlob,fText,fParent,fLevel,space-column,version,fPath,fString0,fString1,fKind</userdata><userdata name="relation-types">String,Integer,Float,Decimal,Date,DateTime,Time,Blob,Text,String,String,Object,Integer,String,String,String,String</userdata><userdata name="update-mode">whereVersion</userdata></rows></xbiz:table></item><item key="defaultValues"><xbiz:map/></item></xbiz:map></item></xbiz:map></parameter></parameters></action>
- java.lang.reflect.InvocationTargetException
- at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
- at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
- at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
- at java.lang.reflect.Method.invoke(Method.java:592)
- 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.BusinessServerServlet.execService(Unknown Source)
- at com.justep.business.server.BusinessServerServlet.service(Unknown Source)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
- at com.justep.x.bs.BusinessServerServlet.service(Unknown Source)
- at javax.servlet.http.HttpServlet.service(HttpServlet.java:717)
- 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:102)
- at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)
- at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:298)
- at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:857)
- at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:588)
- at org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)
- at java.lang.Thread.run(Thread.java:595)
- Caused by: com.justep.excel.ExcelException: 编码: JUSTEP170010; 提示:
- at com.justep.excel.ExcelException.create(ExcelException.java:32)
- at com.justep.excel.ImportGenerator.getValue(ImportGenerator.java:305)
- 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:88)
- ... 26 more
- Caused by: java.lang.NumberFormatException: For input string: "Integer"
- at java.lang.NumberFormatException.forInputString(NumberFormatException.java:48)
- at java.lang.Integer.parseInt(Integer.java:447)
- at java.lang.Integer.parseInt(Integer.java:497)
- at com.justep.system.transform.SimpleTransform.j(Unknown Source)
- at com.justep.system.transform.SimpleTransform.transToObj(Unknown Source)
- at com.justep.excel.ImportGenerator.getValue(ImportGenerator.java:303)
- ... 31 more
- 2014-02-23 14:13:38 开始-WINDOW生成中间文件: /UI/OA/schedule/process/schedulePortlet/schedulePortlet.w
- 2014-02-23 14:13:38 结束-WINDOW生成中间文件: /UI/OA/schedule/process/schedulePortlet/schedulePortlet.w
- 2014-02-23 14:13:38 开始-中间文件生成缓存文件: /UI/OA/schedule/process/schedulePortlet/schedulePortlet.w
- 2014-02-23 14:13:38 结束-中间文件生成缓存文件: /UI/OA/schedule/process/schedulePortlet/schedulePortlet.w
- 2014-2-23 14:13:38 org.apache.tomcat.util.http.Parameters processParameters
- 警告: Parameters: Invalid chunk '' ignored.
- <img src="http://bbs.justep.com/forum.php?mod=image&aid=42026&size=300x300&key=fc14f15be9220c4cb2d0e4f5e514b9e4&nocache=yes&type=fixnone" aid="attachimg_42026" alt="" border="0"><img src="http://bbs.justep.com/forum.php?mod=image&aid=42026&size=300x300&key=fc14f15be9220c4cb2d0e4f5e514b9e4&nocache=yes&type=fixnone" aid="attachimg_42026" alt="" border="0">
- <img src="http://bbs.justep.com/forum.php?mod=image&aid=42038&size=300x300&key=010234fc898659bd2d6f819221974dc5&nocache=yes&type=fixnone" aid="attachimg_42038" alt="" border="0"><img src="http://bbs.justep.com/forum.php?mod=image&aid=42038&size=300x300&key=010234fc898659bd2d6f819221974dc5&nocache=yes&type=fixnone" aid="attachimg_42038" alt="" border="0">
复制代码 |
-
-
|