[jcifs] SmbFile.getParent() NullPointerException

Michael B Allen ioplex at gmail.com
Fri Nov 12 15:54:23 MST 2010


Actually can you just inline the fragment?

On Fri, Nov 12, 2010 at 5:52 PM, David Kaelbling
<dkaelbling at blackducksoftware.com> wrote:
> 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
>



-- 
Michael B Allen
Java Active Directory Integration
http://www.ioplex.com/


More information about the jCIFS mailing list