找回密码
 注册账号

QQ登录

只需一步,快速开始

手机号码,快捷登录

手机号码,快捷登录

初学者课程:T3自学|T6自学|U8自学软件下载课件下载工具下载资料:通资料|U8资料|NC|培训|年结积分规则 | 使用常见问题Q&A
知识库:U8 | | NC | U9 | OA | 政务U8|U9|NCC|NC65|NC65客开|NCC客开新手必读 | 任务 | 快速增金币用友QQ群[微信群]
查看: 5476|回复: 6

[求助] NC57在做单据审批时提示缺失表达式

[复制链接]
发表于 2014-4-22 17:41:57 | 显示全部楼层 |阅读模式

马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。

您需要 登录 才可以下载或查看,没有账号?注册账号

×
1.       单据名称: 目标成本测算
2.       错误发生动作:单据审批时
3.       此错误只发生在当前数据中,新增数据不会发生错误。
4.       错误截图: clip_image002(04(04-22-17-37-22).jpg


                               
登录/注册后可看大图
错误日志:
[AWT-EventQueue-2] ERROR - ORA-00936: 缺失表达式
nc.vo.pub.BusinessException: ORA-00936: 缺失表达式
at nc.impl.jzpm.pub.JZPMPubBusiImpl.queryByClause(JZPMPubBusiImpl.java:77)
at nc.gejb.jzpm.cmt.Jzpm_bdEjbBean.queryByClause(Jzpm_bdEjbBean.java:170)
at nc.gejb.jzpm.cmt.EJSLocalStatelessnc_gejb_jzpm_cmt_Jzpm_bd_efba0f69.queryByClause(Unknown Source)
at sun.reflect.GeneratedMethodAccessor473.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:56)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:34)
at $Proxy50.queryByClause(Unknown Source)
at nc.bs.jzpm.bm4005.CalcBillApprove.getPK_zeroFromDB(CalcBillApprove.java:98)
at nc.bs.jzpm.bm4005.CalcBillApprove.approveWrite(CalcBillApprove.java:87)
at nc.bs.jzpm.bm4005.CalcBillApprove.afterApprove(CalcBillApprove.java:55)
at nc.bs.jzpm.comstatus.HYBillApprove.approveBill(HYBillApprove.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.pub.pf.PfUtilTools.runClass(PfUtilTools.java:1282)
at nc.bs.pub.compiler.AbstractCompiler.runClass(AbstractCompiler.java:417)
at nc.bs.pub.action.N_9955_APPROVE.runComClass(N_9955_APPROVE.java:42)
at nc.bs.pub.pf.pfframe.PFRunClass.runComBusi(PFRunClass.java:119)
at nc.bs.pub.pf.pfframe.PFBusiAction.actionOnStep(PFBusiAction.java:255)
at nc.bs.pub.pf.pfframe.PFBusiAction.processAction(PFBusiAction.java:678)
at nc.itf.uap.pf.PlatformEJBEjbBean.processAction(PlatformEJBEjbBean.java:545)
at nc.itf.uap.pf.EJSLocalStatelessnc_itf_uap_pf_PlatformEJB_7d0a933a.processAction(Unknown Source)
at sun.reflect.GeneratedMethodAccessor476.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:56)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:34)
at $Proxy48.processAction(Unknown Source)
at nc.bs.pub.pf.pfframe.PlatFormEntryImpl.processAction(PlatFormEntryImpl.java:74)
at sun.reflect.GeneratedMethodAccessor6023.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.framework.comn.serv.ServiceDispatcher.invokeBeanMethod(ServiceDispatcher.java:351)
at nc.bs.framework.comn.serv.ServiceDispatcher.execCall(ServiceDispatcher.java:160)
at nc.bs.framework.comn.serv.CommonServletDispatcher.doGet(CommonServletDispatcher.java:75)
at nc.bs.framework.comn.serv.CommonServletDispatcher.doPost(CommonServletDispatcher.java:95)

[AWT-EventQueue-2] ERROR - 未知错误
java.lang.RuntimeException: nc.vo.pub.BusinessException: ORA-00936: 缺失表达式
at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:160)
at nc.ui.uif2.NCActionGroup.doAction(NCActionGroup.java:24)
at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:145)
at nc.ui.uif2.actions.DefaultToftPanelActionContainer.onButtonClicked(DefaultToftPanelActionContainer.java:123)
at nc.ui.jz.pub.uifii.editor.JzBillCardView.onButtonClicked(JzBillCardView.java:589)
at nc.ui.uif2.ToftPanelAdaptor.onButtonClicked(ToftPanelAdaptor.java:195)
at nc.ui.pub.ToftPanel.handleButtonEvent(ToftPanel.java:203)
at nc.ui.pub.FramePanel.dispatchButtonEvent(FramePanel.java:369)
at nc.ui.pub.FramePanel.access$2(FramePanel.java:359)
at nc.ui.pub.FramePanel$ButtonHandler.buttonClicked(FramePanel.java:236)
at nc.ui.pub.ButtonBar.firePostEvent(ButtonBar.java:358)
at nc.ui.pub.ButtonBar$1.run(ButtonBar.java:223)
at java.awt.event.InvocationEvent.dispatch(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
Caused by: nc.vo.pub.BusinessException: ORA-00936: 缺失表达式
at nc.impl.jzpm.pub.JZPMPubBusiImpl.queryByClause(JZPMPubBusiImpl.java:77)
at nc.gejb.jzpm.cmt.Jzpm_bdEjbBean.queryByClause(Jzpm_bdEjbBean.java:170)
at nc.gejb.jzpm.cmt.EJSLocalStatelessnc_gejb_jzpm_cmt_Jzpm_bd_efba0f69.queryByClause(Unknown Source)
at sun.reflect.GeneratedMethodAccessor473.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:56)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:34)
at $Proxy50.queryByClause(Unknown Source)
at nc.bs.jzpm.bm4005.CalcBillApprove.getPK_zeroFromDB(CalcBillApprove.java:98)
at nc.bs.jzpm.bm4005.CalcBillApprove.approveWrite(CalcBillApprove.java:87)
at nc.bs.jzpm.bm4005.CalcBillApprove.afterApprove(CalcBillApprove.java:55)
at nc.bs.jzpm.comstatus.HYBillApprove.approveBill(HYBillApprove.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.pub.pf.PfUtilTools.runClass(PfUtilTools.java:1282)
at nc.bs.pub.compiler.AbstractCompiler.runClass(AbstractCompiler.java:417)
at nc.bs.pub.action.N_9955_APPROVE.runComClass(N_9955_APPROVE.java:42)
at nc.bs.pub.pf.pfframe.PFRunClass.runComBusi(PFRunClass.java:119)
at nc.bs.pub.pf.pfframe.PFBusiAction.actionOnStep(PFBusiAction.java:255)
at nc.bs.pub.pf.pfframe.PFBusiAction.processAction(PFBusiAction.java:678)
at nc.itf.uap.pf.PlatformEJBEjbBean.processAction(PlatformEJBEjbBean.java:545)
at nc.itf.uap.pf.EJSLocalStatelessnc_itf_uap_pf_PlatformEJB_7d0a933a.processAction(Unknown Source)
at sun.reflect.GeneratedMethodAccessor476.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:56)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:34)
at $Proxy48.processAction(Unknown Source)
at nc.bs.pub.pf.pfframe.PlatFormEntryImpl.processAction(PlatFormEntryImpl.java:74)
at sun.reflect.GeneratedMethodAccessor6023.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.framework.comn.serv.ServiceDispatcher.invokeBeanMethod(ServiceDispatcher.java:351)
at nc.bs.framework.comn.serv.ServiceDispatcher.execCall(ServiceDispatcher.java:160)
at nc.bs.framework.comn.serv.CommonServletDispatcher.doGet(CommonServletDispatcher.java:75)
at nc.bs.framework.comn.serv.CommonServletDispatcher.doPost(CommonServletDispatcher.java:95)

[AWT-EventQueue-2] ERROR - ORA-00936: 缺失表达式
nc.vo.pub.BusinessException: ORA-00936: 缺失表达式
at nc.impl.jzpm.pub.JZPMPubBusiImpl.queryByClause(JZPMPubBusiImpl.java:77)
at nc.gejb.jzpm.cmt.Jzpm_bdEjbBean.queryByClause(Jzpm_bdEjbBean.java:170)
at nc.gejb.jzpm.cmt.EJSLocalStatelessnc_gejb_jzpm_cmt_Jzpm_bd_efba0f69.queryByClause(Unknown Source)
at sun.reflect.GeneratedMethodAccessor473.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:56)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:34)
at $Proxy50.queryByClause(Unknown Source)
at nc.bs.jzpm.bm4005.CalcBillApprove.getPK_zeroFromDB(CalcBillApprove.java:98)
at nc.bs.jzpm.bm4005.CalcBillApprove.approveWrite(CalcBillApprove.java:87)
at nc.bs.jzpm.bm4005.CalcBillApprove.afterApprove(CalcBillApprove.java:55)
at nc.bs.jzpm.comstatus.HYBillApprove.approveBill(HYBillApprove.java:32)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:79)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.pub.pf.PfUtilTools.runClass(PfUtilTools.java:1282)
at nc.bs.pub.compiler.AbstractCompiler.runClass(AbstractCompiler.java:417)
at nc.bs.pub.action.N_9955_APPROVE.runComClass(N_9955_APPROVE.java:42)
at nc.bs.pub.pf.pfframe.PFRunClass.runComBusi(PFRunClass.java:119)
at nc.bs.pub.pf.pfframe.PFBusiAction.actionOnStep(PFBusiAction.java:255)
at nc.bs.pub.pf.pfframe.PFBusiAction.processAction(PFBusiAction.java:678)
at nc.itf.uap.pf.PlatformEJBEjbBean.processAction(PlatformEJBEjbBean.java:545)
at nc.itf.uap.pf.EJSLocalStatelessnc_itf_uap_pf_PlatformEJB_7d0a933a.processAction(Unknown Source)
at sun.reflect.GeneratedMethodAccessor476.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:56)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:34)
at $Proxy48.processAction(Unknown Source)
at nc.bs.pub.pf.pfframe.PlatFormEntryImpl.processAction(PlatFormEntryImpl.java:74)
at sun.reflect.GeneratedMethodAccessor6023.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
at java.lang.reflect.Method.invoke(Method.java:618)
at nc.bs.framework.comn.serv.ServiceDispatcher.invokeBeanMethod(ServiceDispatcher.java:351)
at nc.bs.framework.comn.serv.ServiceDispatcher.execCall(ServiceDispatcher.java:160)
at nc.bs.framework.comn.serv.CommonServletDispatcher.doGet(CommonServletDispatcher.java:75)
at nc.bs.framework.comn.serv.CommonServletDispatcher.doPost(CommonServletDispatcher.java:95)

#begin dump black list classes
images/maindesktop/bar_H0.png
META-INF/spring.handlers
images/maindesktop/bar_H7.png
log4j.xml
META-INF/services/com.sun.org.apache.xml.internal.dtm.DTMManager
images/maindesktop/bar_H5.png
org/hsqldb/resources/sql-error-messages_zh_CN.properties
org/hsqldb/resources/sql-error-messages_zh.properties
images/maindesktop/iconbg.gif
META-INF/services/org.apache.xerces.xni.parser.XMLParserConfiguration
commons-logging.properties
edu.emory.mathcs.backport.java.util.concurrent.ConcurrentHashMap
nc.ui.jg.pub.login.DefaultProjAction
META-INF/services/org.apache.commons.logging.LogFactory
#end dump black list calsses



 楼主| 发表于 2014-4-22 23:01:20 | 显示全部楼层
回复 点赞 拍砖

使用道具 举报

 楼主| 发表于 2014-4-23 16:08:31 | 显示全部楼层
回复 点赞 拍砖

使用道具 举报

  • 打卡等级:无名新人
  • 打卡总天数:5
  • 打卡月天数:3
  • 打卡总奖励:20
  • 最近打卡:2024-11-13 21:14:02
发表于 2014-4-23 16:19:29 | 显示全部楼层
不太清楚
单据模板有没改过?
或是产品BUG
回复 点赞 拍砖

使用道具 举报

 楼主| 发表于 2014-4-25 14:21:30 | 显示全部楼层
已经解决了。 你看下问题的截图,单据状态为提交态,不应该有审批人和审批时间。然后版本号那里也有问题。
回复 点赞 拍砖

使用道具 举报

发表于 2015-12-1 15:55:18 | 显示全部楼层
桌面解决的啊?我也碰到了,求帮助
回复 点赞 拍砖

使用道具 举报

发表于 2015-12-1 15:56:05 | 显示全部楼层
回复 点赞 拍砖

使用道具 举报

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

本版积分规则

QQ|站长微信|Archiver|手机版|小黑屋|用友之家 ( 蜀ICP备07505338号|51072502110008 )

GMT+8, 2024-11-19 06:24 , Processed in 0.065383 second(s), 14 queries , Gzip On, Redis On.

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

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