Uploaded image for project: 'Content IO'
  1. Content IO
  2. CONTENTIO-295

NULL SQL SCC fields that use 'TEXT' datatype aren't handled properly

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 3.13.7, 3.17.0
    • 3.13.4
    • None

      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

       

            Unassigned Unassigned
            jhawken James Hawken
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: