[
https://issues.apache.org/jira/browse/NIFI-4593?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Bryan Bende updated NIFI-4593:
------------------------------
Resolution: Fixed
Fix Version/s: 1.5.0
Status: Resolved (was: Patch Available)
> NoClassDefFoundError when using HortonworksSchemaRegistry
> ---------------------------------------------------------
>
> Key: NIFI-4593
> URL: https://issues.apache.org/jira/browse/NIFI-4593
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.4.0
> Reporter: Matt Gilman
> Assignee: Matt Gilman
> Fix For: 1.5.0
>
>
> This appears to be a regression from the introduction of the newer Jersey
> (NIFI-4444) or Jackson (NIFI-4297) dependency and their transitive
> dependencies.
> {code}
> 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)
> {code}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)