[jcifs] SmbFile.getParent() NullPointerException
David Kaelbling
dkaelbling at blackducksoftware.com
Fri Nov 12 14:03:59 MST 2010
Hi,
Ah, the joys of unit tests :-) In jcifs-1.3.15 SmbFile.getParent() says
that "smb://" is returned as its own parent. Not so -- smb:// has null
authority, so getParent() ends up throwing NullPointerException.
I suspect that getCanonicalPath() has the same problem, although I
haven't checked.
- David
--
David Kaelbling
Senior Software Engineer
Black Duck Software, Inc.
dkaelbling at blackducksoftware.com
T +1.781.810.2041
F +1.781.891.5145
http://www.blackducksoftware.com
More information about the jCIFS
mailing list