EA-44482 - NPE: ModuleBuilder.modifySettingsStep

This commit is contained in:
Dmitry Avdeev
2013-03-04 18:51:56 +04:00
parent 5970528c58
commit cf0448150f
@@ -182,7 +182,7 @@ public class RemoteTemplatesFactory extends ProjectTemplatesFactory {
static List<WizardInputField> getFields(Element templateElement, final Namespace ns) {
//noinspection unchecked
return ContainerUtil.map(templateElement.getChildren(INPUT_FIELD, ns), new Function<Element, WizardInputField>() {
return ContainerUtil.mapNotNull(templateElement.getChildren(INPUT_FIELD, ns), new Function<Element, WizardInputField>() {
@Override
public WizardInputField fun(Element element) {
ProjectTemplateParameterFactory factory = WizardInputField.getFactoryById(element.getText());