[
https://issues.apache.org/jira/browse/NIFI-8014?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre Villard resolved NIFI-8014.
----------------------------------
Resolution: Feedback Received
Apache NiFi 1.x is no longer maintained and no new release is planned on the
1.x release line. Marking as resolved as part of a cleanup operation. Please
open a new one with an updated description if this is still relevant for NiFi
2.x.
> ExecuteSQLRecord crashes if no resultset
> ----------------------------------------
>
> Key: NIFI-8014
> URL: https://issues.apache.org/jira/browse/NIFI-8014
> Project: Apache NiFi
> Issue Type: Bug
> Components: Core Framework
> Affects Versions: 1.12.1
> Reporter: Michal Šunka
> Priority: Major
>
> If in ExecuteSQLRecord I has code which does not return a resultset e.g.
>
> {code:java}
> DECLARE @a int
> SET @a = 1
> {code}
> It fails with NullPointerException.
>
> I cannot give You exact error string since it is not selectable (handy, isn´t
> it?)...
> And picture-upload as attachment fails with "Jira could not attach the file
> as there was a missing token. Please try attaching the file again." Repeated
> attempts, drag'n'drop nor browse does not work...
> !NiFi_NullPointerException.jpg!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)