nifi-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Zoltán Kornél Török (Jira) <j...@apache.org>
Subject [jira] [Updated] (NIFI-7178) JsonPathRowRecordReader throw nullpointer exception if DataType is null
Date Fri, 21 Feb 2020 13:44:00 GMT

     [ 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)

Mime
View raw message