Skip to content

Commit

Permalink
NIFI-14223 - pg-import fix NPE when inputSource not specified
Browse files Browse the repository at this point in the history
  • Loading branch information
pvillard31 committed Feb 3, 2025
1 parent 2ca59d7 commit 1668bb1
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,7 @@ public StringResult doExecute(final NiFiClient client, final Properties properti

final boolean posXExists = StringUtils.isNotBlank(posXStr);
final boolean posYExists = StringUtils.isNotBlank(posYStr);
final File input = new File(inputSource);
final File input = StringUtils.isBlank(inputSource) ? null : new File(inputSource);

if (StringUtils.isBlank(inputSource)) {
if (StringUtils.isBlank(bucketId)) {
Expand Down

0 comments on commit 1668bb1

Please sign in to comment.