Uploaded image for project: 'Kafka'
  1. Kafka
  2. KAFKA-5807

Check Connector.config() and Transformation.config() returns a valid ConfigDef

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Resolved
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.0.0
    • Component/s: None
    • Labels:
      None

      Description

      NPE is thrown when a developer returns a null when overloading Connector.validate().

      [2017-08-23 13:36:30,086] ERROR Stopping after connector error (org.apache.kafka.connect.cli.ConnectStandalone:99)
      java.lang.NullPointerException
              at org.apache.kafka.connect.connector.Connector.validate(Connector.java:134)
              at org.apache.kafka.connect.runtime.AbstractHerder.validateConnectorConfig(AbstractHerder.java:254)
              at org.apache.kafka.connect.runtime.standalone.StandaloneHerder.putConnectorConfig(StandaloneHerder.java:158)
              at org.apache.kafka.connect.cli.ConnectStandalone.main(ConnectStandalone.java:93)
      

        Attachments

          Activity

            People

            • Assignee:
              jcustenborder Jeremy Custenborder
              Reporter:
              jcustenborder Jeremy Custenborder
            • Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: