[ 
https://issues.apache.org/jira/browse/NIFI-8235?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mark Payne resolved NIFI-8235.
------------------------------
    Fix Version/s: 1.14.0
       Resolution: Fixed

> UnsupportedOperationException during PutAccumuloRecord validation
> -----------------------------------------------------------------
>
>                 Key: NIFI-8235
>                 URL: https://issues.apache.org/jira/browse/NIFI-8235
>             Project: Apache NiFi
>          Issue Type: Bug
>          Components: Extensions
>    Affects Versions: 1.11.0, 1.11.1, 1.11.2, 1.11.3, 1.11.4
>            Reporter: Zsihovszki Krisztina
>            Priority: Minor
>             Fix For: 1.14.0
>
>         Attachments: Screenshot 2021-02-17 at 14.03.14.png
>
>          Time Spent: 0.5h
>  Remaining Estimate: 0h
>
> In case "Column Family" and "Column Family Field" properties are not set 
> properly on PutAccumuloRecord,  a bulletin error is reported with this 
> message: "Failed to perform validation due to 
> java.lang.UnsupportedOperationException". No error is logged in nifi logs.
> Remote debugging revealed that the exception is thrown from 
> PutAccumuloRecord.customValidate method.
> [https://github.com/apache/nifi/blob/f9ae3bb9c970cd8d6d1d9e10f07cab9bdb66baa9/nifi-nar-bundles/nifi-accumulo-bundle/nifi-accumulo-processors/src/main/java/org/apache/nifi/accumulo/processors/PutAccumuloRecord.java#L268]
> The method tries to add value to an immutable Collections.emptySet(), this is 
> why the UnsupportedOperationException is thrown and the validation error is 
> not reported properly.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to