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

QQ登录

只需一步,快速开始

查看: 3576|回复: 6

[结贴] excel文件打不开

[复制链接]

506

主题

1631

帖子

3387

积分

论坛元老

Rank: 8Rank: 8

积分
3387
QQ
发表于 2017-5-18 14:10:04 | 显示全部楼层 |阅读模式
本帖最后由 qweasdzxc 于 2017-5-18 14:20 编辑

excel文件打不开,相应的xml文件能打开,现在导入模板下载不了,一导入模板就报null的错

006.jpg

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2017-5-18 14:38:28 | 显示全部楼层
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

506

主题

1631

帖子

3387

积分

论坛元老

Rank: 8Rank: 8

积分
3387
QQ
 楼主| 发表于 2017-5-18 14:39:42 | 显示全部楼层
本帖最后由 qweasdzxc 于 2017-5-18 14:56 编辑

那模板导入报错null什么原因呢?

  1. Uncaught Error: __justepServerErrorStart__{"message":"null","reason":"","code":"","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 com.googlecode.psiprobe.Tomcat60AgentValve.invoke(Tomcat60AgentValve.java:40)\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... 28 more\r\nCaused by: java.lang.NullPointerException\r\n","messages":[],"url":"http://192.168.120.2:8080/BusinessServer/business-action","param":{"contentType":"json","accept":"application/json","process":"/OA/studentInfo/process/studentInfo/studentInfoProcess","activity":"mainActivity","actionFlag":"__action_0__","executor":"","executeContext":"","action":"importExcel","parameters":{"config":{"@type":"xml","xml":"<config use-default="true" to="DB" excel-file="E:\\BeX5_V3.4-small\\apache-tomcat\\bin\\..\\..\\apache-tomcat\\temp\\45f6dcf8-263e-49f4-a15e-b2e504d056d3.excel.tmp" mapping-file="E:\\BeX5_V3.4-small\\apache-tomcat\\bin\\..\\..\\apache-tomcat\\temp\\1b986d4d-fbc7-4973-9d32-8899f8352dbc.excel.tmp"><data><concept name="OA_Student"><relation name="OA_Student" type="String"/><relation name="fAccountPlace" type="Text"/><relation name="fAccountType" type="String"/><relation name="fAddress" type="Text"/><relation name="fAvgRevenue" type="String"/><relation name="fBeforeLevel" type="String"/><relation name="fBirthDay" type="String"/><relation name="fCardCode" type="String"/><relation name="fCardNo" type="String"/><relation name="fClass" type="String"/><relation name="fCode" type="String"/><relation name="fDuration" type="String"/><relation name="fFamilyMember" type="String"/><relation name="fFamilyPhone" type="String"/><relation name="fFinishSchool" type="String"/><relation name="fHobby" type="String"/><relation name="fHostel" type="String"/><relation name="fIsDifficulty" type="String"/><relation name="fIsGoRead" type="String"/><relation name="fIsImmigrant" type="String"/><relation name="fIsMin" type="String"/><relation name="fIsTen" type="String"/><relation name="fName" type="String"/><relation name="fNation" type="String"/><relation name="fPhone" type="String"/><relation name="fPolitical" type="String"/><relation name="fProfession" type="String"/><relation name="fProfessionLevel" type="String"/><relation name="fQuarter" type="String"/><relation name="fReSource" type="Text"/><relation name="fRevenue" type="String"/><relation name="fStudyType" type="String"/><relation name="fYear" type="String"/><relation name="fZip" type="String"/><relation name="sSex" type="String"/><relation name="version" type="Integer"/></concept></data></config>"},"createActionParam":{"process":"/OA/studentInfo/process/studentInfo/studentInfoProcess","activity":"mainActivity","action":"createOA_StudentAction","parameters":{"table":{"@type":"table","rows":[],"userdata":{"idColumnDefine":"OA_Student","idColumnName":"OA_Student","idColumnType":"String","model":"/OA/studentInfo/data","relationAlias":"fAccountPlace,fAccountType,fAddress,fAvgRevenue,fBeforeLevel,fBirthDay,fCardCode,fCardNo,fClass,fCode,fDuration,fFamilyMember,fFamilyPhone,fFinishSchool,fHobby,fHostel,fIsDifficulty,fIsGoRead,fIsImmigrant,fIsMin,fIsTen,fName,fNation,fPhone,fPolitical,fProfession,fProfessionLevel,fQuarter,fReSource,fRevenue,fStudyType,fYear,fZip,sSex,version","relationTypes":"Text,String,Text,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,Text,String,String,String,String,String,Integer","relations":"OA_Student.fAccountPlace,OA_Student.fAccountType,OA_Student.fAddress,OA_Student.fAvgRevenue,OA_Student.fBeforeLevel,OA_Student.fBirthDay,OA_Student.fCardCode,OA_Student.fCardNo,OA_Student.fClass,OA_Student.fCode,OA_Student.fDuration,OA_Student.fFamilyMember,OA_Student.fFamilyPhone,OA_Student.fFinishSchool,OA_Student.fHobby,OA_Student.fHostel,OA_Student.fIsDifficulty,OA_Student.fIsGoRead,OA_Student.fIsImmigrant,OA_Student.fIsMin,OA_Student.fIsTen,OA_Student.fName,OA_Student.fNation,OA_Student.fPhone,OA_Student.fPolitical,OA_Student.fProfession,OA_Student.fProfessionLevel,OA_Student.fQuarter,OA_Student.fReSource,OA_Student.fRevenue,OA_Student.fStudyType,OA_Student.fYear,OA_Student.fZip,OA_Student.sSex,OA_Student.version","updateMode":"whereVersion"}},"defaultValues":null}},"saveActionParam":{"process":"/OA/studentInfo/process/studentInfo/studentInfoProcess","activity":"mainActivity","action":"saveOA_StudentAction","parameters":{"table":{"@type":"table","rows":[],"userdata":{"idColumnDefine":"OA_Student","idColumnName":"OA_Student","idColumnType":"String","model":"/OA/studentInfo/data","relationAlias":"fAccountPlace,fAccountType,fAddress,fAvgRevenue,fBeforeLevel,fBirthDay,fCardCode,fCardNo,fClass,fCode,fDuration,fFamilyMember,fFamilyPhone,fFinishSchool,fHobby,fHostel,fIsDifficulty,fIsGoRead,fIsImmigrant,fIsMin,fIsTen,fName,fNation,fPhone,fPolitical,fProfession,fProfessionLevel,fQuarter,fReSource,fRevenue,fStudyType,fYear,fZip,sSex,version","relationTypes":"Text,String,Text,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,String,Text,String,String,String,String,String,Integer","relations":"OA_Student.fAccountPlace,OA_Student.fAccountType,OA_Student.fAddress,OA_Student.fAvgRevenue,OA_Student.fBeforeLevel,OA_Student.fBirthDay,OA_Student.fCardCode,OA_Student.fCardNo,OA_Student.fClass,OA_Student.fCode,OA_Student.fDuration,OA_Student.fFamilyMember,OA_Student.fFamilyPhone,OA_Student.fFinishSchool,OA_Student.fHobby,OA_Student.fHostel,OA_Student.fIsDifficulty,OA_Student.fIsGoRead,OA_Student.fIsImmigrant,OA_Student.fIsMin,OA_Student.fIsTen,OA_Student.fName,OA_Student.fNation,OA_Student.fPhone,OA_Student.fPolitical,OA_Student.fProfession,OA_Student.fProfessionLevel,OA_Student.fQuarter,OA_Student.fReSource,OA_Student.fRevenue,OA_Student.fStudyType,OA_Student.fYear,OA_Student.fZip,OA_Student.sSex,OA_Student.version","updateMode":"whereVersion"}}}}},"translateParameter":null}}__justepServerErrorEnd__
复制代码


回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2017-5-18 15:02:35 | 显示全部楼层
发tomcat控制台完整的错误信息
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

506

主题

1631

帖子

3387

积分

论坛元老

Rank: 8Rank: 8

积分
3387
QQ
 楼主| 发表于 2017-5-18 15:22:47 | 显示全部楼层
jishuang 发表于 2017-5-18 15:02
发tomcat控制台完整的错误信息

如图
008.png
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2017-5-18 15:42:46 | 显示全部楼层
完成的错误信息
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



如按照该方法解决,请及时跟帖,便于版主结贴
回复 支持 反对

使用道具 举报

506

主题

1631

帖子

3387

积分

论坛元老

Rank: 8Rank: 8

积分
3387
QQ
 楼主| 发表于 2017-5-18 16:10:34 | 显示全部楼层

找到原因了 结贴
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 22:45 , Processed in 0.090827 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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