四.awt事务处理机制

1.事件处理

1-1.GUI事件处理机制

        定义:当在某个组件上发生某些操作时,会自动的触发一段代码的执行

        事件源(Event Source):操作发生的场所,通常指某个组件,例如按钮

        事件(Event):在事件源上发生的操作叫事件,GUI会把事件封装到一个Event对象中;如果需要知道详细信息,通过Event对象获取

        事件监听器(Event Listener):在某个事件源上发生某个事件,事件监听器可以对这个 事件进行处理

        注册监听:把某个事件监听器(A)通过某个事件(B)绑定到某个事件源(C)上,当在事件源C上发生了事件B之后,那么事件监听器A的代码就会自动执行

         使用步骤:

        ①.创建事件源组件对象

        ②.自定义类,实现XxxListenr接口,重写方法

        ③.创建事件监听器对象(自定义类对象)

        ④.调用事件源组件对象的addXxxListener方法完成注册

2.GUI中常见事件和事件监听器

2-1.事件

        AWT把事件分为了两大类:

        低级事件:基于特定动作的事件。比如进入 、点击、拖放等

事件触发时机
ComponentEvent组件事件,当组件尺寸发生变化、位置发生移动、显示/隐藏发生改变触发该事件
ContainerEvent

容器事件,当容器里发生添加组件、删除组件时触发该事件

WindowEvent窗口事件,当窗口状态发生改变(比如打开、关闭、最大化)时触发该事件
FocusEvent

检点事件,当组件得到焦点或失去焦点时触发事件

KeyEvent键盘事件,当按键被按下、松开、单击时触发 该事件
MouseEvent鼠标事件,当进行单机、按下、松开、等动作时触发该事件
PaintEvent组件绘制事件,该事件是一个特殊的事件类型,当GUI组件调用 update/paint方法来呈现自身时触发该事件,该事件并非同于事件处理模型

        高级事件:不基于特定动作,根据功能含义定义的事件

事件触发时机
ActionEvent动作事件,当 按钮、菜单项被单击,在TextField中按Enter键
AjustmentEvent调节事件,在滑动条上移动滑块调节数值时触发该事件
ItemEvent选项事件,当用户选中某项,或取消选中某项时触发该事件
TextEvent文本事件,当文本框、文本域的文本发生改变时触发事件

2-2.事件监听器

事件类别 说明接口名
ActionEvent激活组件ActionListener
ItemEvent选择了某些项目ItemListener
MouseEvent鼠标移动MouseMotionListener
MouseEvent鼠标点击MouseListener
KeyEvent键盘输入KeyListener
FocusEvent组件收到或失去焦点

FocusListener

AdjustmentEvent移动滚动条等组件AdjusntmentListener
ComponentEvent对象移动缩放显示隐藏等ComponentListener
WindowEvent窗口收到窗口级事件WindowListener
ContainerEvent容器中增加删除了组件ContainerListener
TextEvent文本字段或文本区发生改变TextListener
java.sql.SQLIntegrityConstraintViolationException: Duplicate entry '-627510019' for key 'device1.PRIMARY' at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:117) at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:97) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:953) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1092) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1040) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1347) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:1025) at shixun.Adminmenu$5$1.actionPerformed(Adminmenu.java:264) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:252) at java.awt.Component.processMouseEvent(Component.java:6533) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6298) at java.awt.Container.processEvent(Container.java:2237) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2295) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4889) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4526) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4467) at java.awt.Container.dispatchEventImpl(Container.java:2281) at java.awt.Window.dispatchEventImpl(Window.java:2746) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:90) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:80) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) 进程已结束,退出代码 0
最新发布
12-02
Duplicate entry '23' for key 'customer.PRIMARY' at com.mysql.cj.jdbc.exceptions.SQLError.createSQLException(SQLError.java:117) at com.mysql.cj.jdbc.exceptions.SQLExceptionsMapping.translateException(SQLExceptionsMapping.java:122) at com.mysql.cj.jdbc.ClientPreparedStatement.executeInternal(ClientPreparedStatement.java:916) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1061) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdateInternal(ClientPreparedStatement.java:1009) at com.mysql.cj.jdbc.ClientPreparedStatement.executeLargeUpdate(ClientPreparedStatement.java:1320) at com.mysql.cj.jdbc.ClientPreparedStatement.executeUpdate(ClientPreparedStatement.java:994) at dao.CustomerDAO.addCustomer(CustomerDAO.java:23) at ui.CustomerPanel$1.actionPerformed(CustomerPanel.java:69) at java.desktop/javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:1972) at java.desktop/javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2314) at java.desktop/javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:407) at java.desktop/javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:262) at java.desktop/javax.swing.plaf.basic.BasicButtonListener.mouseReleased(BasicButtonListener.java:279) at java.desktop/java.awt.Component.processMouseEvent(Component.java:6621) at java.desktop/javax.swing.JComponent.processMouseEvent(JComponent.java:3398) at java.desktop/java.awt.Component.processEvent(Component.java:6386) at java.desktop/java.awt.Container.processEvent(Container.java:2266) at java.desktop/java.awt.Component.dispatchEventImpl(Component.java:4996) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2324) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828) at java.desktop/java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4948) at java.desktop/java.awt.LightweightDispatcher.processMouseEvent(Container.java:4575) at java.desktop/java.awt.LightweightDispatcher.dispatchEvent(Container.java:4516) at java.desktop/java.awt.Container.dispatchEventImpl(Container.java:2310) at java.desktop/java.awt.Window.dispatchEventImpl(Window.java:2780) at java.desktop/java.awt.Component.dispatchEvent(Component.java:4828) at java.desktop/java.awt.EventQueue.dispatchEventImpl(EventQueue.java:775) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:720) at java.desktop/java.awt.EventQueue$4.run(EventQueue.java:714) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:98) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:747) at java.desktop/java.awt.EventQueue$5.run(EventQueue.java:745) at java.base/java.security.AccessController.doPrivileged(AccessController.java:400) at java.base/java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:87) at java.desktop/java.awt.EventQueue.dispatchEvent(EventQueue.java:744) at java.desktop/java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:203) at java.desktop/java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:124) at java.desktop/java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:113) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:109) at java.desktop/java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.desktop/java.awt.EventDispatchThread.run(EventDispatchThread.java:90)
06-26
17:12:40 [client connect test runnable] DEBUG - Client connect test... 17:12:40 [client connect test runnable] DEBUG - callid=1760433160830-5018 17:12:40 [client connect test runnable] DEBUG - begin nc.login.bs.INCLoginService.connectTest(java.lang.String,java.lang.String) {target=http://127.0.0.1:32650/ServiceDispatcherServlet/default} 17:12:40 [client connect test runnable] WARN - TraceRemoteCall java.lang.Exception at nc.bs.framework.rmi.RemoteInvocationHandler.sendRequest(RemoteInvocationHandler.java:235) at nc.bs.framework.rmi.RemoteInvocationHandler.sendRequest(RemoteInvocationHandler.java:114) at nc.bs.framework.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:84) at com.sun.proxy.$Proxy2.connectTest(Unknown Source) at nc.desktop.ui.ClientConnectTestRunnable.run(ClientConnectTestRunnable.java:32) at nc.schedule.engine.ScheduleTimerTask$RunImple.run(ScheduleTimerTask.java:38) at nc.schedule.engine.ScheduleTimerTask$WorkThread.run(ScheduleTimerTask.java:59) 17:12:40 [client connect test runnable] DEBUG - begin serialize 17:12:40 [client connect test runnable] DEBUG - end serialize | costtime=0ms 17:12:40 [client connect test runnable] DEBUG - begin write to net 17:12:40 [client connect test runnable] DEBUG - end write to net size=473 | costtime=0ms 17:12:40 [client connect test runnable] DEBUG - begin read from net 17:12:40 [client connect test runnable] DEBUG - end read from net size=229 | costtime=3ms 17:12:40 [client connect test runnable] DEBUG - begin deserialize 17:12:40 [client connect test runnable] DEBUG - end deserialize | costtime=0ms 17:12:40 [client connect test runnable] DEBUG - end nc.login.bs.INCLoginService.connectTest(java.lang.String,java.lang.String) {target=http://127.0.0.1:32650/ServiceDispatcherServlet/default} | costtime=6ms 17:12:41 [AWT-EventQueue-0] DEBUG - action is not a key function. action code is ApproveInfo 17:12:41 [AWT-EventQueue-0] DEBUG - #busiaction:费用清单-查看审批意见 17:12:41 [AWT-EventQueue-0] DEBUG - Entering class nc.ui.fdcpr.uipub.action.JZFDCPFApproveStatusInfoAction.actionPerformed 17:12:41 [AWT-EventQueue-0] DEBUG - The ImplClzName is:nc.uap.pf.metadata.FlowBizImpl 17:12:41 [AWT-EventQueue-0] ERROR - AbstractBizInterface: getAttributeValue: 属性名为空 17:12:41 [AWT-EventQueue-0] DEBUG - Found Template in Cache, KEY:BILL_.101609.historymsg.null.1001N11000000000446V.0001N110000000000EWW ID:1001Z010000000001H9T TS:2015-06-04 18:28:02 17:12:41 [AWT-EventQueue-0] DEBUG - callid=1760433161494-2182 17:12:41 [AWT-EventQueue-0] DEBUG - begin nc.itf.uap.billtemplate.IBillTemplateQry.findBillTempletDatas([Lnc.vo.pub.bill.BillOperaterEnvVO;) {target=http://127.0.0.1:32650/ServiceDispatcherServlet/default} 17:12:41 [AWT-EventQueue-0] WARN - TraceRemoteCall java.lang.Exception at nc.bs.framework.rmi.RemoteInvocationHandler.sendRequest(RemoteInvocationHandler.java:235) at nc.bs.framework.rmi.RemoteInvocationHandler.sendRequest(RemoteInvocationHandler.java:114) at nc.bs.framework.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:84) at com.sun.proxy.$Proxy49.findBillTempletDatas(Unknown Source) at nc.ui.pub.bill.BillTemplateHelper.findBillTempletDatas(BillTemplateHelper.java:118) at nc.ui.pub.bill.BillUIUtil.getDefaultTempletStatics(BillUIUtil.java:151) at nc.ui.pub.bill.BillUIUtil.getDefaultTempletStatic(BillUIUtil.java:60) at nc.ui.pub.bill.BillUIUtil.getDefaultTempletStatic(BillUIUtil.java:29) at nc.ui.pub.bill.BillListPanel.getDefaultTemplet(BillListPanel.java:689) at nc.ui.pub.workflownote.FlowAdminPanel.getBillListPanel(FlowAdminPanel.java:623) at nc.ui.pub.workflownote.FlowAdminPanel.getBrowsingTabbedPane(FlowAdminPanel.java:705) at nc.ui.pub.workflownote.FlowAdminPanel.getWorkflowNotePanel(FlowAdminPanel.java:692) at nc.ui.pub.workflownote.FlowAdminPanel.getSpCenter(FlowAdminPanel.java:685) at nc.ui.pub.workflownote.FlowAdminPanel.initUI(FlowAdminPanel.java:255) at nc.ui.pub.workflownote.FlowAdminPanel.init(FlowAdminPanel.java:246) at nc.ui.pub.workflownote.FlowAdminPanel.<init>(FlowAdminPanel.java:214) at nc.ui.pub.workflownote.FlowAdminPanel.<init>(FlowAdminPanel.java:199) at nc.ui.pub.workflownote.FlowStateDlg.getAdminPanel(FlowStateDlg.java:83) at nc.ui.pub.workflownote.FlowStateDlg.getUIDialogContentPane(FlowStateDlg.java:66) at nc.ui.pub.workflownote.FlowStateDlg.initialize(FlowStateDlg.java:108) at nc.ui.pub.workflownote.FlowStateDlg.<init>(FlowStateDlg.java:57) at nc.ui.pubapp.uif2app.actions.pflow.PFApproveStatusInfoAction.doAction(PFApproveStatusInfoAction.java:54) at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:85) at nc.funcnode.ui.action.ActionDelegate.actionPerformed(ActionDelegate.java:296) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at nc.ui.plaf.basic.UIMenuItemUI.doClick(UIMenuItemUI.java:1191) at nc.ui.plaf.basic.UIMenuItemUI$MouseInputHandler.mouseReleased(UIMenuItemUI.java:1016) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6539) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6304) at java.awt.Container.processEvent(Container.java:2239) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at java.awt.Container.dispatchEventImpl(Container.java:2283) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) 17:12:41 [AWT-EventQueue-0] DEBUG - begin serialize 17:12:41 [AWT-EventQueue-0] DEBUG - end serialize | costtime=0ms 17:12:41 [AWT-EventQueue-0] DEBUG - begin write to net 17:12:41 [AWT-EventQueue-0] DEBUG - end write to net size=681 | costtime=0ms 17:12:41 [AWT-EventQueue-0] DEBUG - begin read from net 17:12:41 [AWT-EventQueue-0] DEBUG - end read from net size=213 | costtime=8ms 17:12:41 [AWT-EventQueue-0] DEBUG - begin deserialize 17:12:41 [AWT-EventQueue-0] DEBUG - end deserialize | costtime=0ms 17:12:41 [AWT-EventQueue-0] DEBUG - end nc.itf.uap.billtemplate.IBillTemplateQry.findBillTempletDatas([Lnc.vo.pub.bill.BillOperaterEnvVO;) {target=http://127.0.0.1:32650/ServiceDispatcherServlet/default} | costtime=9ms 17:12:41 [AWT-EventQueue-0] INFO - 模板加载成功! 17:12:41 [AWT-EventQueue-0] DEBUG - callid=1760433161506-2375 17:12:41 [AWT-EventQueue-0] DEBUG - begin nc.itf.uap.pf.IPFWorkflowQry.queryFlowHistoryQryResult(java.lang.String,java.lang.String,int) {target=http://127.0.0.1:32650/ServiceDispatcherServlet/default} 17:12:41 [AWT-EventQueue-0] WARN - TraceRemoteCall java.lang.Exception at nc.bs.framework.rmi.RemoteInvocationHandler.sendRequest(RemoteInvocationHandler.java:235) at nc.bs.framework.rmi.RemoteInvocationHandler.sendRequest(RemoteInvocationHandler.java:114) at nc.bs.framework.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:84) at com.sun.proxy.$Proxy68.queryFlowHistoryQryResult(Unknown Source) at nc.ui.pub.workflownote.FlowAdminPanel.queryFlowFistoryInfo(FlowAdminPanel.java:292) at nc.ui.pub.workflownote.FlowAdminPanel.initData(FlowAdminPanel.java:280) at nc.ui.pub.workflownote.FlowAdminPanel.init(FlowAdminPanel.java:249) at nc.ui.pub.workflownote.FlowAdminPanel.<init>(FlowAdminPanel.java:214) at nc.ui.pub.workflownote.FlowAdminPanel.<init>(FlowAdminPanel.java:199) at nc.ui.pub.workflownote.FlowStateDlg.getAdminPanel(FlowStateDlg.java:83) at nc.ui.pub.workflownote.FlowStateDlg.getUIDialogContentPane(FlowStateDlg.java:66) at nc.ui.pub.workflownote.FlowStateDlg.initialize(FlowStateDlg.java:108) at nc.ui.pub.workflownote.FlowStateDlg.<init>(FlowStateDlg.java:57) at nc.ui.pubapp.uif2app.actions.pflow.PFApproveStatusInfoAction.doAction(PFApproveStatusInfoAction.java:54) at nc.ui.uif2.NCAction.actionPerformed(NCAction.java:85) at nc.funcnode.ui.action.ActionDelegate.actionPerformed(ActionDelegate.java:296) at javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022) at javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348) at javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402) at javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259) at javax.swing.AbstractButton.doClick(AbstractButton.java:376) at nc.ui.plaf.basic.UIMenuItemUI.doClick(UIMenuItemUI.java:1191) at nc.ui.plaf.basic.UIMenuItemUI$MouseInputHandler.mouseReleased(UIMenuItemUI.java:1016) at java.awt.AWTEventMulticaster.mouseReleased(AWTEventMulticaster.java:289) at java.awt.Component.processMouseEvent(Component.java:6539) at javax.swing.JComponent.processMouseEvent(JComponent.java:3324) at java.awt.Component.processEvent(Component.java:6304) at java.awt.Container.processEvent(Container.java:2239) at java.awt.Component.dispatchEventImpl(Component.java:4889) at java.awt.Container.dispatchEventImpl(Container.java:2297) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904) at java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535) at java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476) at java.awt.Container.dispatchEventImpl(Container.java:2283) at java.awt.Component.dispatchEvent(Component.java:4711) at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760) at java.awt.EventQueue.access$500(EventQueue.java:97) at java.awt.EventQueue$3.run(EventQueue.java:709) at java.awt.EventQueue$3.run(EventQueue.java:703) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84) at java.awt.EventQueue$4.run(EventQueue.java:733) at java.awt.EventQueue$4.run(EventQueue.java:731) at java.security.AccessController.doPrivileged(Native Method) at java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74) at java.awt.EventQueue.dispatchEvent(EventQueue.java:730) at java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205) at java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116) at java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101) at java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93) at java.awt.EventDispatchThread.run(EventDispatchThread.java:82) 17:12:41 [AWT-EventQueue-0] DEBUG - begin serialize 17:12:41 [AWT-EventQueue-0] DEBUG - end serialize | costtime=0ms 17:12:41 [AWT-EventQueue-0] DEBUG - begin write to net 17:12:41 [AWT-EventQueue-0] DEBUG - end write to net size=553 | costtime=0ms 17:12:41 [AWT-EventQueue-0] DEBUG - begin read from net 17:12:41 [AWT-EventQueue-0] DEBUG - end read from net size=629 | costtime=15ms 17:12:41 [AWT-EventQueue-0] DEBUG - begin deserialize 17:12:41 [AWT-EventQueue-0] DEBUG - end deserialize | costtime=0ms 17:12:41 [AWT-EventQueue-0] DEBUG - end nc.itf.uap.pf.IPFWorkflowQry.queryFlowHistoryQryResult(java.lang.String,java.lang.String,int) {target=http://127.0.0.1:32650/ServiceDispatcherServlet/default} | costtime=16ms 17:12:41 [dbcache-update-thread] DEBUG - isUsing()false,isLocked()false[ds=design,state=STOPED,using=false] 17:12:41 [dbcache-update-thread] DEBUG - dbcache update service is now updating client versions... 17:12:41 [dbcache-update-thread] DEBUG - download versions from server, afterTs=[2025-10-14 17:08:33] 17:12:41 [dbcache-update-thread] DEBUG - callid=1760433161752-7489 17:12:41 [dbcache-update-thread] DEBUG - begin nc.bs.dbcache.intf.IOutDateVersion.getOutDateVersions(java.lang.String) {target=http://127.0.0.1:32650/ServiceDispatcherServlet/default} 17:12:41 [dbcache-update-thread] WARN - TraceRemoteCall java.lang.Exception at nc.bs.framework.rmi.RemoteInvocationHandler.sendRequest(RemoteInvocationHandler.java:235) at nc.bs.framework.rmi.RemoteInvocationHandler.sendRequest(RemoteInvocationHandler.java:114) at nc.bs.framework.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:84) at com.sun.proxy.$Proxy22.getOutDateVersions(Unknown Source) at nc.ui.dbcache.version.ClientCacheVersionBS.getOutDateVersions(ClientCacheVersionBS.java:121) at nc.ui.dbcache.version.ClientCacheVersionBS.updateVersions(ClientCacheVersionBS.java:252) at nc.ui.dbcache.plugin.VersionUpdatePlugin.execute(VersionUpdatePlugin.java:25) at nc.ui.dbcache.DBCacheUpdateService.run(DBCacheUpdateService.java:150) at java.lang.Thread.run(Thread.java:748) 17:12:41 [dbcache-update-thread] DEBUG - begin serialize 17:12:41 [dbcache-update-thread] DEBUG - end serialize | costtime=0ms 17:12:41 [dbcache-update-thread] DEBUG - begin write to net 17:12:41 [dbcache-update-thread] DEBUG - end write to net size=473 | costtime=0ms 17:12:41 [dbcache-update-thread] DEBUG - begin read from net 17:12:41 [dbcache-update-thread] DEBUG - end read from net size=357 | costtime=4ms 17:12:41 [dbcache-update-thread] DEBUG - begin deserialize 17:12:41 [dbcache-update-thread] DEBUG - end deserialize | costtime=0ms 17:12:41 [dbcache-update-thread] DEBUG - end nc.bs.dbcache.intf.IOutDateVersion.getOutDateVersions(java.lang.String) {target=http://127.0.0.1:32650/ServiceDispatcherServlet/default} | costtime=4ms 17:12:41 [dbcache-update-thread] DEBUG - no changes of memory version. 17:12:41 [dbcache-update-thread] DEBUG - return syncPointVersionTs is : 2025-10-14 17:08:33 17:12:41 [dbcache-update-thread] DEBUG - update vo cache, memory collect for cache of long time not used... 17:12:46 [Thread-71] DEBUG - callid=1760433166978-5776 17:12:46 [Thread-71] DEBUG - begin nc.bs.pub.IClusterFinder.getServerTime() {target=http://127.0.0.1:32650/ServiceDispatcherServlet/default} 17:12:46 [Thread-71] WARN - TraceRemoteCall java.lang.Exception at nc.bs.framework.rmi.RemoteInvocationHandler.sendRequest(RemoteInvocationHandler.java:235) at nc.bs.framework.rmi.RemoteInvocationHandler.sendRequest(RemoteInvocationHandler.java:114) at nc.bs.framework.rmi.RemoteInvocationHandler.invoke(RemoteInvocationHandler.java:84) at com.sun.proxy.$Proxy69.getServerTime(Unknown Source) at nc.desktop.ui.console.logrecord.LogRecordPanel$LogRecordAction$1.run(LogRecordPanel.java:250) at java.lang.Thread.run(Thread.java:748) 17:12:46 [Thread-71] DEBUG - begin serialize 17:12:46 [Thread-71] DEBUG - end serialize | costtime=0ms 17:12:46 [Thread-71] DEBUG - begin write to net 17:12:46 [Thread-71] DEBUG - end write to net size=377 | costtime=0ms 17:12:46 [Thread-71] DEBUG - begin read from net 17:12:46 [Thread-71] DEBUG - end read from net size=213 | costtime=10ms 17:12:46 [Thread-71] DEBUG - begin deserialize 17:12:46 [Thread-71] DEBUG - end deserialize | costtime=0ms 17:12:46 [Thread-71] DEBUG - end nc.bs.pub.IClusterFinder.getServerTime() {target=http://127.0.0.1:32650/ServiceDispatcherServlet/default} | costtime=10ms 17:12:46 [Thread-71] ERROR - =============select /m from nclogs where ts>="2025-10-14 17:12:37" and ts<="2025-10-14 17:12:46" and userid="1001N11000000000446V" 17:12:46 [Thread-71] DEBUG - C:\Users\Administrator\NCCACHE\127.0.0.1_hphmnppmpa_32650 17:12:48 [Thread-71] DEBUG - request url=http://127.0.0.1:32650/service/monitorservlet 17:13:03 [Thread-15] DEBUG - ImLoginButton 开始获取离线消息 17:13:04 [Thread-15] ERROR - java.lang.NullPointerException 17:13:04 [Thread-15] ERROR - java.lang.NullPointerException 17:13:04 [Thread-15] DEBUG - ImLoginButton 获取离线消息数据为:0 17:13:04 [Thread-71] WARN - NetObjectInputStream lost token! 17:13:04 [Thread-71] DEBUG - 结果集个数 = 1 17:13:04 [Thread-71] DEBUG - 已完成100% 17:13:04 [Thread-71] DEBUG - 已完成,请到 C:\Users\Administrator\NCCACHE\127.0.0.1_hphmnppmpa_32650/recordlog 下将日志打包发送给技术人员 17:13:04 [Thread-72] DEBUG - isUsing()false,isLocked()false[ds=design,state=STOPED,using=false] 17:13:04 [Thread-72] DEBUG - "D:\yonyou\sp\nc65sp\ufjdk\jre\bin\java" -Xmx1024m -cp "D:\yonyou\sp\nc65sp\modules\riart\client\lib\uiriart_riasfbaseLevel-1.jar" nc.desktop.ui.console.logspr.LogAnalyze "C:\Users\Administrator\NCCACHE\127.0.0.1_hphmnppmpa_32650/recordlog" 455m 0m 0m WindowsServer2012R2 nc.bs.pub.IClusterFinder;nc.clienttask;nc.login.bs.IServerEnvironmentService.getServerTime;nc.bs.dbcache.intf.IDBCacheBS.getServerDBInfo;nc.bs.dbcache.intf.ICacheVersionBS.getOutDateVersions;nc.itf.smart.ISmartService.getGlobalConfig false "C:\Users\Administrator\NCCACHE\127.0.0.1_hphmnppmpa_32650\SPR_费用清单-查看审批意见20251014171304.html" 17:13:04 [Thread-72] DEBUG - generate SPR 17:13:04 [Thread-72] DEBUG - SPR文件保存在C:\Users\Administrator\NCCACHE\127.0.0.1_hphmnppmpa_32650\SPR_费用清单-查看审批意见20251014171304.html 17:13:06 [Thread-71] DEBUG - null 17:13:06 [Thread-71] DEBUG - null
10-15
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值