Uploaded image for project: 'Debezium'
  1. Debezium
  2. DBZ-6249

Wrong error thrown when snapshot.custom_class=custom and no snapshot.custom.class

XMLWordPrintable

      What behaviour do you expect?

      Error 

      Connector configuration is not valid. The 'snapshot.custom.class' value is invalid: snapshot.custom_class cannot be empty when snapshot.mode 'custom' is defined

      What behaviour do you see?

      Error 

      java.lang.NullPointerException: Cannot invoke "String.isEmpty()" because the return value of "io.debezium.config.Configuration.getString(io.debezium.config.Field)" is null

       

              Unassigned Unassigned
              nirnir93 Niro Levy (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

                Created:
                Updated:
                Resolved: