if (nodes[i] == null)
if (nodes[j] == null)
  public boolean hasConfiguration() {    if (hosts.isEmpty() || nodes.isEmpty() || getAgents() == null || getAgents().length == 0) {      return false;    }    // An experiment has a configuration if it has at least one host    // which has at least one Node    // which has at least one Agent    HostComponent[] hosts = getHosts();    for (int i = 0; i < hosts.length; i++) {      if (hosts[i] == null)	continue;      NodeComponent[] nodes = hosts[i].getNodes();      for (int j = 0; j < nodes.length; j++) {	if (nodes[i] == null)	  continue;	AgentComponent[] agents = nodes[j].getAgents();	if (agents.length > 0)	  return true;      } // loop over nodes in host    } // loop over hosts in experiment    return false;  }