<html>
  <head>
    <meta content="text/html; charset=ISO-8859-1"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    Thank you, thank you, thank you!<br>
    <br>
    That fixed the problem. Thanks for the quick response.<br>
    <br>
    Simon<br>
    <br>
    On 4/16/2012 5:40 PM, Gabor Herr wrote:
    <blockquote
cite="mid:CACH_Ci9DjPa1Z_aMkHN=SefaM+zXszOwwk_U9uze25wfmKUgFA@mail.gmail.com"
      type="cite">
      <p>Hi Simon,</p>
      <p>This sounds very similar to our jcifs problem reported in <a
          moz-do-not-send="true"
          href="https://lists.samba.org/archive/jcifs/2012-March/009874.html">https://lists.samba.org/archive/jcifs/2012-March/009874.html</a></p>
      <p>Maybe you could give a try with the patch suggested in my post.
        It should also work with version 1.3.17.</p>
      <p>Good luck...</p>
      <p>Gabor</p>
      <p>Am 16.04.2012 21:59 schrieb "Simon Weatherill" <<a
          moz-do-not-send="true"
          href="mailto:simon-samba@weatherill.org">simon-samba@weatherill.org</a>>:<br>
        ><br>
        > I've been seeing many errors that have a final stack trace
        of<br>
        > jcifs.smb.Dfs.resolve(Dfs.java:169) (jCIFS 1.3.17):<br>
        ><br>
        > java.lang.NullPointerException<br>
        >        at jcifs.smb.Dfs.resolve(Dfs.java:169)<br>
        >        at jcifs.smb.SmbFile.resolveDfs(SmbFile.java:671)<br>
        >        at jcifs.smb.SmbFile.getDfsPath(SmbFile.java:1536)<br>
        >        at ListFiles.main(ListFiles.java:45)<br>
        ><br>
        > I'm using a slightly modified ListFiles.java to test this.
        I have a list<br>
        > of 12608 directories, which all exist. If I invoke
        ListFiles for each<br>
        > directory separately, it completes fine. If I invoke it
        once for all<br>
        > directories, it will fail after reading about 3000
        directories. If I add<br>
        > a test to see if the path exists before calling
        listFiles(), the problem<br>
        > goes away. I don't know if it is an issue of timing or
        whether the<br>
        > exists() call does something that avoids the problem. Once
        the problem<br>
        > starts all remaining  directories have the same problem.<br>
        ><br>
        > I added a getDfsPath() call (and printed the result)
        thinking that might<br>
        > point in a particular direction. When I add this, it fails
        on the<br>
        > getDfsPath() before it gets to getFiles().<br>
        ><br>
        > We're using jCIFS in an RMI server that is always running.
        We can clear<br>
        > up the problem by restarting the server, but it comes back.<br>
        ><br>
        > Any ideas?<br>
        ><br>
        > Thanks,<br>
        > Simon<br>
      </p>
    </blockquote>
  </body>
</html>