Buggy code:
public class DefaultGatewayStorageService implements GatewayStorageService { protected static final Loggerf log = Loggerf . getLogger ( DefaultGatewayStorageService . class ) ; private String defaultPlatform ; private GatewayDatastore store ; @ Override public String getPlatformForClient ( JID clientJid ) { } @ Override public GatewayClient registerClient ( String appId , JID clientJid ) throws GatewayException { } @ Override public GatewayClient unregisterClient ( JID clientJid ) throws GatewayException { } @ Override public List < RayoNode > getRayoNodes ( String platformId ) { } @ Override public RayoNode registerRayoNode ( String rayoNode , Collection < String > platformIds ) throws GatewayException { } @ Override public RayoNode registerRayoNode ( RayoNode rayoNode ) throws GatewayException { RayoNode node = store . getNode ( rayoNode . getHostname ( ) ) ; if ( node != null ) { if ( node . toString ( ) . equals ( rayoNode . toString ( ) ) ) { DefaultGatewayStorageService . log . debug ( "Rayo<seq2seq4repair_space>Node<seq2seq4repair_space>[%s]<seq2seq4repair_space>already<seq2seq4repair_space>exists.<seq2seq4repair_space>Ignoring<seq2seq4repair_space>status<seq2seq4repair_space>update." , rayoNode ) ; return node ; } else { DefaultGatewayStorageService . log . debug ( "Rayo<seq2seq4repair_space>Node<seq2seq4repair_space>[%s]<seq2seq4repair_space>has<seq2seq4repair_space>been<seq2seq4repair_space>updated.<seq2seq4repair_space>Updating<seq2seq4repair_space>storage<seq2seq4repair_space>service." , rayoNode ) ; <START_BUG> store . updateNode ( node ) ; <END_BUG> } } try { if ( ( rayoNode . getIpAddress ( ) ) == null ) { rayoNode . setIpAddress ( InetAddress . getByName ( rayoNode . getHostname ( ) ) . getHostAddress ( ) ) ; } return store . storeNode ( rayoNode ) ; } catch ( UnknownHostException uhe ) { throw new GatewayException ( "Unknown<seq2seq4repair_space>host" , uhe ) ; } } @ Override public RayoNode updateRayoNode ( RayoNode rayoNode ) throws GatewayException { } @ Override public Collection < String > getRegisteredPlatforms ( ) { } @ Override public void unregisterRayoNode ( String rayoNode ) throws GatewayException { } @ SuppressWarnings ( "unchecked" ) @ Override public Collection < String > getCallsForClient ( String clientJid ) { } @ SuppressWarnings ( "unchecked" ) @ Override public Collection < String > getCallsForNode ( String nodeJid ) { } @ Override public void registerCall ( String callId , String clientJid ) throws GatewayException { } @ Override public void unregistercall ( String callId ) throws GatewayException { } @ Override public String getclientJID ( String callId ) { } @ Override public void registerClientResource ( String appId , JID clientJid ) throws GatewayException { } @ Override public void unregisterClientResource ( JID clientJid ) throws GatewayException { } @ SuppressWarnings ( "unchecked" ) @ Override public List < String > getResourcesForClient ( String jid ) { } @ Override public List < String > getClients ( ) { } @ Override public String getRayoNode ( String callId ) { } @ Override public Application registerApplication ( Application application ) throws DatastoreException { } @ Override public Application unregisterApplication ( String appId ) throws DatastoreException { } public void setStore ( GatewayDatastore store ) { } public void setDefaultPlatform ( String defaultPlatform ) { } }

Fix:
return store . updateNode ( node ) ;