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:43:00 UTC

[jira] [Created] (NIFI-7178) JsonPathRowRecordReader throw nullpointer exception if DataType is null

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)