[
https://issues.apache.org/jira/browse/NIFI-5244?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16492747#comment-16492747
]
ASF GitHub Bot commented on NIFI-5244:
--------------------------------------
Github user ottobackwards commented on the issue:
https://github.com/apache/nifi/pull/2742
So the issue was passing the optional instead of the value and never
finding the schema?
> MockSchemaRegistry retrieveSchemaByName is broken
> -------------------------------------------------
>
> Key: NIFI-5244
> URL: https://issues.apache.org/jira/browse/NIFI-5244
> Project: Apache NiFi
> Issue Type: Bug
> Reporter: Mike Thomsen
> Assignee: Mike Thomsen
> Priority: Major
>
> retrieveSchemaByName uses an optional, but never calls get() on the optional
> so the hashmap always returns null.
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)