[ 
https://issues.apache.org/jira/browse/NIFI-15724?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18066634#comment-18066634
 ] 

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

Commit 4140f38def78b9e2bdfb1aeee04484effb3e13f9 in nifi's branch 
refs/heads/main from Pierre Villard
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=4140f38def7 ]

NIFI-15724 Fixed Record CHOICE Type conversion for Arrays containing null 
elements (#11017)

Signed-off-by: David Handermann <[email protected]>

> Fix CHOICE type conversion failure for arrays containing null elements
> ----------------------------------------------------------------------
>
>                 Key: NIFI-15724
>                 URL: https://issues.apache.org/jira/browse/NIFI-15724
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Core Framework
>            Reporter: Pierre Villard
>            Assignee: Pierre Villard
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> {code:java}
> UpdateRecord[id=bf74490f-20c8-346d-8f94-d901063e7308] Failed to process 
> FlowFile[filename=9407f017-f514-44fe-a84b-b85b260c8782]; will route to 
> failure: org.apache.nifi.processor.exception.ProcessException: Could not 
> parse incoming data- Caused by: 
> org.apache.nifi.serialization.MalformedRecordException: Successfully parsed a 
> JSON object from input but failed to convert into a Record object with the 
> given schema- Caused by: 
> org.apache.nifi.serialization.record.util.IllegalTypeConversionException: 
> Cannot convert value [[Ljava.lang.Object;@40a1c177] of type class 
> [Ljava.lang.Object; for field changes.config to any of the following 
> available Sub-Types for a Choice: [ARRAY[RECORD], ARRAY[INT]] {code}



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to