tango-controls-hdbpp / hdbpp-configurator

HDB++ Configurator GUI and java device server. Moved to https://gitlab.com/tango-controls/hdbpp/hdbpp-configurator
1 stars 1 forks source link

Hdb++ diagnostics can not be launched #3

Closed cmft closed 4 years ago

cmft commented 6 years ago

If for any reason one of the hdb++es-srv device server is off the diagnostics can not be done. Is it the expected behavior?

Pascal-Verdier commented 6 years ago

I has been fixed. But I don't remember when. The last version starts normally. Pascal

cmft commented 6 years ago

Thanks @Pascal-Verdier for your quick reply, We are using the latest version of this maven repo.

hdbpp-configurator-3.7.jar jhdbviewer-1.14.jar libhdbpp-java-1.21.jar

Is the fixed version packaged?

Pascal-Verdier commented 6 years ago

Yes. It is the latest revision. But, for me, it starts with a subscriber missing. I have just started one with a server missing, and there is no problem. See last one (Tests HDB++) hdb-diag

cmft commented 6 years ago

This error is only showed if the hdbconfigurator was launched with the ds stoped. If the ds is stopped while hdbconfigurator is running the error does not appear. screenshot_20181015_125119

Pascal-Verdier commented 6 years ago

In my case the server is stopped since 2 weeks ago. And the diagnostics windows starts normally. I have no explanation. I will investigate deeply soon.

Pascal-Verdier commented 6 years ago

I cannot reproduce your problem. Could you send me the stack trace (same as above but in trace pane) please.

cmft commented 6 years ago

Here you have it

fr.esrf.TangoApi.CommunicationFailed
 at
fr.esrf.TangoDs.Except.throw_communication_failed(Except.java:708)
fr.esrf.TangoDs.Except.throw_communication_failed(Except.java:646)
fr.esrf.TangoApi.ConnectionDAODefaultImpl.build_connection(ConnectionDAODefaultImpl.java:315)
fr.esrf.TangoApi.DeviceProxyDAODefaultImpl.read_attribute(DeviceProxyDAODefaultImpl.java:1378)
fr.esrf.TangoApi.DeviceProxyDAODefaultImpl.read_attribute(DeviceProxyDAODefaultImpl.java:1323)
fr.esrf.TangoApi.DeviceProxy.read_attribute(DeviceProxy.java:794)
org.tango.hdb_configurator.common.Subscriber.getStatisticsResetTime(Subscriber.java:181)
org.tango.hdb_configurator.diagnostics.HdbDiagnostics.initOwnComponents(HdbDiagnostics.java:183)
org.tango.hdb_configurator.diagnostics.HdbDiagnostics.<init>(HdbDiagnostics.java:117)
org.tango.hdb_configurator.diagnostics.HdbDiagnostics.<init>(HdbDiagnostics.java:103)
sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
java.lang.reflect.Constructor.newInstance(Constructor.java:423)
org.tango.hdb_configurator.common.Utils.startExternalApplication(Utils.java:213)
org.tango.hdb_configurator.common.Utils.startExternalApplication(Utils.java:197)
org.tango.hdb_configurator.configurator.HdbConfigurator.diagnosticsItemActionPerformed(HdbConfigurator.java:1148)
org.tango.hdb_configurator.configurator.HdbConfigurator.access$1700(HdbConfigurator.java:71)
org.tango.hdb_configurator.configurator.HdbConfigurator$15.actionPerformed(HdbConfigurator.java:831)
javax.swing.AbstractButton.fireActionPerformed(AbstractButton.java:2022)
javax.swing.AbstractButton$Handler.actionPerformed(AbstractButton.java:2348)
javax.swing.DefaultButtonModel.fireActionPerformed(DefaultButtonModel.java:402)
javax.swing.DefaultButtonModel.setPressed(DefaultButtonModel.java:259)
javax.swing.AbstractButton.doClick(AbstractButton.java:376)
javax.swing.plaf.basic.BasicMenuItemUI.doClick(BasicMenuItemUI.java:842)
javax.swing.plaf.basic.BasicMenuItemUI$Handler.mouseReleased(BasicMenuItemUI.java:886)
java.awt.Component.processMouseEvent(Component.java:6539)
javax.swing.JComponent.processMouseEvent(JComponent.java:3324)
java.awt.Component.processEvent(Component.java:6304)
java.awt.Container.processEvent(Container.java:2239)
java.awt.Component.dispatchEventImpl(Component.java:4889)
java.awt.Container.dispatchEventImpl(Container.java:2297)
java.awt.Component.dispatchEvent(Component.java:4711)
java.awt.LightweightDispatcher.retargetMouseEvent(Container.java:4904)
java.awt.LightweightDispatcher.processMouseEvent(Container.java:4535)
java.awt.LightweightDispatcher.dispatchEvent(Container.java:4476)
java.awt.Container.dispatchEventImpl(Container.java:2283)
java.awt.Window.dispatchEventImpl(Window.java:2746)
java.awt.Component.dispatchEvent(Component.java:4711)
java.awt.EventQueue.dispatchEventImpl(EventQueue.java:760)
java.awt.EventQueue.access$500(EventQueue.java:97)
java.awt.EventQueue$3.run(EventQueue.java:709)
java.awt.EventQueue$3.run(EventQueue.java:703)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:84)
java.awt.EventQueue$4.run(EventQueue.java:733)
java.awt.EventQueue$4.run(EventQueue.java:731)
java.security.AccessController.doPrivileged(Native Method)
java.security.ProtectionDomain$JavaSecurityAccessImpl.doIntersectionPrivilege(ProtectionDomain.java:74)
java.awt.EventQueue.dispatchEvent(EventQueue.java:730)
org.GNOME.Accessibility.AtkWrapper$5.dispatchEvent(AtkWrapper.java:700)
java.awt.EventDispatchThread.pumpOneEventForFilters(EventDispatchThread.java:205)
java.awt.EventDispatchThread.pumpEventsForFilter(EventDispatchThread.java:116)
java.awt.EventDispatchThread.pumpEventsForHierarchy(EventDispatchThread.java:105)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:101)
java.awt.EventDispatchThread.pumpEvents(EventDispatchThread.java:93)
java.awt.EventDispatchThread.run(EventDispatchThread.java:82)
Pascal-Verdier commented 6 years ago

Hola Calos

Please, could you try with file at following link, if it fixes your problem. http://ftp.esrf.fr/pub/cs/tango/hdb++/

cmft commented 6 years ago

Hi @Pascal-Verdier, It solves the problem.

Pascal-Verdier commented 6 years ago

Ok I will release it. hdbpp-configurator-3.8.jar coming soon.