[jcifs] Re: Bug Fixing
Michael B Allen
mballen at erols.com
Sun Jan 6 08:17:42 EST 2002
On Sat, 5 Jan 2002 10:17:48 +0200
"Tsvetan Nachev" <ts_nachev at prosyst.bg> wrote:
> Hi Mike,
> Unfortunately I'm still having this Invalid UID problem sometimes. It isn't
> a synchronization problem I think as far as I'm not using multiple threads
> to access shares on a remote computer at the same time. I don't have the
Actually the AWT and Swing use multiple threads. If jCIFS is being
invoked by windowing code it could be the source of the problem. I
would try to change the code so that SmbFiles are created with each new
instruction. Meaning if the file chooser wishes to list files create a
new SmbFile object to do it ...etc. Another simple thing to try just to
see if it's a synchronization issue is to wrap your list call in
synchronized(someobj) {
f.listFiles...
}
If it goes away, that at least rules out protocol issues. It wouldn't
mean it's not a bug in jCIFS however.
Mike
--
May The Source be with you.
More information about the jcifs
mailing list