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

QQ登录

只需一步,快速开始

查看: 7285|回复: 3

[处理中3] 导出excel,报wrong number of arguments

[复制链接]

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
发表于 2020-12-3 09:41:47 | 显示全部楼层 |阅读模式
版本: 其它(帖子中说明) 小版本号:
数据库: Oracle 服务器操作系统: Windows 应用服务器: Tomcat
客户端操作系统: Windows 其它 浏览器: Chrome
使用exportExcel组件导出grid数据,按钮绑定后,点击按钮报:执行Action出错, wrong number of arguments
编码:JUSTEP150018
[url=]隐藏详细[/url]
java.lang.IllegalArgumentException: wrong number of arguments 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)

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2020-12-3 14:11:07 | 显示全部楼层
x5具体什么版本?看tomcat控制台完整的错误信息
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
 楼主| 发表于 2020-12-3 14:53:24 | 显示全部楼层
jishuang 发表于 2020-12-3 14:11
x5具体什么版本?看tomcat控制台完整的错误信息

使用的是BeX5 3.8版本

2020-12-03 14:52:13 excute stream action, params:{"accept":"application/json","action":"exportExcel","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"/ORG01.ogn/PSN01@ORG01.psm","parameters":{"config":{"@type":"xml","xml":"<root><config><show-label>true</show-label><start-row>1</start-row></config><concept><relation metaName=\"fBXFYSYJE\" metaLabel=\"保修费用使用金额\" width=\"\" metaCellNo=\"0\" type=\"Decimal\" excelCellNo=\"1\"/><relation metaName=\"fBXZRRJLXDH\" metaLabel=\"保修责任人及联系电话\" width=\"\" metaCellNo=\"1\" type=\"String\" excelCellNo=\"2\"/><relation metaName=\"fBZ\" metaLabel=\"备注\" width=\"\" metaCellNo=\"2\" type=\"String\" excelCellNo=\"3\"/><relation metaName=\"fBillID\" metaLabel=\"外键\" width=\"\" metaCellNo=\"3\" type=\"String\" excelCellNo=\"4\"/><relation metaName=\"fGCMC\" metaLabel=\"工程名称\" width=\"\" metaCellNo=\"4\" type=\"String\" excelCellNo=\"5\"/><relation metaName=\"fQRBXQSSJ\" metaLabel=\"确认保修起始时间\" width=\"\" metaCellNo=\"5\" type=\"Date\" excelCellNo=\"6\"/><relation metaName=\"fWCBXQMTZD\" metaLabel=\"完成保修期满通知单\" width=\"\" metaCellNo=\"6\" type=\"String\" excelCellNo=\"7\"/><relation metaName=\"fWCWXXMQRD\" metaLabel=\"完成维修项目确认单\" width=\"\" metaCellNo=\"7\" type=\"String\" excelCellNo=\"8\"/></concept></root>"},"excelType":"excel2007","from":"DB","queryActionParam":{"action":"queryPm_projectGMoneyT_1Action","activity":"businessActivity1","parameters":{"columns":"fBXFYSYJE,fBXZRRJLXDH,fBZ,fBillID,fGCMC,fQRBXQSSJ,fWCBXQMTZD,fWCWXXMQRD,pm_projectGMoneyT_1,version","filter":"(pm_projectGMoneyT_1.fBillID='E908106B2ED740A59244ADC90C251913')","limit":-1,"offset":0,"variables":{}},"process":"/extend/pm/process/projectGMoneyS/projectGMoneySProcess"}},"process":"/SA/excel/system/systemProcess"}
java.lang.IllegalArgumentException: wrong number of arguments
        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)
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2020-12-3 17:19:38 | 显示全部楼层
应该还有错误信息吧,这个应该不是完整的错误信息

平台默认带的案例报错吗?
/UI2/system/components/justep/excel/demo/excel.w
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 22:27 , Processed in 0.106002 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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