You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Zoltán Kornél Török (Jira)" <ji...@apache.org> on 2020/02/21 13:44: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 ]

Zoltán Kornél Török updated NIFI-7178:
--------------------------------------
    Affects Version/s: 1.11.0
                       1.11.1
                       1.11.2

> 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
>    Affects Versions: 1.11.0, 1.11.1, 1.11.2
>            Reporter: Zoltán Kornél Török
>            Assignee: Zoltán Kornél Török
>            Priority: Major
>
> 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)