[jcifs] SmbFile.getParent() NullPointerException

David Kaelbling dkaelbling at blackducksoftware.com
Fri Nov 12 15:52:47 MST 2010


Hi,

Sample code I can do!  Please see the attachment.  Running it I see:

twinkie 9> java -cp ../jcifs-1.3.15.jar:. ParentTest
getParent(smb:////) => Exception in thread "main"
java.lang.NullPointerException
	at jcifs.smb.SmbFile.getParent(SmbFile.java:1090)
	at ParentTest.main(ParentTest.java:7)

  - David

On Fri, 2010-11-12 at 17:44 -0500, Michael B Allen wrote:
> Hi David,
> 
> Can you post a fragment of code that you think would reproduce the
> NPE? That will make the TODO entry crystal clear.
> 
> Thanks for the feedback.
> 
> Mike
> 

-- 
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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ParentTest.java
Type: text/x-java
Size: 279 bytes
Desc: not available
URL: <http://lists.samba.org/pipermail/jcifs/attachments/20101112/c527b03c/attachment.java>


More information about the jCIFS mailing list