Steps to reproduce bug:
- Configure a sql datasource with at least one column that uses the "TEXT" datatype
- Add an entry to the sql table making sure that at least one of the fields that uses the "TEXT" datatype is null
- Configure a user directory scc with the newly created datasource
- Synchronise
Bug:
An exception occurred during the execution of the Schedulable 'org.ametys.plugins.contentio.synchronize.SynchronizeCollectionSchedulable' Caused by: org.apache.ibatis.executor.result.ResultMapException: Error attempting to get column 'telinterne' from result set. Cause: java.lang.NullPointerException: Cannot invoke "java.sql.Clob.free()" because "clob" is null at org.apache.ibatis.type.BaseTypeHandler#getResult:87 Caused by: java.lang.NullPointerException: Cannot invoke "java.sql.Clob.free()" because "clob" is null