You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@nifi.apache.org by "Zsihovszki Krisztina (Jira)" <ji...@apache.org> on 2021/02/18 11:19:00 UTC
[jira] [Created] (NIFI-8235) UnsupportedOperationException during
PutAccumuloRecord validation
Zsihovszki Krisztina created NIFI-8235:
------------------------------------------
Summary: 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.4, 1.11.3, 1.11.2, 1.11.1, 1.11.0
Reporter: Zsihovszki Krisztina
Attachments: Screenshot 2021-02-17 at 14.03.14.png
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)