[solved] astor error when adding a new FQDN hostname

Hello,
while adding a new host in Astor GUI, Astor GUI was interrupted, and when launching it again, wherever it is launched, I got this output in console:


$ astor
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)


Here is the progress bar displayed :


astor -ro and astor -db_ro does the same.

Do you have any idea what occurs, and how I can clean this mess?

Regards.
- Philippe
Edited 4 weeks ago
This issue was caused by the hostname added in fully qualified domain name (FQDN) HOSTNAME.domaine.name, all others host were added in simple hostname (OTHER_HOSTNAME).

In jive, there was Starter instances for HOSTNAME.domaine.name and HOSTNAME.

When I deleted the instance HOSTNAME.domaine.name and let only the instance HOSTNAME, Astor is fixed.
- Philippe
 
Register or login to create to post a reply.