NullPointerException at listFiles

[email protected]
Newsgroups gmane.network.samba.java
Message-ID <9d5d0c67-14a1-3d06-987c-6181d63ba639@api105>
Hi All,

I recursively use SmbFile#listFiles method to access all folder and files.
At first, the method correctly works.
However I have the NullPointerException in about 10 minutes. 

This problem may be network environment.
But if you have any ideas to modify this problem by setting up JCIFS property,
teach me how to use the way.

<environment>
JCIFS : 1.3.16
Network access : using DFS

<stacktrace>
java.util.NullPointerException
at jcifs.smb.Dfs.resolve(Dfs.java:169)
at jcifs.smb.SmbFile.resolveDfs(SmbFile.java:671)
at jcifs.smb.SmbFile.send(SmbFile.java:773)
at jcifs.smb.SmbFile.doFindFirstNext(SmbFile.java:1986)
at jcifs.smb.SmbFile.doEnum(SmbFile.java:1738)
at jcifs.smb.SmbFile.listFiles(SmbFile.java:1715)
at jcifs.smb.SmbFile.listFiles(SmbFile.java:1704)

Thanks,
Dora
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.