diff --git a/logicaldoc-core/src/main/java/com/logicaldoc/core/stats/StatsCollector.java b/logicaldoc-core/src/main/java/com/logicaldoc/core/stats/StatsCollector.java index d627591ea..6d55b7fdf 100644 --- a/logicaldoc-core/src/main/java/com/logicaldoc/core/stats/StatsCollector.java +++ b/logicaldoc-core/src/main/java/com/logicaldoc/core/stats/StatsCollector.java @@ -820,6 +820,7 @@ protected void saveStatistic(String parameter, Object val, long tenantId) throws case Date dateVal -> gen.setDate1(dateVal); case String stringVal -> gen.setString1(stringVal); case Integer intVal -> gen.setInteger1(intVal.longValue()); + case Long longVal -> gen.setInteger1(longVal); default -> gen.setInteger1(null); }