DEP平台在标准单据增加分录后,打开历史单据会报空指针,具体错误如下。代码跟踪发现如图:
[code]错误信息:null
错误详细堆栈信息:java.lang.NullPointerException: null
at: com.kingdee.bos.appframework.databinding.BindingUtility.loadDataToTable(BindingUtility.java:181)
at: com.kingdee.bos.appframework.databinding.BindingUtility.loadDetailData(BindingUtility.java:161)
at: com.kingdee.bos.appframework.databinding.DataBinder.loadFields(DataBinder.java:101)
at: com.kingdee.eas.scm.sm.pur.client.AbstractPurOrderEditUI.loadFields(AbstractPurOrderEditUI.java:3293)
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUI.loadFields(PurOrderEditUI.java:1447)
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx.loadFields(PurOrderEditUICTEx.java:165)
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe.CGLIB$loadFields$0(
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe$FastClassByCGLIB$ffbac452.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.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe.loadFields(
at: com.kingdee.eas.framework.client.EditUI.innerLoadFields(EditUI.java:4379)
at: com.kingdee.eas.framework.client.EditUI.inOnload(EditUI.java:2085)
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe.CGLIB$inOnload$819(
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe$FastClassByCGLIB$ffbac452.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.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe.inOnload(
at: com.kingdee.eas.framework.client.EditUI.loadData(EditUI.java:1993)
at: com.kingdee.eas.framework.client.CoreBillEditUI.loadData(CoreBillEditUI.java:3681)
at: com.kingdee.eas.scm.common.client.SCMBillEditUI.loadData(SCMBillEditUI.java:5088)
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe.CGLIB$loadData$396(
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe$FastClassByCGLIB$ffbac452.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.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe.loadData(
at: com.kingdee.eas.framework.client.EditUI.onLoad(EditUI.java:1814)
at: com.kingdee.eas.framework.client.CoreBillEditUI.onLoad(CoreBillEditUI.java:379)
at: com.kingdee.eas.scm.common.client.SCMBillEditUI.onSuperOnload(SCMBillEditUI.java:496)
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe.CGLIB$onSuperOnload$493(
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe$FastClassByCGLIB$ffbac452.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.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe.onSuperOnload(
at: com.kingdee.eas.scm.common.client.SCMBillEditUI.onLoad(SCMBillEditUI.java:464)
at: com.kingdee.eas.scm.common.client.SDSMBillEditUI.onLoad(SDSMBillEditUI.java:90)
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUI.onLoad(PurOrderEditUI.java:3954)
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx.onLoad(PurOrderEditUICTEx.java:114)
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe.CGLIB$onLoad$2(
at: com.kingdee.eas.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe$FastClassByCGLIB$ffbac452.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.scm.sm.pur.client.PurOrderEditUICTEx$EnhancerByCGLIB$b55ee6fe.onLoad(
at: com.kingdee.eas.base.uiframe.client.UIFactoryHelper.initUIObject(UIFactoryHelper.java:296)
at: com.kingdee.eas.base.uiframe.client.UINewFrameFactory.create(UINewFrameFactory.java:105)
at: com.kingdee.eas.base.uiframe.client.UINewFrameFactory.create(UINewFrameFactory.java:44)
at: com.kingdee.eas.framework.client.ListUI.showEditUI(ListUI.java:4349)
at: com.kingdee.eas.framework.client.ListUI.actionEdit_actionPerformed(ListUI.java:4304)
at: com.kingdee.eas.scm.common.client.SCMBillListUI.actionEdit_actionPerformed(SCMBillListUI.java:634)
at: com.kingdee.eas.scm.sm.pur.client.AbstractPurOrderListUI.actionEdit_actionPerformed(AbstractPurOrderListUI.java:859)
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:585)
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.AbstractListUI$ActionEdit.actionPerformed(AbstractListUI.java:1218)
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:1849)
at: com.kingdee.bos.ctrl.swing.KDWorkButton.fireActionPerformed(KDWorkButton.java:567)
at: javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2169)
at: javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:420)
at: javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:258)
at: javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:236)
at: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at: java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:231)
at: java.awt.Component.processMouseEvent(Component.java:5517)
at: javax.swing.JComponent.processMouseEvent(JComponent.java:3135)
at: com.kingdee.bos.ctrl.swing.KDWorkButton.processMouseEvent(KDWorkButton.java:861)
at: java.awt.Component.processEvent(Component.java:5282)
at: java.awt.Container.processEvent(Container.java:1966)
at: java.awt.Component.dispatchEventImpl(Component.java:3984)
at: java.awt.Container.dispatchEventImpl(Container.java:2024)
at: java.awt.Component.dispatchEvent(Component.java:3819)
at: java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4212)
at: java.awt.LightweightDispatcher.processMouseEvent(Container.java:3892)
at: java.awt.LightweightDispatcher.dispatchEvent(Container.java:3822)
at: java.awt.Container.dispatchEventImpl(Container.java:2010)
at: java.awt.Window.dispatchEventImpl(Window.java:1791)
at: java.awt.Component.dispatchEvent(Component.java:3819)
at: java.awt.EventQueue.dispatchEvent(EventQueue.java:463)
at: com.kingdee.bos.invokecounter.RPCLogEventQueue.dispatchEvent(RPCLogEventQueue.java:176)
at: sun.reflect.GeneratedMethodAccessor15.invoke(Unknown Source)
at: sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at: java.lang.reflect.Method.invoke(Method.java:585)
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.pumpOneEventForHierarchy(EventDispatchThread.java:242)
at: java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:163)
at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
at: java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
at: java.awt.EventDispatchThread.run(EventDispatchThread.java:110)
[/code]
err.png(60.56KB)
推荐阅读