[jcifs] NPE when trying to listFiles on SmbFile object

Jano Peti jano.peti at gmail.com
Wed Aug 5 01:04:59 MDT 2009


Michael B Allen <ioplex <at> gmail.com> writes:

> 
> Hi Jano,
> 
> That's definitely a bug. Try this package:
> 
>   http://207.192.69.113/~miallen/jcifs-1.3.12c.jar
>   http://207.192.69.113/~miallen/jcifs-1.3.12c.zip
>   http://207.192.69.113/~miallen/jcifs-1.3.12c.tgz
> 
> I suspect you don't have domain-based DFS so getTrustedDomains is
> returning null. I just needed to add a little clause to check for
> that.
> 
> Let me know how it goes either way so that I can push this out to the public.
> 
> Thanks,
> Mike
> 

Hi Mike,
its working. Thanks for fast correction. 
If something should come up I will post it.

Bye,
Jano




More information about the jcifs mailing list