StringIndexOutOfBoundsException and cookies
StringIndexOutOfBoundsException and cookies
- Subject: StringIndexOutOfBoundsException and cookies
- From: Kaj Hejer <email@hidden>
- Date: Mon, 19 Jan 2004 21:59:56 +0100
Hi!
We have an application we just upgraded from
WO4.5.1 to WO5.2.2. After the upgrade we get some
exceptions like
[2004-01-19 16:53:38 MET] <WorkerThread5>
<WOWorkerThread id=5
socket=Socket[addr=/xxx.xxx.xxx.xxx,port=52975,localport=xxxx]>
Exception occurred while responding to client:
com.webobjects.foundation.NSForwardException
[java.lang.StringIndexOutOfBoundsException] null
for some users. We have tracked this down to
beeing related to problems with cookies for the
users getting this exception
After implementing the following in Application.java
public NSMutableDictionary handleMalformedCookieString(
RuntimeException anException,
String cookieString,
NSMutableDictionary aReturnDict) {
System.err.println(
"Application.handleMalformedCookieString:anException: " + anException);
System.err.println(
"Application.handleMalformedCookieString:cookieString: " + cookieString);
return super.handleMalformedCookieString(
anException, cookieString, aReturnDict);
}
We get some more info:
Application.handleMalformedCookieString:cookieString:
edmode=1; tittel=Nye bxker i sosiologi juni 2003;
tema=bibliotek; enhet.id=humsam; spraak=no-bok;
redaksjon.navn=Kaj Hejer;
redaksjon.epost=email@hidden;
redaksjon.vev=
[2004-01-19 16:53:38 MET] <WorkerThread5>
<WOWorkerThread id=5
socket=Socket[addr=/xxx.xxx.xxx.xxx,port=52975,localport=xxxx]>
Exception occurred while responding to client:
com.webobjects.foundation.NSForwardException
[java.lang.StringIndexOutOfBoundsException] null
This application are running on WO5.2.2 on solaris.
Any ideas on how to solve this StringIndexOutOfBoundsException?
-Kaj :)
_______________________________________________
webobjects-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/webobjects-dev
Do not post admin requests to the list. They will be ignored.