出現(xiàn)場(chǎng)景
錯(cuò)誤信息:null
錯(cuò)誤詳細(xì)堆棧信息:java.lang.ExceptionInInitializerError: null
at: com.kingdee.eas.tools.datatask.client.FileSelector.show(FileSelector.java:160)
at: com.kingdee.eas.tools.datatask.client.AbstractTemplateExport.getFilePath(AbstractTemplateExport.java:23)
at: com.kingdee.eas.tools.datatask.client.TemplateExport.export(TemplateExport.java:167)
at: com.kingdee.eas.tools.datatask.client.DIETemplateListUI.actionExportTemplate_actionPerformed(DIETemplateListUI.java:136)
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:439)
at: com.kingdee.bos.ui.face.ItemAction.innerActionPerformed(ItemAction.java:397)
at: com.kingdee.eas.tools.datatask.client.AbstractDIETemplateListUI$ActionExportTemplate.actionPerformed(AbstractDIETemplateListUI.java:764)
at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformedInvoke(ActionProxy.java:188)
at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformed(ActionProxy.java:112)
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.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.GeneratedMethodAccessor17.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)
java.lang.NullPointerException: null
at: com.kingdee.eas.tools.datatask.util.GlobalFunction.<clinit>(GlobalFunction.java:57)
at: com.kingdee.eas.tools.datatask.client.FileSelector.show(FileSelector.java:160)
at: com.kingdee.eas.tools.datatask.client.AbstractTemplateExport.getFilePath(AbstractTemplateExport.java:23)
at: com.kingdee.eas.tools.datatask.client.TemplateExport.export(TemplateExport.java:167)
at: com.kingdee.eas.tools.datatask.client.DIETemplateListUI.actionExportTemplate_actionPerformed(DIETemplateListUI.java:136)
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:439)
at: com.kingdee.bos.ui.face.ItemAction.innerActionPerformed(ItemAction.java:397)
at: com.kingdee.eas.tools.datatask.client.AbstractDIETemplateListUI$ActionExportTemplate.actionPerformed(AbstractDIETemplateListUI.java:764)
at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformedInvoke(ActionProxy.java:188)
at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformed(ActionProxy.java:112)
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.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.GeneratedMethodAccessor17.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)
或者報(bào)錯(cuò)如下
錯(cuò)誤信息:Could not initialize class com.kingdee.eas.tools.datatask.util.GlobalFunction
錯(cuò)誤詳細(xì)堆棧信息:java.lang.NoClassDefFoundError: Could not initialize class com.kingdee.eas.tools.datatask.util.GlobalFunction
at: com.kingdee.eas.tools.datatask.client.FileSelector.show(FileSelector.java:160)
at: com.kingdee.eas.tools.datatask.client.AbstractTemplateExport.getFilePath(AbstractTemplateExport.java:23)
at: com.kingdee.eas.tools.datatask.client.TemplateExport.export(TemplateExport.java:167)
at: com.kingdee.eas.tools.datatask.client.DIETemplateListUI.actionExportTemplate_actionPerformed(DIETemplateListUI.java:136)
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:439)
at: com.kingdee.bos.ui.face.ItemAction.innerActionPerformed(ItemAction.java:397)
at: com.kingdee.eas.tools.datatask.client.AbstractDIETemplateListUI$ActionExportTemplate.actionPerformed(AbstractDIETemplateListUI.java:764)
at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformedInvoke(ActionProxy.java:188)
at: com.kingdee.bos.appframework.client.servicebinding.ActionProxy.actionPerformed(ActionProxy.java:112)
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.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.GeneratedMethodAccessor17.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)
解決方法
在其對(duì)應(yīng)路徑建立對(duì)應(yīng)的包以及對(duì)應(yīng)的類,并做如下更改
以上就是我關(guān)于 EAS引入引出模板配置完成后點(diǎn)擊引出模板之后報(bào)錯(cuò)如何解決哎榴? 知識(shí)點(diǎn)整理與總結(jié)的全部?jī)?nèi)容型豁,希望對(duì)你有幫助僵蛛。。迎变。充尉。。衣形。驼侠。
分割線