astor problem

Hi all,

astor hangs at execution on my debian 9 system. Using Tango 9.2.5.
same problem from another host with older astor (6.3.6)..

Does anyone have an idea of that ? thanks.
JCM

Trace below:

Display is localhost:10.0
Exception in thread "AWT-EventQueue-0" java.lang.NullPointerException
at admin.astor.tools.MySqlUtil.manageTangoHostProperties(MySqlUtil.java:231)
at admin.astor.AstorUtil.getTangoHostList(AstorUtil.java:714)
at admin.astor.AstorTree.initTangoObjects(AstorTree.java:375)
at admin.astor.AstorTree.initComponent(AstorTree.java:305)
at admin.astor.AstorTree.<init>(AstorTree.java:110)
at admin.astor.Astor.buildTree(Astor.java:181)
at admin.astor.Astor.<init>(Astor.java:107)
at admin.astor.Astor$35.run(Astor.java:1361)
at java.awt.event.InvocationEvent.dispatch(InvocationEvent.java:311)
at java.awt.EventQueue.dispatchEventImpl(EventQueue.java:758)
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.awt.EventQueue.dispatchEvent(EventQueue.java:728)
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)

(7.0.9) Starting….

Hi Jean-Claude
It seems like your control system does not have any Starter defined.
Is it right ?
If it is your case, create a Starter device with Jive and restart Astor.

I confess, it is a bug, the code does not check if the control has Starter device.
The Tango installation create by default a Starter device.

Regards
Pascal
Hi Pascal,

thanks for your answer, but i think a Starter is well defined and service running.

trace from 'service' linux command

[ + ] tango-db
[ + ] tango-starter


extract from from property_class of tango db

| Starter | AllowedAccessCmd | 1 | DevReadLog | 2018-04-10 21:30:05 | 2018-04-10 21:30:05 | NULL |
| Starter | AllowedAccessCmd | 2 | DevStart | 2018-04-10 21:30:05 | 2018-04-10 21:30:05 | NULL |
| Starter | AllowedAccessCmd | 3 | DevGetRunningServers | 2018-04-10 21:30:05 | 2018-04-10 21:30:05 | NULL |
| Starter | AllowedAccessCmd | 4 | DevGetStopServers | 2018-04-10 21:30:05 | 2018-04-10 21:30:05 | NULL |
| Starter | AllowedAccessCmd | 5 | UpdateServersInfo | 2018-04-10 21:30:05 | 2018-04-10 21:30:05 | NULL |
| Starter | ProjectTitle | 1 | Starter for Tango Administration | 2018-06-21 20:59:28 | 2018-06-21 20:59:28 | NULL |
| Starter | Description | 2 | It is able to start or stop and to report the status of these components. | 2018-06-21 20:59:28 | 2018-06-21 20:59:28 | NULL |
| Starter | svn_location | 1 | https://tango-cs.svn.sourceforge.net/svnroot/tango-cs/classes/cpp/starter $ | 2018-06-21 20:59:28 | 2018-06-21 20:59:28 | NULL |
| Starter | cvs_tag | 1 | Starter-Release-6.8 | 2018-06-21 20:59:28 | 2018-06-21 20:59:28 | NULL |
| Starter | doc_url | 1 | http://www.esrf.eu/computing/cs/tango/tango_doc/ds_doc/ | 2018-06-21 20:59:28 | 2018-06-21 20:59:28 | NULL |
| Starter | InheritedFrom | 1 | TANGO_BASE_CLASS | 2018-06-21 20:59:28 | 2018-06-21 20:59:28 | NULL |
| Starter | Description | 1 | This device server is able to control <b>Tango</b> components (database, device servers, clients…). | 2018-06-21 20:59:28 | 2018-06-21 20:59:28 | NULL |


FYI, there is no problem from another host (Tango 7.2.6) with older astor (5.4.1) !!!

Thanks,
JCM
Hi,

the problem was due to the Starter instance name that contained dots (.)

deleted it
recreated a new instance of the Starter, without dots
restarted the Starter

Well running now :)

Thanks
 
Register or login to create to post a reply.