You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2020/02/22 19:08:00 UTC

[jira] [Commented] (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:comment-tabpanel&focusedCommentId=17042682#comment-17042682 ] 

ASF subversion and git services commented on NIFI-7178:
-------------------------------------------------------

Commit e631851e0f7e82b1e4bd33eb214fbd875a0d6cb1 in nifi's branch refs/heads/master from Zoltan Kornel Torok
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=e631851 ]

NIFI-7178 - Handle the case when schema is not available

Signed-off-by: Pierre Villard <pi...@gmail.com>

This closes #4067.


> 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
>          Time Spent: 40m
>  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)