Commit 0df6f54b authored by Alexander Diewald's avatar Alexander Diewald
Browse files

DSE-CLI: Skip Validation if no Solution is Present

Issue-Ref: 4067

Signed-off-by: Alexander Diewald's avatarAlexander Diewald <>
parent 8241650a 4bdedc9265f4e058b9a44935f30820f0a58c1ab1 GREEN ccd942515f5490ff9ed6ece891f3ade206333a08 GREEN 47d7ffc80526e670ac149a2c18100ca6cc8ee19b GREEN 1b882428463c21c355d96c883af428d3fa4cce2d YELLOW
......@@ -96,6 +96,12 @@ public class ValidateDSESolutionCommandLineInterface implements ICommandLineSwit
SolutionSelectionStep solStep = (SolutionSelectionStep)currentStep;
SingleExplorationSolution singleSolution = solStep.getSelectedSolution();
if(singleSolution == null) {
info(AF3ExplorationActivator.getDefault(), "The DSE project " + matchingDSE.getName() +
" does not contain a solution that can be validated.");
boolean isSolutionValidated = false;
try {
isSolutionValidated = validateSingleSolution(solStep);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment