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

QQ登录

只需一步,快速开始

查看: 6422|回复: 2

[结贴] 任务回收报错

[复制链接]

59

主题

182

帖子

757

积分

高级会员

Rank: 4

积分
757
QQ
发表于 2021-11-25 14:40:09 | 显示全部楼层 |阅读模式
版本: BeX5V3.5 小版本号:
数据库: Oracle 服务器操作系统: Windows 应用服务器: Tomcat
客户端操作系统: Windows 7 浏览器: Chrome





2021-11-25 14:37:12 excute stream action, params:{"accept":"application/json","action":"withdrawTaskAction","actionFlag":"__action_0__","activity":"businessActivity2","contentType":"application/json","executeContext":"","executor":"/E93A43058AD540C191CEDC9B6C79E940.ogn/F8AE74E601E0445F9159A59596A57CE1.ogn/pUNrU3mweasCsidNkCU@F8AE74E601E0445F9159A59596A57CE1.psm","parameters":{"task":"7094971212AD418DB77E90E55FFC1F79"},"process":"/subSRM/Settlement/process/createFinalStatementProcess/createFinalStatementProcess"}
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: UPDATE  a         SET a.fState = 'esRecycled', a.fStateName = '已回收'         WHERE a.fMasterID = '826E3280636044F49C2E2C94D8D6AF03' and a.fTaskID = '7094971212AD418DB77E90E55FFC1F79'
        at com.justep.exception.BusinessException.create(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlUpdate(Unknown Source)
        at com.justep.system.data.impl.TableUtilsImplement.ksqlExecuteUpdate(Unknown Source)
        at com.justep.system.data.KSQL.executeUpdate(Unknown Source)
        at com.justep.system.data.KSQL.executeUpdate(Unknown Source)
        at com.justep.system.data.KSQL.executeUpdate(Unknown Source)
        at com.justep.appCommon.ProcessExecute.recycleExecute(ProcessExecute.java:178)
        at com.justep.appCommon.ProcessExecute.doAfterWithdrawTask(ProcessExecute.java:324)
        at com.justep.appCommon.ProcessExecute._doAfterProcessAction(ProcessExecute.java:216)
        at com.justep.appCommon.ProcessExecute.doAfterProcessAction(ProcessExecute.java:196)
        ... 27 more
Caused by: com.justep.exception.KSQLException: 编码: JUSTEP154115; 提示: KSQL语法错误, UPDATE  a         ^^SET a.fState = 中未找到需要的元素, 位置11期望是<Identifier>
        at com.justep.exception.KSQLException.create(Unknown Source)
        at com.justep.system.ksql.token.TokenManager.matchToken(Unknown Source)
        at com.justep.system.ksql.token.TokenManager.match(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.modifyConceptNode(Unknown Source)
        at com.justep.system.ksql.parser.UpdateParser.start(Unknown Source)
        at com.justep.system.ksql.parser.AbstractParser.parse(Unknown Source)
        ... 36 more


91

主题

13万

帖子

3万

积分

管理员

Rank: 9Rank: 9Rank: 9

积分
36071
发表于 2021-11-25 15:40:09 | 显示全部楼层
    at com.justep.appCommon.ProcessExecute.recycleExecute(ProcessExecute.java:178)
        at com.justep.appCommon.ProcessExecute.doAfterWithdrawTask(ProcessExecute.java:324)
        at com.justep.appCommon.ProcessExecute._doAfterProcessAction(ProcessExecute.java:216)
        at com.justep.appCommon.ProcessExecute.doAfterProcessAction(ProcessExecute.java:196)

只是自己的应用写的,确代码中的ksql语句是否正确,概念名没有?

UPDATE  a         SET a.fState = 'esRecycled', a.fStateName = '已回收'         WHERE a.fMasterID = '826E3280636044F49C2E2C94D8D6AF03' and a.fTaskID = '7094971212AD418DB77E90E55FFC1F79'
远程的联系方法QQ1392416607,添加好友时,需在备注里注明其论坛名字及ID,公司等信息
发远程时同时也发一下帖子地址,方便了解要解决的问题  WeX5教程  WeX5下载



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

使用道具 举报

59

主题

182

帖子

757

积分

高级会员

Rank: 4

积分
757
QQ
 楼主| 发表于 2021-12-7 08:15:55 | 显示全部楼层
jishuang 发表于 2021-11-25 15:40
at com.justep.appCommon.ProcessExecute.recycleExecute(ProcessExecute.java:178)
        at com.ju ...

可以结贴
回复 支持 反对

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-12-4 01:28 , Processed in 0.121350 second(s), 25 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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