Peter Turcsanyi created NIFI-14553:
--------------------------------------

             Summary: 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


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