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

QQ登录

只需一步,快速开始

查看: 2655|回复: 4

[结贴] 新闻发布流转结束时报错

[复制链接]

17

主题

38

帖子

126

积分

初级会员

Rank: 2

积分
126
QQ
发表于 2016-10-21 10:54:51 | 显示全部楼层 |阅读模式
    使用最新的BeX5_3.6版本,导入的从3.3版本升级到3.6版本的OA系统!
在知识管理中心,发布新闻或公告!在流传到最后结束时候,会提示报错:


         报错信息 :FUNCTION justep_oa.getData does not exist.
               


后台的报错信息:
java.lang.reflect.InvocationTargetException
        at sun.reflect.GeneratedMethodAccessor164.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: 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.invokeAction(Native Method)
        at com.justep.system.action.Engine.invokeAction(Unknown Source)
        at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
        at com.justep.model.impl.UtilImplementInstance.invokeAction(Unknown Source)
        at com.justep.system.action.ActionUtils.invokeAction(Unknown Source)
        at com.justep.system.process.ProcessUtils.advanceProcess(Unknown Source)
        at ExternalProcessProcedure.advanceProcess(ExternalProcessProcedure.java:30)
        ... 26 more
Caused by: com.mysql.jdbc.exceptions.jdbc4.MySQLSyntaxErrorException: FUNCTION justep_oa.getDate does not exist
        at sun.reflect.GeneratedConstructorAccessor71.newInstance(Unknown Source)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        at java.lang.reflect.Constructor.newInstance(Constructor.java:422)
        at com.mysql.jdbc.Util.handleNewInstance(Util.java:400)
        at com.mysql.jdbc.Util.getInstance(Util.java:383)
        at com.mysql.jdbc.SQLError.createSQLException(SQLError.java:980)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3847)
        at com.mysql.jdbc.MysqlIO.checkErrorPacket(MysqlIO.java:3783)
        at com.mysql.jdbc.MysqlIO.sendCommand(MysqlIO.java:2447)
        at com.mysql.jdbc.MysqlIO.sqlQueryDirect(MysqlIO.java:2594)
        at com.mysql.jdbc.ConnectionImpl.execSQL(ConnectionImpl.java:2541)
        at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1604)
        at com.mysql.jdbc.StatementImpl.executeUpdate(StatementImpl.java:1535)
        at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
        at org.apache.tomcat.dbcp.dbcp.DelegatingStatement.executeUpdate(DelegatingStatement.java:228)
        at com.justep.system.data.Transaction$WrappedStatement.executeUpdate(Unknown Source)
        at PublishKnowledgeProcess.updateKWReleaseStatus(PublishKnowledgeProcess.java:99)
        at PublishKnowledgeProcess.publishKnowledgeProcessAfterAdvance(PublishKnowledgeProcess.java:38)
        ... 37 more


$%)X$KM151WP9QY@HOZ9UF1.png
5CO2`JB`()O13Q(UJ]`3QSK.png
257$H6ETH{7]GRB{1$L8([8.png

1

主题

76

帖子

163

积分

初级会员

Rank: 2

积分
163
QQ
发表于 2016-10-25 14:30:26 | 显示全部楼层
justep_oa.getDate这个应该是数据库的方法吧,检查下你的数据库是否随着版本一起升级了

17

主题

38

帖子

126

积分

初级会员

Rank: 2

积分
126
QQ
 楼主| 发表于 2016-10-25 15:05:08 | 显示全部楼层
这个数据库确实是和版本一起升级的!

1

主题

76

帖子

163

积分

初级会员

Rank: 2

积分
163
QQ
发表于 2016-10-25 15:20:40 | 显示全部楼层
原OA系统中的新闻和公告是不需要审批的,这个OA问题应该是后来二次开发的吧,需要针对这个审批流程去排查问题

17

主题

38

帖子

126

积分

初级会员

Rank: 2

积分
126
QQ
 楼主| 发表于 2016-10-26 12:49:29 | 显示全部楼层
好的谢谢!
点评回复

使用道具 举报

高级模式
B Color Image Link Quote Code Smilies |上传

本版积分规则

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

GMT+8, 2024-3-29 22:12 , Processed in 0.062384 second(s), 26 queries .

Powered by Discuz! X3.4

© 2001-2013 Comsenz Inc.

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