Fixed log

This commit is contained in:
Luca Frosini 2021-05-25 11:07:14 +02:00
parent 7268dc7a72
commit 7a00eda3fa
3 changed files with 7 additions and 3 deletions

View File

@ -2,8 +2,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# Changelog for Document Store Library # Changelog for Document Store Library
## [v3.0.1]
## [v3.0.0] [r5.0.0] - - Fixed log which causes null pointer exception in case of null value provided
## [v3.0.0]
- Switched JSON management to gcube-jackson [#19115] - Switched JSON management to gcube-jackson [#19115]
- Changed the way to manage scheduled thread termination [#18547] - Changed the way to manage scheduled thread termination [#18547]

View File

@ -10,7 +10,7 @@
<groupId>org.gcube.data.publishing</groupId> <groupId>org.gcube.data.publishing</groupId>
<artifactId>document-store-lib</artifactId> <artifactId>document-store-lib</artifactId>
<version>3.0.0</version> <version>3.0.1-SNAPSHOT</version>
<name>Document Store Library</name> <name>Document Store Library</name>
<description> <description>
Document Store Library: Document Store Library:

View File

@ -409,7 +409,7 @@ public abstract class AbstractRecord implements Record {
return null; return null;
} }
} catch (InvalidValueException e) { } catch (InvalidValueException e) {
logger.error(String.format("The provided value %s is NOT valid for field with key %s.", checkedValue.toString(), key)); logger.error(String.format("The provided value %s is NOT valid for field with key %s.", checkedValue, key));
throw e; throw e;
} }
} }