if ( dbParent.getEObject() == null ) {
DBPlugin.popup(Level.Error, "Cannot import connection ("+result.getString("id").trim()+") as we do not know its parent ("+result.getString("parent").trim()+")");
break;</BUG>
}
}
<BUG>DBObject dbSource = new DBObject(_dbModel, ArchimateModelUtils.getObjectByID(_dbModel.getModel(), _dbModel.getVersionnedId(result.getString("source"))));
if ( dbSource.getEObject() == null )</BUG>
DBPlugin.popup(Level.Error,  "Cannot found source "+result.getString("source"));
<BUG>DBObject dbTarget = new DBObject(_dbModel, ArchimateModelUtils.getObjectByID(_dbModel.getModel(), _dbModel.getVersionnedId(result.getString("target"))));
if ( dbTarget.getEObject() == null )</BUG>
DBPlugin.popup(Level.Error,  "Cannot found target "+result.getString("target"));

if ( dbParent.getEObject() == null ) {
DBPlugin.popup(Level.Error, "Cannot import connection ("+result.getString("id")+") as we do not know its parent ("+result.getString("parent")+")");
break;
}
}
DBObject dbSource = new DBObject(_dbModel, _dbModel.generateId(result.getString("source")));
if ( dbSource.getEObject() == null )
DBPlugin.popup(Level.Error,  "Cannot found source "+result.getString("source"));
DBObject dbTarget = new DBObject(_dbModel, _dbModel.generateId(result.getString("target")));
if ( dbTarget.getEObject() == null )
DBPlugin.popup(Level.Error,  "Cannot found target "+result.getString("target"));
