[jcifs] Exceptions in AndXServerMessageBlock Causing Timeout Errors

Barrasso, Charles Charles.Barrasso at paetec.com
Tue Aug 5 23:14:39 EST 2003


I am running version 0.7.1 of JCIFS.  It has been working fine since
January, but lately I've been getting null pointer exceptions in the
AndXServerMessageBlock class that apparently causes the socket reading
thread to die and a timeout exception to be thrown.  This appears to happen
at random, but about once every week.  None of this should matter, but for
background:  It only happens when transferring large files ~200mb+ to an EMC
Celerra.  This error hasn't appeared when transferring to any other servers,
however, the file sizes are relatively small ~10mb max. 

Anyone have any ideas on cause/troubleshooting/etc?

Is this a known issue that has been fixed by a later release of the library?
I don't want to upgrade/regression test unless this has been fixed.


Here is what I see in the logs:


2003/07/29 03:43:59 | java.lang.NullPointerException
2003/07/29 03:43:59 | 	at
jcifs.smb.AndXServerMessageBlock.readWireFormat(AndXServerMessageBlock.java:
90)
2003/07/29 03:43:59 | 	at jcifs.smb.SmbTransport.run(SmbTransport.java:374)
2003/07/29 03:43:59 | 	at java.lang.Thread.run(Thread.java:479)


2003/07/29 03:43:59 | Error Checking to see if file exists
smb://<<host>>/<<dir>>/<<dir>>/<<dir>>/
...
Caused by: jcifs.smb.SmbException: Timeout waiting for response from server.
<<host>>/<<ip>>
	at jcifs.smb.SmbTransport.send(SmbTransport.java:484)
 	at jcifs.smb.SmbSession.sessionSetup(SmbSession.java:126)
 	at jcifs.smb.SmbSession.send(SmbSession.java:102)
 	at jcifs.smb.SmbTree.treeConnect(SmbTree.java:132)
 	at jcifs.smb.SmbFile.connect(SmbFile.java:514)
 	at jcifs.smb.SmbFile.connect0(SmbFile.java:484)
 	at jcifs.smb.SmbFile.queryPath(SmbFile.java:857)
 	at jcifs.smb.SmbFile.exists(SmbFile.java:932)
 	at jcifs.smb.SmbFile.isDirectory(SmbFile.java:1002)
	...




Thanks,
Charles
-------------- next part --------------
HTML attachment scrubbed and removed


More information about the jcifs mailing list