-
Notifications
You must be signed in to change notification settings - Fork 178
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
NPE in DiskShare #415
Comments
Any thoughts about this ? What can cause the problem ? The NPE occurs in the "if" line : Either "response" or the "fileAttributes" must be null but I'm not sure what kind of external configuration can cause this problem ... |
I have another hint: the DFS Resolution returns the same URL when the NPE is thrown .... |
shortly before this I make a call DiskShare.getFileInformation("" ) just to test the connection which returns with no exception. |
This could help... |
I seem to be getting the exact same exception at the exact same code lines. I have multiple DFS shares set up on various servers and it seems like only some encounter this problem. They are all in the same domain, same setup and all shares are set up in the same way. |
I found that at least in my case, the |
Hi, Got NPE with 0.9.1 : Caused by: java.lang.NullPointerException
at com.hierynomus.smbj.share.DiskShare.getDiskEntry(DiskShare.java:112)
at com.hierynomus.smbj.share.DiskShare.open(DiskShare.java:67)
at com.hierynomus.smbj.share.DiskShare.exists(DiskShare.java:187)
at com.hierynomus.smbj.share.DiskShare.folderExists(DiskShare.java:183)
Here are the last log lines before the exception:
2018-12-12 16:47:59,443|DFSPathResolver |INFO |DFS Share Net-... does not cover \path1 resolve through DFS
2018-12-12 16:47:59,443|DFSPathResolver |INFO |Starting DFS resolution for \path1
2018-12-12 16:47:59,443|DFSPathResolver |INFO |DFS resolved path1-> path2
What can be the problem ?
Thanks !
The text was updated successfully, but these errors were encountered: