[jcifs] FW: NullPointerException in UniAddress
Allen, Michael B (RSCH)
Michael_B_Allen at ml.com
Mon Nov 11 11:40:09 EST 2002
Apparently I mixed up some code somewhere. The 0.7.0b7 code is missing
some updates. I think I screwed up my files. I have found some code that has
two updates but I will have to compare it to code at home. I know I ran an error
like this in the course of making name service deadlock fixes.
> -----Original Message-----
> From: Allen, Michael B (RSCH) [SMTP:Michael_B_Allen at ml.com]
> Sent: Sunday, November 10, 2002 4:55 PM
> To: 'jcifs at samba.org'
> Subject: [jcifs] FW: NullPointerException in UniAddress
> > -----Original Message-----
> > From: Matthew Tippett [SMTP:matthew at casero.com]
> > Sent: Friday, November 08, 2002 7:05 PM
> > To: Michael_B_Allen at ml.com
> > Cc: 'Sujit Jagdev'
> > Subject: NullPointerException in UniAddress
> > Michael here should be an easy kill (I think :).
> > jcifs-0.7.0b7
> > java.lang.NullPointerException
> > at jcifs.UniAddress.lookupServerOrWorkgroup(UniAddress.java:143)
> > at jcifs.UniAddress.getByName(UniAddress.java:228)
> > at jcifs.smb.SmbFile.getAddress(SmbFile.java:457)
> > at jcifs.smb.SmbFile.connect(SmbFile.java:487)
> > at jcifs.smb.SmbFile.connect0(SmbFile.java:464)
> > at jcifs.smb.SmbFile.sendTransaction(SmbFile.java:440)
> > at jcifs.smb.SmbFile.listFiles(SmbFile.java:1293)
> > at jcifs.smb.SmbFile.listFiles(SmbFile.java:1205)
> > at CIFSCrawler.listFilesWithAuth(CIFSCrawler.java:105)
> > at CIFSCrawler.main(CIFSCrawler.java:81)
> > This is caused by an assumption in lookupServerOrWorkgroup() that the
> > only other error condition is a unknownHostException. Unfortunately I
> > think it is just a timeout or something similar.
> > If you need me to test a replacement, drop me a line.
> > Regards,
> > Matthew
More information about the jcifs