This is an old revision of the document!
Known issues
This section is intended to contain the list of known issues that are not quick to solve i.e. those that occur in included libraries. If possible there is a workaround to the issue. This list does not replace the bugtracking tool for CzechIdM - https://redmine.czechidm.com
Model mapper
Converter lib error - Sometimes the error `org.modelmapper.MappingException: ModelMapper mapping errors: Converter org.modelmapper.internal.converter.CollectionConverter@7214dbf8 failed to convert` occures. It is caused by the bug in the library "ModelMapper". Workaround is to restart the CzechIdM system. May be fixed in new version of ModelMapper - more info at https://github.com/modelmapper/modelmapper/commit/06dcce414ad56c6d200dda67fcd2670e9933c9ed
Flyway
To prevent application startup fails due to Flyway error, property -Djava.util.Arrays.useLegacyMergeSort=true
has to be added into environment properties. If property is not set, then application can fail on error:
Error creating bean with name 'flywayCore' defined in class path resource [eu/bcvsolutions/idm/core/config/flyway/CoreFlywayConfig.class]: Initialization of bean failed; nested exception is java.lang.IllegalArgumentException: Comparison method violates its general contract!
-Djava.util.Arrays.useLegacyMergeSort=true