Fix potential NullPointer in SchemaFileImport 92/107992/2
authorandre.schmid <andre.schmid@est.tech>
Tue, 19 May 2020 15:31:28 +0000 (16:31 +0100)
committerOfir Sonsino <ofir.sonsino@intl.att.com>
Sun, 24 May 2020 09:02:20 +0000 (09:02 +0000)
commitc8f88d9b496e8f10179bfc26a09a27386d156d47
treea5e7c5bac5921c95da9fe15cdb4f878ef9bb49b8
parent988c286efe09c01db6f2e41f0ce4b2f49f92d1a6
Fix potential NullPointer in SchemaFileImport

While reading the YAML to import, if the content was missing
the entry node_types it was causing a NullPointerException.
Also the exception was being suppressed, making very difficult
to understand what happened.

Change-Id: I44badbee1c739ddf6db08b4e518adb33c430fa84
Issue-ID: SDC-3070
Signed-off-by: andre.schmid <andre.schmid@est.tech>
asdctool/src/main/java/org/openecomp/sdc/asdctool/main/SdcSchemaFileImport.java