[jcifs] NullPointerException in SmbSession.getChallengeForDomain

Bedford, Joel Joel.Bedford at auspost.com.au
Sun Aug 19 23:59:30 GMT 2007


Hi all,

 

Managed to get a NullPointerException in SmbSession.getChallengeForDomain. 

 

This seems to occur when, for what ever reason a domain controller can't be
located and this same method throws UnknownHostException. When the next
request comes thru to this same method the line 

 

if (dc_list_expiration < now) { 

 

Prevents the domain controller being looked up, we then end up at 

 

int max = Math.min( dc_list.length, LOOKUP_RESP_LIMIT ); 

 

This line then throws a NullPointException because dc_list is null.

 

Regards,

 

Joel





Australia Post is committed to providing our customers with excellent service. If we can assist you in any way please telephone 13 13 18 or visit our website.

The information contained in this e-mail communication may be proprietary, confidential or legally professionally privileged.  It is intended exclusively for the individual or entity to which it is addressed. You should only read, disclose, re-transmit, copy, distribute, act in reliance on or commercialise the information if you are authorised to do so. Australia Post does not represent, warrant or guarantee the integrity of this e-mail communication has been maintained nor that the communication is free of errors, virus or interference. 

If you are not the addressee or intended recipient please notify us by replying direct to the sender and then destroy any electronic or paper copy of this message. Any views expressed in this e-mail communication are taken to be those of the individual sender, except where the sender specifically attributes those views to Australia Post and is authorised to do so.
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list