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] [Created] (NIFI-7178) JsonPathRowRecordReader throw nullpointer exception if DataType is null
Date Fri, 21 Feb 2020 13:43:00 GMT
Zoltán Kornél Török created NIFI-7178:
-----------------------------------------

             Summary: 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
            Reporter: Zoltán Kornél Török
            Assignee: Zoltán Kornél Török


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