Mantis - Resin
Viewing Issue Advanced Details
3498 minor always 05-09-09 16:48 05-27-09 16:32
skot  
ferg  
normal  
closed 4.0.1  
fixed  
none    
none 4.0.1  
0003498: ResinEmbed requires <cluster id=""> && <server id="">
If the cluster-id is an empty string then the constructor fails:

    _cluster = _resin.findCluster(""); // _cluster is null
    _clusterServer = _cluster.findServer("") // server is null, and ports will addPort will fail.

This will probably be likely if you use your own config file to construct ResinEmbed (or the default one)
It seems like taking the first cluster (which most of the time will be the only one) would be a safer way to go.

Notes
(0004043)
ferg   
05-27-09 16:32   
server/1e06