|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有账号?注册账号
×
为什么 我点审核 就出这个错误?
流程平台:单据类型ZTC1注册的业务类名称为空
后台源码
[AWT-EventQueue-0] ERROR - 流程平台:单据类型ZTC1注册的业务类名称为空
nc.vo.uap.pf.PFBusinessException: 流程平台:单据类型ZTC1注册的业务类名称为空
at nc.bs.pub.pf.PfUtilTools.findBizImplOfBilltype(PfUtilTools.java:170)
at nc.bs.pub.pf.PfUtilTools.getBizRuleImpl(PfUtilTools.java:156)
at nc.bs.pub.pf.busistate.PFBusiState.changeDbStatusWhenApprove(PFBusiState.java:83)
at nc.bs.pub.pf.busistate.AbstractBusiStateCallback.execApprovePass(AbstractBusiStateCallback.java:111)
at nc.bs.pub.pf.busistate.AbstractBusiStateCallback.execApproveState(AbstractBusiStateCallback.java:128)
at nc.bs.pub.compiler.AbstractCompiler.execApprovePass(AbstractCompiler.java:73)
at nc.bs.pub.compiler.AbstractCompiler.procActionFlow(AbstractCompiler.java:152)
at nc.bs.pub.action.N_ZTC1_APPROVE.runComClass(N_ZTC1_APPROVE.java:37)
at nc.bs.pub.pf.pfframe.PFRunClass.runComBusi(PFRunClass.java:119)
at nc.bs.pub.pf.pfframe.PFBusiAction.actionOnStep(PFBusiAction.java:238)
at nc.bs.pub.pf.pfframe.PFBusiAction.processAction(PFBusiAction.java:610)
at sun.reflect.GeneratedMethodAccessor357.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at nc.bs.framework.ejb.CMTProxyImpl.delegate(CMTProxyImpl.java:22)
at nc.itf.framework.ejb.CMTProxyEjbBean.delegate(CMTProxyEjbBean.java:44)
at nc.itf.framework.ejb.CMTProxy_Local.delegate(CMTProxy_Local.java:61)
at sun.reflect.GeneratedMethodAccessor86.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:56)
at nc.bs.framework.ejb.AbstractEJBServiceHandler.invoke(AbstractEJBServiceHandler.java:34)
at $Proxy11.delegate(Unknown Source)
at nc.bs.framework.ejb.CMTEJBServiceHandler.invoke(CMTEJBServiceHandler.java:32)
at $Proxy24.processAction(Unknown Source)
at nc.bs.pub.pf.pfframe.PlatFormEntryImpl.processAction(PlatFormEntryImpl.java:68)
at sun.reflect.GeneratedMethodAccessor356.invoke(Unknown Source)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(Unknown Source)
at java.lang.reflect.Method.invoke(Unknown Source)
at nc.bs.framework.comn.serv.ServiceDispatcher.invokeBeanMethod(ServiceDispatcher.java:307)
at nc.bs.framework.comn.serv.ServiceDispatcher.execCall(ServiceDispatcher.java:134)
at nc.bs.framework.comn.serv.CommonServletDispatcher.doGet(CommonServletDispatcher.java:76)
at nc.bs.framework.comn.serv.CommonServletDispatcher.doPost(CommonServletDispatcher.java:95)
————————————————————
at nc.bs.pub.action.N_ZTC1_APPROVE.runComClass(N_ZTC1_APPROVE.java:37)
这列是
Object m_sysflowObj= procActionFlow(vo);
这个class是
package nc.bs.pub.action;
import nc.vo.pub.pf.PfUtilActionVO;
import nc.bs.pub.compiler.*;
import nc.vo.pub.compiler.PfParameterVO;
import java.math.*;
import java.util.*;
import nc.vo.pub.lang.*;
import nc.bs.pub.pf.PfUtilTools;
import nc.vo.pub.AggregatedValueObject;
import nc.vo.pub.BusinessException;
import nc.vo.uap.pf.PFBusinessException;
/**
* 备注:ActionVo.getBillTypeName()的审批
的动态执行类。
*
* 创建日期:(2010-5-25)
* @author 平台脚本生成
*/
public class N_ZTC1_APPROVE extends AbstractCompiler2 {
private java.util.Hashtable m_methodReturnHas=new java.util.Hashtable();
private Hashtable m_keyHas=null;
/**
* N_ZTC1_APPROVE 构造子注解。
*/
public N_ZTC1_APPROVE() {
super();
}
/*
* 备注:平台编写规则类
* 接口执行类
*/
public Object runComClass(PfParameterVO vo) throws BusinessException {
try{
super.m_tmpVo=vo;
//####该组件为单动作工作流处理开始...不能进行修改####
Object m_sysflowObj= procActionFlow(vo);
if (m_sysflowObj!=null){
return m_sysflowObj;
}
//####该组件为单动作工作流处理结束...不能进行修改####
Object retObj =runClass( "nc.bs.trade.comstatus.BillApprove", "approveBill", "nc.vo.pub.AggregatedValueObject:01",vo,m_keyHas,m_methodReturnHas);
return retObj;
} catch (Exception ex) {
if (ex instanceof BusinessException)
throw (BusinessException) ex;
else
throw new PFBusinessException(ex.getMessage(), ex);
}
}
/*
* 备注:平台编写原始脚本
*/
public String getCodeRemark(){
return " //####该组件为单动作工作流处理开始...不能进行修改####\n procActionFlow@@;\n //####该组件为单动作工作流处理结束...不能进行修改####\n Object retObj =runClassCom@ \"nc.bs.trade.comstatus.BillApprove\", \"approveBill\", \"nc.vo.pub.AggregatedValueObject:01\"@; \n return retObj;\n";}
/*
* 备注:设置脚本变量的HAS
*/
private void setParameter(String key,Object val) {
if (m_keyHas==null){
m_keyHas=new Hashtable();
}
if (val!=null) {
m_keyHas.put(key,val);
}
}
} |
|