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

QQ登录

只需一步,快速开始

查看: 3377|回复: 1

[结贴] OrgUtils.findPersonMembersByID("", personID)拿不到值

[复制链接]

165

主题

522

帖子

1156

积分

金牌会员

Rank: 6Rank: 6

积分
1156
QQ
发表于 2017-5-12 10:28:59 | 显示全部楼层 |阅读模式
版本: 小版本号:
数据库: 服务器操作系统: 应用服务器:
客户端操作系统: 浏览器:
本帖最后由 旗开得胜 于 2017-5-12 10:38 编辑

报错信息如下

Index: 0, Size: 0

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.IndexOutOfBoundsException: Index: 0, Size: 0
at java.util.ArrayList.rangeCheck(ArrayList.java:653)
at java.util.ArrayList.get(ArrayList.java:429)
at JHGL.creatTZ(JHGL.java:193)
at JHGL.xftz(JHGL.java:172)
... 27 more

url:/UI/system/service/common/bizAction.j
param:{"process":"/SJMIS/JHGL/process/NDJH/nDJHProcess","activity":"businessActivity2","actionFlag":"__action_1__","executor":"","executeContext":"","action":"externalAdvanceProcessAction","parameters":{"task":"0A3861639C2D4636B703F5A4D55C20CF","control":{"class":"com.justep.system.process.ProcessControl","object":{"@@tag":"process-control","customized-enabled":"false","dialog-enabled":"true","exts":null,"jump-enabled":"false","message":"","notice":[],"postscript":"","save-history":"true","status":"none","task-join":"false","task-join-mode":"","to":[{"@activity-id":"FDEBC27612FD42F793BBADCE41587F5A","@id":"FDEBC27612FD42F793BBADCE41587F5A","@is-end":"true","@readonly":"true","@selected":"true","executor-kinds":"","executor-range":[],"executors":[],"exts":null,"process":"/SJMIS/JHGL/process/NDJH/nDJHProcess","task-relation-value":{"@@tag":"task-relation-value","SA_Task":"6E8DEEAAFA3247639D04ABF04854F605","sActivityInTemplate":"end1","sActivityName":"","sLastModifyTime":"2017-05-12T09:02:31.896Z","sLock":"33439F666E1E45278E8DF39D32E13B72","sProcess":"/SJMIS/JHGL/process/NDJH/nDJHProcess","sProcessName":"年度计划","sProcessTemplateID2":"","sTypeName":"年度计划"},"template":"","unit":"end1"}]}}},"translateParameter":null}Error: {"message":"Index: 0, Size: 0","reason":null,"code":"","stack":"java.lang.reflect.InvocationTargetException\n\tat sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat java.lang.reflect.Method.invoke(Method.java:497)\n\tat com.justep.system.action.Engine.invokeActions(Native Method)\n\tat com.justep.system.action.Engine.invokeActions(Unknown Source)\n\tat com.justep.business.server.BusinessServer.doAction(Unknown Source)\n\tat com.justep.business.server.BusinessServer.doExcute(Unknown Source)\n\tat com.justep.business.server.BusinessServer.excute(Unknown Source)\n\tat com.justep.business.server.BusinessServer.excute(Unknown Source)\n\tat com.justep.business.server.BusinessServerServlet.execService(Unknown Source)\n\tat com.justep.business.server.BusinessServerServlet.service(Unknown Source)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:723)\n\tat com.justep.x.bs.BusinessServerServlet.service(Unknown Source)\n\tat javax.servlet.http.HttpServlet.service(HttpServlet.java:723)\n\tat org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:290)\n\tat org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:206)\n\tat org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:233)\n\tat org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:191)\n\tat org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:127)\n\tat org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:103)\n\tat org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:109)\n\tat org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:293)\n\tat org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:861)\n\tat org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.process(Http11Protocol.java:606)\n\tat org.apache.tomcat.util.net.JIoEndpoint$Worker.run(JIoEndpoint.java:489)\n\tat java.lang.Thread.run(Thread.java:745)\nCaused by: java.lang.IndexOutOfBoundsException: Index: 0, Size: 0\n\tat java.util.ArrayList.rangeCheck(ArrayList.java:653)\n\tat java.util.ArrayList.get(ArrayList.java:429)\n\tat JHGL.creatTZ(JHGL.java:193)\n\tat JHGL.xftz(JHGL.java:172)\n\t... 27 more\n","messages":["Index: 0, Size: 0"],"url":"/UI/system/service/common/bizAction.j","param":"{\"process\":\"/SJMIS/JHGL/process/NDJH/nDJHProcess\",\"activity\":\"businessActivity2\",\"actionFlag\":\"__action_1__\",\"executor\":\"\",\"executeContext\":\"\",\"action\":\"externalAdvanceProcessAction\",\"parameters\":{\"task\":\"0A3861639C2D4636B703F5A4D55C20CF\",\"control\":{\"class\":\"com.justep.system.process.ProcessControl\",\"object\":{\"@@tag\":\"process-control\",\"customized-enabled\":\"false\",\"dialog-enabled\":\"true\",\"exts\":null,\"jump-enabled\":\"false\",\"message\":\"\",\"notice\":[],\"postscript\":\"\",\"save-history\":\"true\",\"status\":\"none\",\"task-join\":\"false\",\"task-join-mode\":\"\",\"to\":[{\"@activity-id\":\"FDEBC27612FD42F793BBADCE41587F5A\",\"@id\":\"FDEBC27612FD42F793BBADCE41587F5A\",\"@is-end\":\"true\",\"@readonly\":\"true\",\"@selected\":\"true\",\"executor-kinds\":\"\",\"executor-range\":[],\"executors\":[],\"exts\":null,\"process\":\"/SJMIS/JHGL/process/NDJH/nDJHProcess\",\"task-relation-value\":{\"@@tag\":\"task-relation-value\",\"SA_Task\":\"6E8DEEAAFA3247639D04ABF04854F605\",\"sActivityInTemplate\":\"end1\",\"sActivityName\":\"\",\"sLastModifyTime\":\"2017-05-12T09:02:31.896Z\",\"sLock\":\"33439F666E1E45278E8DF39D32E13B72\",\"sProcess\":\"/SJMIS/JHGL/process/NDJH/nDJHProcess\",\"sProcessName\":\"年度计划\",\"sProcessTemplateID2\":\"\",\"sTypeName\":\"年度计划\"},\"template\":\"\",\"unit\":\"end1\"}]}}},\"translateParameter\":null}"}
at Object.errorMessage (http://www.qjsj.net:8080/x5/v_51 ... guage=zh_CN:1:52500)
at Object._requestCallback (http://www.qjsj.net:8080/x5/v_51 ... guage=zh_CN:1:59114)
at Object.endBatch (http://www.qjsj.net:8080/x5/v_51 ... guage=zh_CN:1:54120)
at justep.ProcessEngine._doProcess (http://www.qjsj.net:8080/x5/UI/v ... guage=zh_CN:1613:19)
at justep.ProcessEngine.advanceExt (http://www.qjsj.net:8080/x5/UI/v ... nguage=zh_CN:907:14)
at justep.ProcessEngine._processDialogOnReceive (http://www.qjsj.net:8080/x5/UI/v ... guage=zh_CN:1379:49)
at justep.WindowDialog.callback (http://www.qjsj.net:8080/x5/UI/v ... nguage=zh_CN:1385:8)
at justep.WindowDialog.z [as ev_onreceive] (http://www.qjsj.net:8080/x5/v_51 ... uage=zh_CN:1:401183)
at justep.WindowDialog.obj.(anonymous function) [as callEvent] (http://www.qjsj.net:8080/x5/v_51 ... uage=zh_CN:1:400910)
at justep.WindowDialog.ensure (http://www.qjsj.net:8080/x5/UI/v ... anguage=zh_CN:221:8)

ULG(M94Y6_~L85@3Y_VWFTB.png
RD{7OZ@26DI4R}T}[SIHRK3.png

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36067
发表于 2017-5-12 10:47:55 | 显示全部楼层
把sql打印出来看看那个函数最终执行的sql到数据库中能查出数据吗?
http://bbs.wex5.com/forum.php?mo ... 4&pid=165004035
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-24 15:37 , Processed in 0.055452 second(s), 28 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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