[jcifs] Re: Alert: ArrayIndexOutOfBoundsException with jcifs-1.1.3

Michael B Allen mba2000 at ioplex.com
Thu Dec 16 09:16:08 GMT 2004

On Thu, 16 Dec 2004 08:26:07 +0000 (UTC)
Johan Danforth <johandanforth at bredband.net> wrote:

> > Can you try this jar? It is stock 1.1.4 with an extra debug statement in
> > it. Every 30 seconds when the DC list expires it will print info about
> > the list in the log.
> > 
> >   http://jcifs.samba.org/src/jcifs-1.1.4li.jar
> > 
> > The only thing I can think of is that there is some problem with the
> > domain controller list (e.g. it's empty). What happends if you run the
> > ListDC example a few time? What happends if you run the Login test on
> > each DC ip?
> > 
> > Otherwise I'll just have to look at the code and hope I spot the bug.
> > 
> > Mike
> > 
> Thanks Mike.
> Things are a bit stressed here

Ok. Forget it.

I think the query for the list of domain controllers is choking (returning
a list of size 0). I suspect something's overloaded. Like your WINS server
for instance. I'll add a fix that sticks with the old list of DCs when
that happends. Maybe you can try 1.1.5? Things have really come a long
way since 0.8.


Greedo shoots first? Not in my Star Wars.

More information about the jcifs mailing list