dep新建单据报错
金蝶云社区-云社区用户ukb51234
云社区用户ukb51234
0人赞赏了该文章 2,749次浏览 未经作者许可,禁止转载编辑于2015年08月21日 15:09:20

在dep中,新建一个单据方案(从模板复制),然后发布菜单,然后进入菜单,点击新增,在界面点击‘新增分录’按钮,然后保存,系统不会报错,如图:

但是如果点击‘插入分录’按钮,然后保存,系统会报错并且阻止保存


错误日志:错误信息:Server Component wrap a Throwable. Exception Type is [javax.ejb.TransactionRolledbackLocalException]Caused exception message is: Unexpected system failure, see server log for details.; nested exception is: java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean. [Client -- String Serialize]错误详细堆栈信息:com.kingdee.bos.BOSException: Server Component wrap a Throwable. Exception Type is [javax.ejb.TransactionRolledbackLocalException]Caused exception message is: Unexpected system failure, see server log for details.; nested exception is: java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean. [Client -- String Serialize] at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:246) at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324) at $Proxy270.save(Unknown Source) at com.kingdee.eas.framework.CoreBase.save(CoreBase.java:315) 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 com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194) at $Proxy272.save(Unknown Source) at com.kingdee.eas.base.btp.app.BTPManagerControllerBean.innerSaveModelAndRelations(BTPManagerControllerBean.java:848) at com.kingdee.eas.base.btp.app.BTPManagerControllerBean._saveRelations(BTPManagerControllerBean.java:795) at com.kingdee.eas.base.btp.app.AbstractBTPManagerControllerBean.saveRelations(AbstractBTPManagerControllerBean.java:598) 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 com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116) at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57) at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source) at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171) at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324) at $Proxy244.saveRelations(Unknown Source) at com.kingdee.eas.base.btp.BTPManager.saveRelations(BTPManager.java:424) at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_btp_1_IBTPManager.pi62(Unknown Source) at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_btp_1_IBTPManager.processInvoke(Unknown Source) at com.kingdee.bos.rpc.impl.ObjectProxy.processInvoke(ObjectProxy.java:177) at com.kingdee.bos.rpc.impl.RPCService.serviceInvoke(RPCService.java:780) at com.kingdee.bos.rpc.impl.RPCService.service(RPCService.java:139) at com.kingdee.bos.rpc.impl.ServiceDispatcher.run(ServiceDispatcher.java:153) at com.kingdee.bos.rpc.impl.ThreadJob.run(ThreadJob.java:27) at com.kingdee.bos.rpc.impl.ThreadPool2$Worker.run(ThreadPool2.java:140)Caused By: javax.ejb.TransactionRolledbackLocalExceptionjavax.ejb.TransactionRolledbackLocalException: Unexpected system failure, see server log for details.; nested exception is: java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean.java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean. at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:152) at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57) at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source) at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171) at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324) at $Proxy270.save(Unknown Source) at com.kingdee.eas.framework.CoreBase.save(CoreBase.java:315) 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 com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194) at $Proxy272.save(Unknown Source) at com.kingdee.eas.base.btp.app.BTPManagerControllerBean.innerSaveModelAndRelations(BTPManagerControllerBean.java:848) at com.kingdee.eas.base.btp.app.BTPManagerControllerBean._saveRelations(BTPManagerControllerBean.java:795) at com.kingdee.eas.base.btp.app.AbstractBTPManagerControllerBean.saveRelations(AbstractBTPManagerControllerBean.java:598) 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 com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116) at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57) at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source) at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171) at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324) at $Proxy244.saveRelations(Unknown Source) at com.kingdee.eas.base.btp.BTPManager.saveRelations(BTPManager.java:424) at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_btp_1_IBTPManager.pi62(Unknown Source) at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_btp_1_IBTPManager.processInvoke(Unknown Source) at com.kingdee.bos.rpc.impl.ObjectProxy.processInvoke(ObjectProxy.java:177) at com.kingdee.bos.rpc.impl.RPCService.serviceInvoke(RPCService.java:780) at com.kingdee.bos.rpc.impl.RPCService.service(RPCService.java:139) at com.kingdee.bos.rpc.impl.ServiceDispatcher.run(ServiceDispatcher.java:153) at com.kingdee.bos.rpc.impl.ThreadJob.run(ThreadJob.java:27) at com.kingdee.bos.rpc.impl.ThreadPool2$Worker.run(ThreadPool2.java:140)Caused by: com.kingdee.util.UuidException: Invalid BOSObjectType. at com.kingdee.bos.util.BOSUuid.(BOSUuid.java:101) at com.kingdee.bos.util.BOSUuid.create(BOSUuid.java:70) at com.kingdee.bos.dao.ormapping.impl.batch.Builder4ObjectCreator$SetUuid.newUuid(Builder4ObjectCreator.java:441) at com.kingdee.bos.dao.ormapping.impl.batch.Builder4ObjectCreator$SetUuid.process(Builder4ObjectCreator.java:410) at com.kingdee.bos.dao.ormapping.impl.batch.BatchAccessQueue.execute(BatchAccessQueue.java:41) at com.kingdee.bos.dao.ormapping.impl.batch.BatchAccessProxy.execute(BatchAccessProxy.java:48) at com.kingdee.bos.dao.ormapping.impl.batch.CompositeBatchAccess4Updater.addExecutors(CompositeBatchAccess4Updater.java:84) at com.kingdee.bos.dao.ormapping.impl.batch.CompositeBatchAccess4Updater.execute(CompositeBatchAccess4Updater.java:50) at com.kingdee.bos.dao.ormapping.impl.batch.BatchAccessQueue.execute(BatchAccessQueue.java:47) at com.kingdee.bos.dao.ormapping.impl.batch.BatchExecutor.execute(BatchExecutor.java:20) at com.kingdee.bos.dao.ormapping.impl.batch.ObjectUpdater2.update(ObjectUpdater2.java:56) at com.kingdee.bos.dao.ormapping.impl.batch.ObjectUpdater2.update(ObjectUpdater2.java:69) at com.kingdee.bos.dao.ormapping.ORMappingDAO.update(ORMappingDAO.java:1132) at com.kingdee.bos.framework.ejb.AbstractEntityControllerBean.innerUpdate(AbstractEntityControllerBean.java:377) at com.kingdee.eas.framework.app.AbstractCoreBaseControllerBean._update(AbstractCoreBaseControllerBean.java:194) at com.kingdee.eas.framework.app.CoreBaseControllerBean._update(CoreBaseControllerBean.java:107) at com.kingdee.eas.framework.app.ObjectBaseControllerBean._update(ObjectBaseControllerBean.java:163) at com.kingdee.eas.framework.app.AbstractCoreBaseControllerBean.update(AbstractCoreBaseControllerBean.java:179) at com.kingdee.eas.framework.app.CoreBaseControllerBean._save(CoreBaseControllerBean.java:231) at com.kingdee.eas.framework.app.CoreBillBaseControllerBean._save(CoreBillBaseControllerBean.java:110) at com.kingdee.eas.framework.app.AbstractCoreBaseControllerBean.save(AbstractCoreBaseControllerBean.java:499) 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 com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116) ... 34 morejavax.ejb.TransactionRolledbackLocalException: Unexpected system failure, see server log for details.; nested exception is: java.lang.reflect.UndeclaredThrowableException: TxEJB wrap a Not_BaseException while Reflect Invoke ControllerBean. at com.apusic.ejb.container.Container.postInvokeTx(Unknown Source) at com.apusic.ejb.container.Component.postInvoke(Unknown Source) at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source) at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171) at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324) at $Proxy270.save(Unknown Source) at com.kingdee.eas.framework.CoreBase.save(CoreBase.java:315) 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 com.kingdee.bos.ResponseInvocationHandler.invoke(ResponseInvocationHandler.java:194) at $Proxy272.save(Unknown Source) at com.kingdee.eas.base.btp.app.BTPManagerControllerBean.innerSaveModelAndRelations(BTPManagerControllerBean.java:848) at com.kingdee.eas.base.btp.app.BTPManagerControllerBean._saveRelations(BTPManagerControllerBean.java:795) at com.kingdee.eas.base.btp.app.AbstractBTPManagerControllerBean.saveRelations(AbstractBTPManagerControllerBean.java:598) 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 com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.invoke(TxInvokerBean.java:116) at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean.INVOKE_REQUIRED(TxInvokerBean.java:57) at com.kingdee.bos.transaction.EJBTxFacade.TxInvokerBean_LocalObjectImpl_2.INVOKE_REQUIRED(Unknown Source) at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:171) at com.kingdee.bos.transaction.EJBTransactionProxy.invoke(EJBTransactionProxy.java:324) at $Proxy244.saveRelations(Unknown Source) at com.kingdee.eas.base.btp.BTPManager.saveRelations(BTPManager.java:424) at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_btp_1_IBTPManager.pi62(Unknown Source) at rpc_generate._PROXY_com_1_kingdee_1_eas_1_base_1_btp_1_IBTPManager.processInvoke(Unknown Source) at com.kingdee.bos.rpc.impl.ObjectProxy.processInvoke(ObjectProxy.java:177) at com.kingdee.bos.rpc.impl.RPCService.serviceInvoke(RPCService.java:780) at com.kingdee.bos.rpc.impl.RPCService.service(RPCService.java:139) at com.kingdee.bos.rpc.impl.ServiceDispatcher.run(ServiceDispatcher.java:153) at com.kingdee.bos.rpc.impl.ThreadJob.run(ThreadJob.java:27) at com.kingdee.bos.rpc.impl.ThreadPool2$Worker.run(ThreadPool2.java:140) [Client -- String Serialize]

1.jpg(212.28KB)

2.jpg(336.41KB)