-
-
Notifications
You must be signed in to change notification settings - Fork 98
Closed
Description
Hi, i'm creating an empty database and after that trying to get the count of the elements for an objectRepository (at begin i expect a 0) returns this exception:
I'm using something like this:
int count = objectRepository.find(ObjectFilters.ALL).totalCount()
And this is a part of the exception:
org.dizitart.no2.exceptions.ValidationException: NO2.1076: filter can not be null
at org.dizitart.no2.util.ValidationUtils.notNull(ValidationUtils.java:76)
at org.dizitart.no2.objects.DefaultObjectRepository.find(DefaultObjectRepository.java:188)