diff --git a/CHANGELOG.md b/CHANGELOG.md
index 41a9705..fda5d60 100644
--- a/CHANGELOG.md
+++ b/CHANGELOG.md
@@ -2,8 +2,12 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
# 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]
- Changed the way to manage scheduled thread termination [#18547]
diff --git a/pom.xml b/pom.xml
index d258fa9..42cd8d1 100644
--- a/pom.xml
+++ b/pom.xml
@@ -10,7 +10,7 @@
org.gcube.data.publishing
document-store-lib
- 3.0.0
+ 3.0.1-SNAPSHOT
Document Store Library
Document Store Library:
diff --git a/src/main/java/org/gcube/documentstore/records/implementation/AbstractRecord.java b/src/main/java/org/gcube/documentstore/records/implementation/AbstractRecord.java
index c87e7e6..b020363 100644
--- a/src/main/java/org/gcube/documentstore/records/implementation/AbstractRecord.java
+++ b/src/main/java/org/gcube/documentstore/records/implementation/AbstractRecord.java
@@ -409,7 +409,7 @@ public abstract class AbstractRecord implements Record {
return null;
}
} 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;
}
}