diff options
author | Jozsef Csongvai <jozsef.csongvai@bell.ca> | 2020-07-21 16:15:56 -0400 |
---|---|---|
committer | KAPIL SINGAL <ks220y@att.com> | 2020-07-25 19:20:09 +0000 |
commit | a021db8db891639072592ffb9729c8cead791981 (patch) | |
tree | b02943ba3e045e06a0121cacb587e9694e580c4d | |
parent | 129e03c017058907a2d9c4187da0fbeca932244c (diff) |
Fix NullpointerException in ErrorCatalogLoadPropertyService
Issue-ID: CCSDK-2585
Signed-off-by: Jozsef Csongvai <jozsef.csongvai@bell.ca>
Change-Id: I77864c7bd82033b7155572fd3a60c6cf88739f96
(cherry picked from commit e6a5b4203976b7969bc19199d24a63c7c1eb11df)
-rw-r--r-- | ms/error-catalog/services/src/main/kotlin/org/onap/ccsdk/cds/error/catalog/services/ErrorCatalogLoadService.kt | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ms/error-catalog/services/src/main/kotlin/org/onap/ccsdk/cds/error/catalog/services/ErrorCatalogLoadService.kt b/ms/error-catalog/services/src/main/kotlin/org/onap/ccsdk/cds/error/catalog/services/ErrorCatalogLoadService.kt index ca7d72b50..df13724c6 100644 --- a/ms/error-catalog/services/src/main/kotlin/org/onap/ccsdk/cds/error/catalog/services/ErrorCatalogLoadService.kt +++ b/ms/error-catalog/services/src/main/kotlin/org/onap/ccsdk/cds/error/catalog/services/ErrorCatalogLoadService.kt @@ -140,7 +140,7 @@ open class ErrorCatalogLoadPropertyService(private var errorCatalogProperties: E log.error("Application ID: ${errorCatalogProperties.applicationId} > Fail to load property file " + "'$propertyFileName' for message errors.") } finally { - inputStream!!.close() + inputStream?.close() } return props } |