Menu

#198 Making a new message without a sending connection makes testpanel show an empty box

2.2
open
nobody
5
2015-01-09
2013-09-06
No

Textfree bug in testpanel - reproduced as follows:

Make a new message without a sending connection

Java Web Start 10.25.2.17
Using JRE version 1.7.0_25-b17 Java HotSpot(TM) 64-Bit Server VM
User home directory = C:\Users\JKV


c: clear console window
f: finalize objects on finalization queue
g: garbage collect
h: display this help message
m: print memory usage
o: trigger logging
p: reload proxy configuration
q: hide console
r: reload policy configuration
s: dump system and deployment properties
t: dump thread list
v: dump thread stack
0-5: set trace level to <n>


09:51:24,523 INFO [AWT-EventQueue-2] Hl7V2MessageEditorPanel:582 - Document removed: [javax.swing.text.AbstractDocument$ElementEdit@71f1ce16 hasBeenDone: true alive: true, javax.swing.text.GapContent$RemoveUndo@3a1140cb hasBeenDone: true alive: true]
09:51:24,524 INFO [AWT-EventQueue-2] Hl7V2MessageCollection:900 - About to set source message for collection
09:51:24,524 INFO [AWT-EventQueue-2] Hl7V2MessageCollection:917 - Firing message change event
09:51:24,526 INFO [AWT-EventQueue-2] Hl7V2MessageCollection:928 - Done setting source message for collection
09:51:24,526 INFO [AWT-EventQueue-2] Hl7V2MessageEditorPanel:568 - Handled document update in 2 ms
09:51:24,527 INFO [AWT-EventQueue-2] Hl7V2MessageEditorPanel:576 - Document insert: [javax.swing.text.GapContent$InsertUndo@43debc5c hasBeenDone: true alive: true, javax.swing.text.AbstractDocument$ElementEdit@54205ed3 hasBeenDone: true alive: true]
09:51:24,528 INFO [AWT-EventQueue-2] Hl7V2MessageCollection:900 - About to set source message for collection
09:51:24,529 INFO [AWT-EventQueue-2] Hl7V2MessageCollection:277 - Found ER7 message
09:51:24,529 INFO [AWT-EventQueue-2] Hl7V2MessageBase:256 - About to parse message
09:51:24,535 INFO [AWT-EventQueue-2] Hl7V2MessageBase:272 - Done parsing message
09:51:24,536 INFO [AWT-EventQueue-2] Hl7V2MessageCollection:917 - Firing message change event
09:51:24,537 INFO [AWT-EventQueue-2] Hl7V2MessageCollection:928 - Done setting source message for collection
09:51:24,537 INFO [AWT-EventQueue-2] Hl7V2MessageEditorPanel:568 - Handled document update in 9 ms
09:51:26,536 INFO [Thread-21] Hl7V2MessageTree:2361 - Running an update of the Message Tree
09:51:26,659 INFO [AWT-EventQueue-2] Hl7V2MessageTree:294 - Opening pre-existing paths: [0, 0null] and selected path: null
09:51:29,349 INFO [Thread-21] Hl7V2MessageTree:2409 - Message Tree updater shutting down
09:51:31,506 INFO [AWT-EventQueue-2] OutboundConnection:123 - Shutting down outgoing interface localhost:Unknown
Exception in thread "AWT-EventQueue-2" java.lang.NullPointerException
at ca.uhn.hl7v2.testpanel.ui.editor.Hl7V2MessageEditorPanel.updateSendButton(Hl7V2MessageEditorPanel.java:669)
at ca.uhn.hl7v2.testpanel.ui.editor.Hl7V2MessageEditorPanel.updateOutboundConnectionsBox(Hl7V2MessageEditorPanel.java:943)
at ca.uhn.hl7v2.testpanel.ui.editor.Hl7V2MessageEditorPanel.initLocal(Hl7V2MessageEditorPanel.java:603)
at ca.uhn.hl7v2.testpanel.ui.editor.Hl7V2MessageEditorPanel.<init>(Hl7V2MessageEditorPanel.java:529)
at ca.uhn.hl7v2.testpanel.controller.Controller.setLeftSelectedItem(Controller.java:743)
at ca.uhn.hl7v2.testpanel.controller.Controller.tryToSelectSomething(Controller.java:885)
at ca.uhn.hl7v2.testpanel.controller.Controller.removeOutboundConnection(Controller.java:614)
at ca.uhn.hl7v2.testpanel.ui.TestPanelWindow$22.actionPerformed(TestPanelWindow.java:621)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.AWTEventMulticaster.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)
09:51:42,404 INFO [AWT-EventQueue-2] OutboundConnection:112 - Starting up outgoing interface localhost:Unknown
09:51:42,468 INFO [Thread-23] OutboundConnection:146 - Starting outbound interface localhost:Unknown (localhost:2575)
09:51:42,469 INFO [Thread-23] OutboundConnection:153 - Attempting outbound connection to localhost:Unknown (localhost:2575)
09:51:42,470 INFO [Thread-23] OutboundConnection:169 - Successfully connected to localhost:2575
09:51:53,303 INFO [pool-2-thread-1] MinLLPReader:167 - End of input stream reached.
09:51:53,305 INFO [pool-2-thread-1] Receiver:72 - SocketException: closing Connection, will no longer read messages with this Receiver: End of input stream reached.
09:52:40,020 INFO [AWT-EventQueue-2] OutboundConnection:123 - Shutting down outgoing interface localhost:Unknown
09:52:54,347 INFO [AWT-EventQueue-2] OutboundConnection:112 - Starting up outgoing interface localhost:Unknown
09:52:54,377 INFO [Thread-24] OutboundConnection:146 - Starting outbound interface localhost:Unknown (localhost:2575)
09:52:54,377 INFO [Thread-24] OutboundConnection:153 - Attempting outbound connection to localhost:Unknown (localhost:2575)
09:52:54,381 INFO [Thread-24] OutboundConnection:169 - Successfully connected to localhost:2575
09:53:00,989 INFO [AWT-EventQueue-2] Hl7V2MessageBase:256 - About to parse message
09:53:00,991 INFO [AWT-EventQueue-2] Hl7V2MessageBase:272 - Done parsing message
09:53:00,995 INFO [AWT-EventQueue-2] Hl7V2MessageBase:256 - About to parse message
09:53:00,996 INFO [AWT-EventQueue-2] Hl7V2MessageBase:272 - Done parsing message
09:53:01,028 ERROR [AWT-EventQueue-2] Controller:485 -
java.lang.NullPointerException
at ca.uhn.hl7v2.testpanel.ui.editor.Hl7V2MessageEditorPanel.updateSendButton(Hl7V2MessageEditorPanel.java:669)
at ca.uhn.hl7v2.testpanel.ui.editor.Hl7V2MessageEditorPanel.updateOutboundConnectionsBox(Hl7V2MessageEditorPanel.java:943)
at ca.uhn.hl7v2.testpanel.ui.editor.Hl7V2MessageEditorPanel.initLocal(Hl7V2MessageEditorPanel.java:603)
at ca.uhn.hl7v2.testpanel.ui.editor.Hl7V2MessageEditorPanel.<init>(Hl7V2MessageEditorPanel.java:529)
at ca.uhn.hl7v2.testpanel.controller.Controller.setLeftSelectedItem(Controller.java:743)
at ca.uhn.hl7v2.testpanel.controller.Controller.addMessage(Controller.java:218)
at ca.uhn.hl7v2.testpanel.ui.AddMessageDialog$1.actionPerformed(AddMessageDialog.java:241)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.plaf.basic.BasicButtonListener.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.WaitDispatchSupport$2.run(Unknown Source)
at java.awt.WaitDispatchSupport$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.awt.WaitDispatchSupport.enter(Unknown Source)
at java.awt.Dialog.show(Unknown Source)
at java.awt.Component.show(Unknown Source)
at java.awt.Component.setVisible(Unknown Source)
at java.awt.Window.setVisible(Unknown Source)
at java.awt.Dialog.setVisible(Unknown Source)
at ca.uhn.hl7v2.testpanel.controller.Controller.addMessage(Controller.java:182)
at ca.uhn.hl7v2.testpanel.ui.TestPanelWindow$4.actionPerformed(TestPanelWindow.java:336)
at javax.swing.AbstractButton.fireActionPerformed(Unknown Source)
at javax.swing.AbstractButton$Handler.actionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.fireActionPerformed(Unknown Source)
at javax.swing.DefaultButtonModel.setPressed(Unknown Source)
at javax.swing.AbstractButton.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI.doClick(Unknown Source)
at javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(Unknown Source)
at java.awt.Component.processMouseEvent(Unknown Source)
at javax.swing.JComponent.processMouseEvent(Unknown Source)
at java.awt.Component.processEvent(Unknown Source)
at java.awt.Container.processEvent(Unknown Source)
at java.awt.Component.dispatchEventImpl(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.LightweightDispatcher.retargetMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.processMouseEvent(Unknown Source)
at java.awt.LightweightDispatcher.dispatchEvent(Unknown Source)
at java.awt.Container.dispatchEventImpl(Unknown Source)
at java.awt.Window.dispatchEventImpl(Unknown Source)
at java.awt.Component.dispatchEvent(Unknown Source)
at java.awt.EventQueue.dispatchEventImpl(Unknown Source)
at java.awt.EventQueue.access$200(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.awt.EventQueue$3.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.awt.EventQueue$4.run(Unknown Source)
at java.security.AccessController.doPrivileged(Native Method)
at java.security.ProtectionDomain$1.doIntersectionPrivilege(Unknown Source)
at java.awt.EventQueue.dispatchEvent(Unknown Source)
at java.awt.EventDispatchThread.pumpOneEventForFilters(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForFilter(Unknown Source)
at java.awt.EventDispatchThread.pumpEventsForHierarchy(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.pumpEvents(Unknown Source)
at java.awt.EventDispatchThread.run(Unknown Source)

Discussion


Log in to post a comment.

Want the latest updates on software, tech news, and AI?
Get latest updates about software, tech news, and AI from SourceForge directly in your inbox once a month.