-
Feature Request
-
Resolution: Done
-
Major
-
2.10.1.Final
-
None
This command:
public class WindupWizard implements UIWizard, UICommand @Inject @WithAttributes(label = "Input", required = true, description = "Input File or Directory (a Directory is required for source mode)") private UIInput<FileResource<?>> input; @Override public void validate(UIValidationContext context) { FileResource<?> inputValue = this.input.getValue(); File inputFile = inputValue.getUnderlyingResourceObject();
Results in an NPE when the command is called using guided execution:
[Desktop]$ windup-migrate-app
Exception when parsing/running: windup-migrate-app , null
[Desktop]$