String versionId = options.getVersion();
FabricService service = fabricService.get();
Map<String, String> configOverlay = new HashMap<String, String>();
Map<String, String> envVarsOverlay = new HashMap<String, String>();
Map<String, String> ports = null;
<BUG>Map<String, String> dockerProviderConfig = new HashMap<String, String>();
Version version = null;</BUG>
if (profiles != null && versionId != null) {
version = service.getVersion(versionId);
if (version != null) {

String versionId = options.getVersion();
FabricService service = fabricService.get();
Map<String, String> configOverlay = new HashMap<String, String>();
Map<String, String> envVarsOverlay = new HashMap<String, String>();
Map<String, String> ports = null;
Map<String, String> dockerProviderConfig = new HashMap<String, String>();
List<Profile> profileOverlays = new ArrayList<Profile>();
Version version = null;
if (profiles != null && versionId != null) {
version = service.getVersion(versionId);
if (version != null) {
