[SDC-29] rebase continue work to align source
[sdc.git] / openecomp-be / lib / openecomp-sdc-vendor-software-product-lib / openecomp-sdc-vendor-software-product-core / src / main / java / org / openecomp / sdc / vendorsoftwareproduct / informationArtifact / impl / TxtInformationArtifactGeneratorImpl.java
index d150142..7efb704 100644 (file)
@@ -214,7 +214,7 @@ public class TxtInformationArtifactGeneratorImpl implements InformationArtifactG
         .getNetworkDescription(), TAB + TAB + TAB + TAB));
     networkOpt.ifPresent(network -> addEntryWithIndent(VNICS_NETWORK, network.toString(),
         TAB + TAB + TAB + TAB));
-    addEntryWithIndent(VNICS_PROTOCOLS, nicQuestionnaire.getProtocols().toString(),
+    addEntryWithIndent(VNICS_PROTOCOLS, nicQuestionnaire.getProtocols() == null ? "" : nicQuestionnaire.getProtocols().toString(),
         TAB + TAB + TAB + TAB);
 
     Optional<IpConfiguration> ipconfigOpt = Optional.of(nicQuestionnaire).map