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

QQ登录

只需一步,快速开始

查看: 5142|回复: 14

[结贴] OPPerson表加载报错

[复制链接]

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
发表于 2019-9-6 16:08:57 | 显示全部楼层 |阅读模式
开发的功能中需要用到人员表数据,但是引用后一直出现这个错误。
以下为控制台信息:
2019-09-06 15:58:24 excute stream action, params:{"accept":"application/json","action":"querySA_OPPersonAction","actionFlag":"__action_0__","activity":"mainActivity","contentType":"json","executeContext":"","executor":"","parameters":{"columns":"SA_OPPerson,sBirthday,sCardKind,sCardNO,sCity,sCode,sCodeCW_WL,sCountry,sDegree,sDescription,sEnglishName,sFamilyAddress,sFamilyPhone,sGraduateSchool,sHomePlace,sIDCard,sJoinDate,sLoginName,sMail,sMainOrgID,sMarriage,sMobilePhone,sMsn,sName,sNation,sNumb,sOfficePhone,sPassword,sPasswordModifyTime,sPasswordTimeLimit,sPhoto,sPhotoLastModified,sPoliticalStatus,sPosiStartDate,sPositionLevel,sPositionName,sPositions,sPostRank,sProvince,sQQ,sSafeLevelID,sSchool,sSchoolLength,sSequence,sSex,sSpeciality,sSpecialityType,sStudy,sTitle,sTitleDate,sTitleLevel,sTitleLevel_PY,sTitleName_PY,sValidState,sZip,version","limit":-1,"offset":0,"variables":{}},"process":"/DrcProjManagement/signInManagement/process/taskQuery/taskQueryProcess","translateParameter":{"cellnameByRelation":false,"dataType":"row-list","includeState":true,"rowsConfig":{"concept":"SA_OPPerson","sequence":"SA_OPPerson,sBirthday,sCardKind,sCardNO,sCity,sCode,sCodeCW_WL,sCountry,sDegree,sDescription,sEnglishName,sFamilyAddress,sFamilyPhone,sGraduateSchool,sHomePlace,sIDCard,sJoinDate,sLoginName,sMail,sMainOrgID,sMarriage,sMobilePhone,sMsn,sName,sNation,sNumb,sOfficePhone,sPassword,sPasswordModifyTime,sPasswordTimeLimit,sPhoto,sPhotoLastModified,sPoliticalStatus,sPosiStartDate,sPositionLevel,sPositionName,sPositions,sPostRank,sProvince,sQQ,sSafeLevelID,sSchool,sSchoolLength,sSequence,sSex,sSpeciality,sSpecialityType,sStudy,sTitle,sTitleDate,sTitleLevel,sTitleLevel_PY,sTitleName_PY,sValidState,sZip,version"},"transformIdcolumn":true,"useNamespace":true}}
java.lang.reflect.InvocationTargetException
at sun.reflect.GeneratedMethodAccessor146.invoke(Unknown Source)
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: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT SA_OPPerson.*  FROM SA_OPPerson SA_OPPerson LIMIT 0, -1
--> sql: SELECT  SA_OPPerson.sID AS SA_OPPerson, SA_OPPerson.SBIRTHDAY AS sBirthday, SA_OPPerson.SCARDKIND AS sCardKind, SA_OPPerson.SCARDNO AS sCardNO, SA_OPPerson.SCITY AS sCity, SA_OPPerson.SCODE AS sCode, SA_OPPerson.SCODECW_WL AS sCodeCW_WL, SA_OPPerson.SCOUNTRY AS sCountry, SA_OPPerson.SDEGREE AS sDegree, SA_OPPerson.SDESCRIPTION AS sDescription, SA_OPPerson.SENGLISHNAME AS sEnglishName, SA_OPPerson.SFAMILYADDRESS AS sFamilyAddress, SA_OPPerson.SFAMILYPHONE AS sFamilyPhone, SA_OPPerson.SGRADUATESCHOOL AS sGraduateSchool, SA_OPPerson.SHOMEPLACE AS sHomePlace, SA_OPPerson.SIDCARD AS sIDCard, SA_OPPerson.SJOINDATE AS sJoinDate, SA_OPPerson.SLOGINNAME AS sLoginName, SA_OPPerson.SMAIL AS sMail, SA_OPPerson.SMAINORGID AS sMainOrgID, SA_OPPerson.SMARRIAGE AS sMarriage, SA_OPPerson.SMOBILEPHONE AS sMobilePhone, SA_OPPerson.SMSN AS sMsn, SA_OPPerson.SNAME AS sName, SA_OPPerson.SNATION AS sNation, SA_OPPerson.SNUMB AS sNumb, SA_OPPerson.SOFFICEPHONE AS sOfficePhone, SA_OPPerson.SPASSWORD AS sPassword, SA_OPPerson.SPASSWORDMODIFYTIME AS sPasswordModifyTime, SA_OPPerson.SPASSWORDTIMELIMIT AS sPasswordTimeLimit, SA_OPPerson.SPHOTO AS sPhoto, SA_OPPerson.SPHOTOLASTMODIFIED AS sPhotoLastModified, SA_OPPerson.SPOLITICALSTATUS AS sPoliticalStatus, SA_OPPerson.SPOSISTARTDATE AS sPosiStartDate, SA_OPPerson.SPOSITIONLEVEL AS sPositionLevel, SA_OPPerson.SPOSITIONNAME AS sPositionName, SA_OPPerson.SPOSITIONS AS sPositions, SA_OPPerson.SPOSTRANK AS sPostRank, SA_OPPerson.SPROVINCE AS sProvince, SA_OPPerson.SQQ AS sQQ, SA_OPPerson.SSAFELEVELID AS sSafeLevelID, SA_OPPerson.SSCHOOL AS sSchool, SA_OPPerson.SSCHOOLLENGTH AS sSchoolLength, SA_OPPerson.SSEQUENCE AS sSequence, SA_OPPerson.SSEX AS sSex, SA_OPPerson.SSPECIALITY AS sSpeciality, SA_OPPerson.SSPECIALITYTYPE AS sSpecialityType, SA_OPPerson.SSTUDY AS sStudy, SA_OPPerson.STITLE AS sTitle, SA_OPPerson.STITLEDATE AS sTitleDate, SA_OPPerson.STITLELEVEL AS sTitleLevel, SA_OPPerson.STITLELEVEL_PY AS sTitleLevel_PY, SA_OPPerson.STITLENAME_PY AS sTitleName_PY, SA_OPPerson.SVALIDSTATE AS sValidState, SA_OPPerson.SZIP AS sZip, SA_OPPerson.VERSION AS version FROM SA_OPPerson SA_OPPerson
--> binds: []
at com.justep.exception.BusinessException.create(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
at com.justep.system.data.BizData.query(Unknown Source)
at BizProcedure.query(BizProcedure.java:12)
... 26 more
Caused by: java.lang.IllegalArgumentException
at java.sql.Date.valueOf(Date.java:143)
at oracle.jdbc.driver.CharCommonAccessor.getDate(CharCommonAccessor.java:410)
at oracle.jdbc.driver.OracleResultSetImpl.getDate(OracleResultSetImpl.java:737)
at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getDate(DelegatingResultSet.java:244)
at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getDate(DelegatingResultSet.java:244)
at com.justep.system.data.impl.TableUtilsImplement.fillRow(Unknown Source)
... 31 more

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2019-9-6 17:07:34 | 显示全部楼层
报错是参数的问题 java.lang.IllegalArgumentException

具体怎么用的
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
 楼主| 发表于 2019-9-9 11:12:32 | 显示全部楼层
jishuang 发表于 2019-9-6 17:07
报错是参数的问题 java.lang.IllegalArgumentException

具体怎么用的

就直接在data中绑定的,不存在传参错误的问题啊,系统默认的query方法
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2019-9-9 11:51:11 | 显示全部楼层
确认用的是/SA/OPM/logic/action/queryOPPersonAction?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
 楼主| 发表于 2019-9-9 12:06:02 | 显示全部楼层
jishuang 发表于 2019-9-9 11:51
确认用的是/SA/OPM/logic/action/queryOPPersonAction?

是的
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2019-9-9 13:18:23 | 显示全部楼层
平台默认的就没有sCodeCW_WL,平台默认的组织管理功能中人员就用的这个action报错吗?
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
 楼主| 发表于 2019-9-9 14:29:55 | 显示全部楼层
jishuang 发表于 2019-9-9 11:51
确认用的是/SA/OPM/logic/action/queryOPPersonAction?

我刚看了一下,平台默认的这个路径下并没有这个action,我最开始用的是SA_OPPerson概念默认的queryTaskNumAction这个action,然后报错效率也特别低,因为我功能上只需要查询人员信息,我就用平台快捷创建querySA_OPPersonAction这个action,但是还是报同样的错误,没有修改任何其他内容。
回复 支持 反对

使用道具 举报

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
 楼主| 发表于 2019-9-9 14:38:57 | 显示全部楼层
这是换成querySA_OPPersonAction平台标准的aciton报的错:

2019-09-09 14:37:50 excute stream action, params:{"accept":"application/json","action":"querySA_OPPersonAction","actionFlag":"__action_0__","activity":"myTask","contentType":"json","executeContext":"","executor":"","parameters":{"columns":"SA_OPPerson,sBirthday,sCardKind,sCardNO,sCity,sCode,sCountry,sDegree,sDescription,sEnglishName,sFamilyAddress,sFamilyPhone,sGraduateSchool,sHomePlace,sIDCard,sJoinDate,sLoginName,sMail,sMainOrgID,sMarriage,sMobilePhone,sMsn,sName,sNumb,sOfficePhone,sPassword,sPasswordModifyTime,sPasswordTimeLimit,sPhoto,sPhotoLastModified,sPoliticalStatus,sPositionLevel,sProvince,sQQ,sSafeLevelID,sSchoolLength,sSequence,sSex,sSpeciality,sTitle,sValidState,sZip,version","limit":-1,"offset":0,"variables":{}},"process":"/DrcProjManagement/signInManagement/process/taskQuery/taskQueryProcess","translateParameter":{"cellnameByRelation":false,"dataType":"row-list","includeState":true,"rowsConfig":{"concept":"SA_OPPerson","sequence":"SA_OPPerson,sBirthday,sCardKind,sCardNO,sCity,sCode,sCountry,sDegree,sDescription,sEnglishName,sFamilyAddress,sFamilyPhone,sGraduateSchool,sHomePlace,sIDCard,sJoinDate,sLoginName,sMail,sMainOrgID,sMarriage,sMobilePhone,sMsn,sName,sNumb,sOfficePhone,sPassword,sPasswordModifyTime,sPasswordTimeLimit,sPhoto,sPhotoLastModified,sPoliticalStatus,sPositionLevel,sProvince,sQQ,sSafeLevelID,sSchoolLength,sSequence,sSex,sSpeciality,sTitle,sValidState,sZip,version"},"transformIdcolumn":true,"useNamespace":true}}
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: com.justep.exception.BusinessException: 编码: JUSTEP150210; 提示: 执行KSQL出错, KSQL: SELECT SA_OPPerson.*  FROM SA_OPPerson SA_OPPerson LIMIT 0, -1
--> sql: SELECT  SA_OPPerson.sID AS SA_OPPerson, SA_OPPerson.SBIRTHDAY AS sBirthday, SA_OPPerson.SCARDKIND AS sCardKind, SA_OPPerson.SCARDNO AS sCardNO, SA_OPPerson.SCITY AS sCity, SA_OPPerson.SCODE AS sCode, SA_OPPerson.SCOUNTRY AS sCountry, SA_OPPerson.SDEGREE AS sDegree, SA_OPPerson.SDESCRIPTION AS sDescription, SA_OPPerson.SENGLISHNAME AS sEnglishName, SA_OPPerson.SFAMILYADDRESS AS sFamilyAddress, SA_OPPerson.SFAMILYPHONE AS sFamilyPhone, SA_OPPerson.SGRADUATESCHOOL AS sGraduateSchool, SA_OPPerson.SHOMEPLACE AS sHomePlace, SA_OPPerson.SIDCARD AS sIDCard, SA_OPPerson.SJOINDATE AS sJoinDate, SA_OPPerson.SLOGINNAME AS sLoginName, SA_OPPerson.SMAIL AS sMail, SA_OPPerson.SMAINORGID AS sMainOrgID, SA_OPPerson.SMARRIAGE AS sMarriage, SA_OPPerson.SMOBILEPHONE AS sMobilePhone, SA_OPPerson.SMSN AS sMsn, SA_OPPerson.SNAME AS sName, SA_OPPerson.SNUMB AS sNumb, SA_OPPerson.SOFFICEPHONE AS sOfficePhone, SA_OPPerson.SPASSWORD AS sPassword, SA_OPPerson.SPASSWORDMODIFYTIME AS sPasswordModifyTime, SA_OPPerson.SPASSWORDTIMELIMIT AS sPasswordTimeLimit, SA_OPPerson.SPHOTO AS sPhoto, SA_OPPerson.SPHOTOLASTMODIFIED AS sPhotoLastModified, SA_OPPerson.SPOLITICALSTATUS AS sPoliticalStatus, SA_OPPerson.SPOSITIONLEVEL AS sPositionLevel, SA_OPPerson.SPROVINCE AS sProvince, SA_OPPerson.SQQ AS sQQ, SA_OPPerson.SSAFELEVELID AS sSafeLevelID, SA_OPPerson.SSCHOOLLENGTH AS sSchoolLength, SA_OPPerson.SSEQUENCE AS sSequence, SA_OPPerson.SSEX AS sSex, SA_OPPerson.SSPECIALITY AS sSpeciality, SA_OPPerson.STITLE AS sTitle, SA_OPPerson.SVALIDSTATE AS sValidState, SA_OPPerson.SZIP AS sZip, SA_OPPerson.VERSION AS version FROM SA_OPPerson SA_OPPerson
--> binds: []
        at com.justep.exception.BusinessException.create(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlSelect(Unknown Source)
        at com.justep.system.data.BizData.query(Unknown Source)
        at BizProcedure.query(BizProcedure.java:12)
        ... 27 more
Caused by: java.lang.IllegalArgumentException
        at java.sql.Date.valueOf(Date.java:143)
        at oracle.jdbc.driver.CharCommonAccessor.getDate(CharCommonAccessor.java:410)
        at oracle.jdbc.driver.OracleResultSetImpl.getDate(OracleResultSetImpl.java:737)
        at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getDate(DelegatingResultSet.java:244)
        at org.apache.tomcat.dbcp.dbcp.DelegatingResultSet.getDate(DelegatingResultSet.java:244)
        at com.justep.system.data.impl.TableUtilsImplement.fillRow(Unknown Source)
        ... 32 more
回复 支持 反对

使用道具 举报

91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36069
发表于 2019-9-9 15:16:57 | 显示全部楼层
平台默认就没有这个action


平台默认的组织管理功能中人员报错吗?

远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

111

主题

293

帖子

879

积分

高级会员

Rank: 4

积分
879
QQ
 楼主| 发表于 2019-9-9 15:36:16 | 显示全部楼层
jishuang 发表于 2019-9-9 15:16
平台默认就没有这个action

组织管理是不报错,但是我直接用平台快捷建的querySA_OPPersonAction用来加载人员信息也不该报错啊!
你说平台默认没有queryTaskNumAction这个Action么?这个在3.7的空环境的人员概念下都有的。我刚核实的。
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-29 11:54 , Processed in 0.123973 second(s), 24 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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