[jcifs] StringIndexOutOfBoundsException

Швец Андрей mactep at gorod.ru
Thu Jul 17 23:28:03 EST 2003


Hi,
 
When I explore with jcifs 0.7.8 any shares with some 200 or more files in them, I get the following exception in SmbTransport,
and (as a result, I guess) the SmbException "timeout waiting for response from server ..."
Both list() and listFiles() led to that.
Maybe there is a way to setup something in Config to increase buffers or anything else...
 
java.lang.StringIndexOutOfBoundsException: String index out of range: 4980
        at java.lang.String.<init>(String.java:432)
        at java.lang.String.<init>(String.java:477)
        at jcifs.smb.Trans2FindFirst2Response.readString(Trans2FindFirst2Respons
e.java:91)
        at jcifs.smb.Trans2FindFirst2Response.readDataWireFormat(Trans2FindFirst
2Response.java:174)
        at jcifs.smb.SmbComTransactionResponse.readBytesWireFormat(SmbComTransac
tionResponse.java:136)
        at jcifs.smb.ServerMessageBlock.readWireFormat(ServerMessageBlock.java:4
29)
        at jcifs.smb.SmbTransport.run(SmbTransport.java:363)
        at java.lang.Thread.run(Thread.java:479)
 
Kind regards
Alex



More information about the jcifs mailing list