Uploaded image for project: 'Apache NiFi'
  1. Apache NiFi
  2. NIFI-4593

NoClassDefFoundError when using HortonworksSchemaRegistry

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • 1.4.0
    • 1.5.0
    • Extensions
    • None

    Description

      This appears to be a regression from the introduction of the newer Jersey (NIFI-4444) or Jackson (NIFI-4297) dependency and their transitive dependencies.

      java.lang.NoClassDefFoundError: com/fasterxml/jackson/core/TreeNode
              at org.apache.nifi.schemaregistry.hortonworks.HortonworksSchemaRegistry.getClient(HortonworksSchemaRegistry.java:144)
              at org.apache.nifi.schemaregistry.hortonworks.HortonworksSchemaRegistry.retrieveSchema(HortonworksSchemaRegistry.java:228)
              at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
              at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)
              at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)
              at java.lang.reflect.Method.invoke(Method.java:497)
              at org.apache.nifi.controller.service.StandardControllerServiceInvocationHandler.invoke(StandardControllerServiceInvocationHandler.java:89)
              at com.sun.proxy.$Proxy113.retrieveSchema(Unknown Source)
              at org.apache.nifi.schema.access.SchemaNamePropertyStrategy.getSchema(SchemaNamePropertyStrategy.java:53)
              at org.apache.nifi.serialization.SchemaRegistryService.getSchema(SchemaRegistryService.java:117)
              at org.apache.nifi.csv.CSVReader.createRecordReader(CSVReader.java:108)
      

      Attachments

        Issue Links

          Activity

            People

              mcgilman Matt Gilman
              mcgilman Matt Gilman
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: