在DEP中增加了一个分录,但是在保存时报错
金蝶云社区-williamwu
williamwu
0人赞赏了该文章 1,773次浏览 未经作者许可,禁止转载编辑于2016年12月01日 12:49:14

项目开发过程中,在DEP中增加了一个分录,此分录基类是标准框架的一个实体,在DEP上增加了一些字段,然后用二次开发扩展类去实现了一部分功能,但是在保存时,提示如下。
分析原因是 DEP加的字段,在二次开发扩展类中没有被绑定,但是在storeLine函数中又用这个去赋值了,所以报找不到该属性,哪位有遇到过的,给个解决办法,或者是否有补丁处理这个问题,也请帮忙提供一下补丁号,感谢!

错误信息:No such property ClassName:class com.kingdee.eas.ep.BillEntryCustomAgent propertyName:AccountsNo
错误详细堆栈信息:java.lang.IllegalArgumentException: No such property ClassName:class com.kingdee.eas.ep.BillEntryCustomAgent propertyName:AccountsNo

at: com.kingdee.bos.appframework.databinding.BindingUtility.getPropertyAccessor(BindingUtility.java:762)

at: com.kingdee.bos.appframework.databinding.BindingUtility.setBeanProperty(BindingUtility.java:818)

at: com.kingdee.bos.appframework.databinding.BindingUtility.setValue(BindingUtility.java:95)

at: com.kingdee.bos.appframework.databinding.BindingUtility.storeLine(BindingUtility.java:539)

at: com.kingdee.bos.appframework.databinding.BindingUtility.storeTableToData(BindingUtility.java:431)

at: com.kingdee.bos.appframework.databinding.DataBinder.storeFields(DataBinder.java:159)

at: com.kingdee.eas.cp.bc.client.AbstractTravelAccountEditUI.storeFields(AbstractTravelAccountEditUI.java:1415)

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUI.storeFields(TravelAccountEditUI.java:1134)

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUIPIEx.storeFields(TravelAccountEditUIPIEx.java:1289)

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUICTEx.storeFields(TravelAccountEditUICTEx.java:540)

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUICTEx$$EnhancerByCGLIB$$7a7d7833.CGLIB$storeFields$1()

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUICTEx$$EnhancerByCGLIB$$7a7d7833$$FastClassByCGLIB$$78bb093b.invoke()

at: net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)

at: com.kingdee.eas.ep.client.ExtendMethodInterceptor.intercept(ExtendMethodInterceptor.java:88)

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUICTEx$$EnhancerByCGLIB$$7a7d7833.storeFields()

at: com.kingdee.eas.framework.client.EditUI.verify(EditUI.java:882)

at: com.kingdee.eas.framework.client.EditUI.doBeforeSave(EditUI.java:839)

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUICTEx$$EnhancerByCGLIB$$7a7d7833.CGLIB$doBeforeSave$422()

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUICTEx$$EnhancerByCGLIB$$7a7d7833$$FastClassByCGLIB$$78bb093b.invoke()

at: net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)

at: com.kingdee.eas.ep.client.ExtendMethodInterceptor.intercept(ExtendMethodInterceptor.java:52)

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUICTEx$$EnhancerByCGLIB$$7a7d7833.doBeforeSave()

at: com.kingdee.eas.framework.client.EditUI.actionSave_actionPerformed(EditUI.java:790)

at: com.kingdee.eas.framework.client.AbstractCoreBillEditUI.actionSave_actionPerformed(AbstractCoreBillEditUI.java:1074)

at: com.kingdee.eas.framework.client.CoreBillEditUI.actionSave_actionPerformed(CoreBillEditUI.java:1024)

at: com.kingdee.eas.cp.bc.client.BizCollCoreBillEditUI.actionSave_actionPerformed(BizCollCoreBillEditUI.java:1313)

at: com.kingdee.eas.cp.bc.client.ExpenseAccountEditUI.actionSave_actionPerformed(ExpenseAccountEditUI.java:1448)

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUI.actionSave_actionPerformed(TravelAccountEditUI.java:2150)

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUIPIEx.actionSave_actionPerformed(TravelAccountEditUIPIEx.java:223)

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUICTEx$$EnhancerByCGLIB$$7a7d7833.CGLIB$actionSave_actionPerformed$14()

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUICTEx$$EnhancerByCGLIB$$7a7d7833$$FastClassByCGLIB$$78bb093b.invoke()

at: net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)

at: com.kingdee.eas.ep.client.ExtendMethodInterceptor.intercept(ExtendMethodInterceptor.java:52)

at: com.kingdee.eas.cp.bc.client.TravelAccountEditUICTEx$$EnhancerByCGLIB$$7a7d7833.actionSave_actionPerformed()

at: sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)

at: sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)

at: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at: java.lang.reflect.Method.invoke(Method.java:597)

at: com.kingdee.bos.ui.face.ItemAction.reflectPerformAction(ItemAction.java:438)

at: com.kingdee.bos.ui.face.ItemAction.innerActionPerformed(ItemAction.java:396)

at: com.kingdee.eas.framework.client.AbstractEditUI$ActionSave.actionPerformed(AbstractEditUI.java:1212)

at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformedInvoke(ActionProxy.java:174)

at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformed(ActionProxy.java:102)

at: javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1995)

at: com.kingdee.bos.ctrl.swing.KDWorkButton.fireActionPerformed(KDWorkButton.java:567)

at: javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2318)

at: javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:387)

at: javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:242)

at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)

at: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)

at: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)

at: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)

at: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:272)

at: java.awt.Component.processMouseEvent(Component.java:6267)

at: javax.swing.JComponent.processMouseEvent(JComponent.java:3267)

at: com.kingdee.bos.ctrl.swing.KDWorkButton.processMouseEvent(KDWorkButton.java:898)

at: java.awt.Component.processEvent(Component.java:6032)

at: java.awt.Container.processEvent(Container.java:2041)

at: java.awt.Component.dispatchEventImpl(Component.java:4630)

at: java.awt.Container.dispatchEventImpl(Container.java:2099)

at: java.awt.Component.dispatchEvent(Component.java:4460)

at: java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4577)

at: java.awt.LightweightDispatcher.processMouseEvent(Container.java:4238)

at: java.awt.LightweightDispatcher.dispatchEvent(Container.java:4168)

at: java.awt.Container.dispatchEventImpl(Container.java:2085)

at: java.awt.Window.dispatchEventImpl(Window.java:2478)

at: java.awt.Component.dispatchEvent(Component.java:4460)

at: java.awt.EventQueue.dispatchEvent(EventQueue.java:599)

at: com.kingdee.bos.invokecounter.RPCLogEventQueue.dispatchEvent(RPCLogEventQueue.java:176)

at: sun.reflect.GeneratedMethodAccessor16.invoke(Unknown Source)

at: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)

at: java.lang.reflect.Method.invoke(Method.java:597)

at: com.kingdee.eas.client.recorder.UserInputEventQueue.myDispatchEvent(UserInputEventQueue.java:126)

at: com.kingdee.eas.client.recorder.UserInputEventQueue.dispatchEvent(UserInputEventQueue.java:59)

at: java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:269)

at: java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:184)

at: java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:174)

at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:169)

at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:161)

at: java.awt.EventDispatchThread.run(EventDispatchThread.java:122)