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

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

Commit 15a46ce589f2aff119bcc4b2be6ab3160b01469d in nifi's branch 
refs/heads/main from Peter Turcsanyi
[ https://gitbox.apache.org/repos/asf?p=nifi.git;h=15a46ce589 ]

NIFI-14553 Workaround for NPE in ListSmb due to DFS folders having no target 
mapping

This closes #9925.

Signed-off-by: Tamas Palfy <[email protected]>


> NPE in ListSmb due to DFS folders having no target mapping
> ----------------------------------------------------------
>
>                 Key: NIFI-14553
>                 URL: https://issues.apache.org/jira/browse/NIFI-14553
>             Project: Apache NiFi
>          Issue Type: Bug
>            Reporter: Peter Turcsanyi
>            Assignee: Peter Turcsanyi
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> When ListSmb is used for listing SMB Distributed File System (DFS) and there 
> is a leaf folder in the DFS namespace that has no target mapping, it results 
> in NullPointerException. Even though the unmapped folder is a configuration 
> issue in the DFS namespace, the processor should not fail with an unhandled 
> exception.
> The NPE comes from the underlying smbj library. Related bug report: 
> [https://github.com/hierynomus/smbj/issues/869]
> Until it is fixed in the 3rd party library, a workaround should be applied on 
> NiFi side.



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

Reply via email to