You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Joe Witt (Jira)" <ji...@apache.org> on 2020/03/09 18:50:00 UTC
[jira] [Updated] (NIFI-7178) JsonPathRowRecordReader throw
nullpointer exception if DataType is null
[ https://issues.apache.org/jira/browse/NIFI-7178?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Joe Witt updated NIFI-7178:
---------------------------
Fix Version/s: 1.11.4
> JsonPathRowRecordReader throw nullpointer exception if DataType is null
> -----------------------------------------------------------------------
>
> Key: NIFI-7178
> URL: https://issues.apache.org/jira/browse/NIFI-7178
> Project: Apache NiFi
> Issue Type: Bug
> Components: Extensions
> Affects Versions: 1.11.0, 1.11.1, 1.11.2, 1.11.3
> Reporter: Zoltán Kornél Török
> Assignee: Zoltán Kornél Török
> Priority: Major
> Fix For: 1.12.0, 1.11.4
>
> Time Spent: 1h
> Remaining Estimate: 0h
>
> h3. Problem
> If a field datatype is not available, then JsonPathRowRecordReader will throw an NPE:
> [https://github.com/apache/nifi/blob/master/nifi-nar-bundles/nifi-standard-services/nifi-record-serialization-services-bundle/nifi-record-serialization-services/src/main/java/org/apache/nifi/json/JsonPathRowRecordReader.java#L184]
>
> We need to extend that part with an NPE check
--
This message was sent by Atlassian Jira
(v8.3.4#803005)