UDN-企业互联网技术人气社区

板块导航

浏览  : 3802
回复  : 25

[答疑专区] 求助各位大神!NC65单据查询报错 token was disposed.

[复制链接]
大雪茫茫的头像 楼主
发表于 2017-6-30 22:59:57 | 显示全部楼层 |阅读模式
求助各位大神帮我瞧瞧,新做的单据在点击查询按钮时报错“token was disposed”,看了一下,查询模板加载不出来,在功能节点默认模板设置中能够找到对应的查询模板。具体报错信息如下:Exception in thread "AWT-EventQueue-0" java.lang.RuntimeException: java.lang.RuntimeException: token was disposed.
        at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:101)
        at nc.funcnode.ui.action.ActionDelegate.actionPerformed(ActionDelegate.java:296)
        at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2029)
        at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2352)
        at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:413)
        at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:270)
        at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:263)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:300)
        at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:300)
        at java.awt.Component.processMouseEvent(Component.java:6520)
        at javax.swing.JComponent.processMouseEvent(JComponent.java:3332)
        at java.awt.Component.processEvent(Component.java:6285)
        at java.awt.Container.processEvent(Container.java:2240)
        at java.awt.Component.dispatchEventImpl(Component.java:4876)
        at java.awt.Container.dispatchEventImpl(Container.java:2298)
        at java.awt.Component.dispatchEvent(Component.java:4702)
        at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4843)
        at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4503)
        at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4433)
        at java.awt.Container.dispatchEventImpl(Container.java:2284)
        at java.awt.Component.dispatchEvent(Component.java:4702)
        at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:740)
        at java.awt.EventQueue.access$200(EventQueue.java:114)
        at java.awt.EventQueue$3.run(EventQueue.java:699)
        at java.awt.EventQueue$3.run(EventQueue.java:697)
        at java.security.AccessController.doPrivileged(AccessController.java:252)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:98)
        at java.awt.EventQueue$4.run(EventQueue.java:713)
        at java.awt.EventQueue$4.run(EventQueue.java:711)
        at java.security.AccessController.doPrivileged(AccessController.java:252)
        at java.security.ProtectionDomain$1.doIntersectionPrivilege(ProtectionDomain.java:87)
        at java.awt.EventQueue.dispatchEvent(EventQueue.java:710)
        at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:253)
        at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:172)
        at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:161)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:157)
        at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:149)
        at java.awt.EventDispatchThread.run(EventDispatchThread.java:102)
Caused by: java.lang.RuntimeException: token was disposed.
        at nc.vo.util.remotecallcombination.RemoteCallCombinatorEx.getResult(RemoteCallCombinatorEx.java:51)
        at nc.ui.querytemplate.QueryTempletLoader.combineResultFromDBAndCache(QueryTempletLoader.java:87)
        at nc.ui.querytemplate.QueryTempletLoader.getQueryTempletData(QueryTempletLoader.java:77)
        at nc.ui.querytemplate.QueryConditionEditor.loadTemplateVO(QueryConditionEditor.java:629)
        at nc.ui.querytemplate.QueryConditionEditor.getTotalVO(QueryConditionEditor.java:1204)
        at nc.ui.pubapp.uif2app.query2.DefaultQueryConditionDLG.init(DefaultQueryConditionDLG.java:928)
        at nc.ui.pubapp.uif2app.query2.DefaultQueryConditionDLG.<init>(DefaultQueryConditionDLG.java:160)
        at nc.ui.pubapp.uif2app.query2.QueryConditionDLGDelegator.<init>(QueryConditionDLGDelegator.java:149)
        at nc.ui.pubapp.uif2app.query2.action.DefaultQueryAction.createQryDLGDelegator(DefaultQueryAction.java:394)
        at nc.ui.pubapp.uif2app.query2.action.DefaultQueryAction.getQryDLGDelegator(DefaultQueryAction.java:289)
        at nc.ui.pubapp.uif2app.query2.action.DefaultQueryAction.doAction(DefaultQueryAction.java:190)
        at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:85)
        ... 38 more

麻烦路过的大神给我提点提点

无标题.jpg
大雪茫茫的头像 楼主
发表于 2017-6-30 23:52:54 | 显示全部楼层
防沉自顶。。
使用道具 举报

回复

发表于 2018-5-7 16:02:29 | 显示全部楼层
你好,请问这个问题解决了吗,现在遇到了相同问题
使用道具 举报

回复

发表于 2018-11-10 16:52:30 | 显示全部楼层
有可能是元数据问题,字段类型为自定义项的名称必须有def
使用道具 举报

回复

发表于 2019-4-2 17:10:39 | 显示全部楼层
https://blog.csdn.net/ruxing456/article/details/82082060  节点标识会导致这种情况
使用道具 举报

回复

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

关于我们
联系我们
  • 电话:010-86393388
  • 邮件:udn@yonyou.com
  • 地址:北京市海淀区北清路68号
移动客户端下载
关注我们
  • 微信公众号:yonyouudn
  • 扫描右侧二维码关注我们
  • 专注企业互联网的技术社区
版权所有:用友网络科技股份有限公司82041 京ICP备05007539号-11 京公网网备安1101080209224 Powered by Discuz!
快速回复 返回列表 返回顶部