[jcifs] Re: SmbSession.getChallengeForDomain() throws ArrayIndexOutOfBoundsException

Michael B Allen mba2000 at ioplex.com
Tue Apr 19 16:54:37 GMT 2005


Please send all messages to the jCIFS mailing list.

On Tue, 19 Apr 2005 09:52:07 -0700 (PDT)
Thomas Spoeri <thomas_spoeri at yahoo.com> wrote:

> 
> Hi Michel
> 
> I'm using jcifs-1.1.9 and from time to time an
> ArrayIndexOutOfBoundsException occurs in the
> NtlmHttpFilter (the extended version that I sent you
> earlier) when I try to log in. I don't know exactly
> when it happens but I think it's always if the web
> server (Tomcat 5.0.28) hasn't been used for quite some
> time, e.g. after a weekend. The only way to recover is
> restarting Tomcat.


Yes, this is a known issue. The getChallengeForDomain code has been
rewritten in jcifs-1.1.10. There were no changes to the filter.

> 
> Is it possible that the problem which was fixed with
> 1.1.5 is back again?
> 
> You can find a stack trace at the end of the mail.
> 
> Regards,
> Thomas
> 
> 
> 
> HTTP Status 500 - 
> 
> type Exception report
> message 
> description The server encountered an internal error
> () that prevented it from fulfilling this request.
> exception 
> java.lang.ArrayIndexOutOfBoundsException
> 	at jcifs.smb.SmbSession.getChallengeForDomain
> (SmbSession.java:112) (pc 269)
> 	at tspoeri.authorization.NtlmHttpFilter.negotiate
> (NtlmHttpFilter.java:143) (pc 114)
> 	at
> tspoeri.authorization.LivaiAuthorizationFilter.doFilter
> (LivaiAuthorizationFilter.java:92) (pc 82)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.internalDoFilter
> (ApplicationFilterChain.java:186) (pc 191)
> 	at
> org.apache.catalina.core.ApplicationFilterChain.doFilter
> (ApplicationFilterChain.java:157) (pc 101)
> 	at tspoeri.init.InitApplicationFilter.doFilter
> (InitApplicationFilter.java:247) (pc 600)
> note The full stack trace of the root cause is
> available in the Apache Tomcat/5.0.28 logs.
> 
> Apache Tomcat/5.0.28

-- 
IRC - where men are men, women are men, and the boys are FBI agents.


More information about the jcifs mailing list