在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.
推荐阅读