[jcifs] StringIndexOutOfBoundsException

Christopher R. Hertel crh at ubiqx.mn.org
Fri Jul 18 06:11:02 EST 2003


Again, it is my fault that the web pages are out of date.  I am working on 
a fix.  It's a question of time (of which I have none these days).

You can find version 0.7.11 here:

  http://users.erols.com/mballen/jcifs/

...and Mike keeps Freshmeat up to date.

Please try this using 0.7.11.

Thanks.

Chris -)-----

On Thu, Jul 17, 2003 at 05:28:03PM +0400, ???? ?????? wrote:
> 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
> 

-- 
"Implementing CIFS - the Common Internet FileSystem" ISBN: 013047116X
Samba Team -- http://www.samba.org/     -)-----   Christopher R. Hertel
jCIFS Team -- http://jcifs.samba.org/   -)-----   ubiqx development, uninq.
ubiqx Team -- http://www.ubiqx.org/     -)-----   crh at ubiqx.mn.org
OnLineBook -- http://ubiqx.org/cifs/    -)-----   crh at ubiqx.org



More information about the jcifs mailing list