EAS引入引出模板配置完成后點(diǎn)擊引出模板之后報(bào)錯(cuò)如何解決壳贪?

出現(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ì)你有幫助僵蛛。。迎变。充尉。。衣形。驼侠。


分割線


擴(kuò)展知識(shí)

還有 0% 的精彩內(nèi)容
?著作權(quán)歸作者所有,轉(zhuǎn)載或內(nèi)容合作請(qǐng)聯(lián)系作者
支付 ¥10.00 繼續(xù)閱讀
  • 序言:七十年代末,一起剝皮案震驚了整個(gè)濱河市谆吴,隨后出現(xiàn)的幾起案子倒源,更是在濱河造成了極大的恐慌,老刑警劉巖句狼,帶你破解...
    沈念sama閱讀 206,839評(píng)論 6 482
  • 序言:濱河連續(xù)發(fā)生了三起死亡事件笋熬,死亡現(xiàn)場(chǎng)離奇詭異,居然都是意外死亡腻菇,警方通過(guò)查閱死者的電腦和手機(jī)胳螟,發(fā)現(xiàn)死者居然都...
    沈念sama閱讀 88,543評(píng)論 2 382
  • 文/潘曉璐 我一進(jìn)店門,熙熙樓的掌柜王于貴愁眉苦臉地迎上來(lái)芜繁,“玉大人旺隙,你說(shuō)我怎么就攤上這事绒极】チ睿” “怎么了?”我有些...
    開封第一講書人閱讀 153,116評(píng)論 0 344
  • 文/不壞的土叔 我叫張陵垄提,是天一觀的道長(zhǎng)榔袋。 經(jīng)常有香客問(wèn)我,道長(zhǎng)铡俐,這世上最難降的妖魔是什么凰兑? 我笑而不...
    開封第一講書人閱讀 55,371評(píng)論 1 279
  • 正文 為了忘掉前任,我火速辦了婚禮审丘,結(jié)果婚禮上吏够,老公的妹妹穿的比我還像新娘。我一直安慰自己滩报,他們只是感情好锅知,可當(dāng)我...
    茶點(diǎn)故事閱讀 64,384評(píng)論 5 374
  • 文/花漫 我一把揭開白布。 她就那樣靜靜地躺著脓钾,像睡著了一般售睹。 火紅的嫁衣襯著肌膚如雪。 梳的紋絲不亂的頭發(fā)上可训,一...
    開封第一講書人閱讀 49,111評(píng)論 1 285
  • 那天昌妹,我揣著相機(jī)與錄音捶枢,去河邊找鬼。 笑死飞崖,一個(gè)胖子當(dāng)著我的面吹牛烂叔,可吹牛的內(nèi)容都是我干的。 我是一名探鬼主播固歪,決...
    沈念sama閱讀 38,416評(píng)論 3 400
  • 文/蒼蘭香墨 我猛地睜開眼长已,長(zhǎng)吁一口氣:“原來(lái)是場(chǎng)噩夢(mèng)啊……” “哼!你這毒婦竟也來(lái)了昼牛?” 一聲冷哼從身側(cè)響起术瓮,我...
    開封第一講書人閱讀 37,053評(píng)論 0 259
  • 序言:老撾萬(wàn)榮一對(duì)情侶失蹤,失蹤者是張志新(化名)和其女友劉穎贰健,沒想到半個(gè)月后胞四,有當(dāng)?shù)厝嗽跇淞掷锇l(fā)現(xiàn)了一具尸體,經(jīng)...
    沈念sama閱讀 43,558評(píng)論 1 300
  • 正文 獨(dú)居荒郊野嶺守林人離奇死亡伶椿,尸身上長(zhǎng)有42處帶血的膿包…… 初始之章·張勛 以下內(nèi)容為張勛視角 年9月15日...
    茶點(diǎn)故事閱讀 36,007評(píng)論 2 325
  • 正文 我和宋清朗相戀三年辜伟,在試婚紗的時(shí)候發(fā)現(xiàn)自己被綠了。 大學(xué)時(shí)的朋友給我發(fā)了我未婚夫和他白月光在一起吃飯的照片脊另。...
    茶點(diǎn)故事閱讀 38,117評(píng)論 1 334
  • 序言:一個(gè)原本活蹦亂跳的男人離奇死亡导狡,死狀恐怖,靈堂內(nèi)的尸體忽然破棺而出偎痛,到底是詐尸還是另有隱情旱捧,我是刑警寧澤,帶...
    沈念sama閱讀 33,756評(píng)論 4 324
  • 正文 年R本政府宣布踩麦,位于F島的核電站枚赡,受9級(jí)特大地震影響,放射性物質(zhì)發(fā)生泄漏谓谦。R本人自食惡果不足惜贫橙,卻給世界環(huán)境...
    茶點(diǎn)故事閱讀 39,324評(píng)論 3 307
  • 文/蒙蒙 一、第九天 我趴在偏房一處隱蔽的房頂上張望反粥。 院中可真熱鬧卢肃,春花似錦、人聲如沸才顿。這莊子的主人今日做“春日...
    開封第一講書人閱讀 30,315評(píng)論 0 19
  • 文/蒼蘭香墨 我抬頭看了看天上的太陽(yáng)娜膘。三九已至逊脯,卻和暖如春,著一層夾襖步出監(jiān)牢的瞬間竣贪,已是汗流浹背军洼。 一陣腳步聲響...
    開封第一講書人閱讀 31,539評(píng)論 1 262
  • 我被黑心中介騙來(lái)泰國(guó)打工巩螃, 沒想到剛下飛機(jī)就差點(diǎn)兒被人妖公主榨干…… 1. 我叫王不留,地道東北人匕争。 一個(gè)月前我還...
    沈念sama閱讀 45,578評(píng)論 2 355
  • 正文 我出身青樓避乏,卻偏偏與公主長(zhǎng)得像,于是被迫代替她去往敵國(guó)和親甘桑。 傳聞我的和親對(duì)象是個(gè)殘疾皇子拍皮,可洞房花燭夜當(dāng)晚...
    茶點(diǎn)故事閱讀 42,877評(píng)論 2 345