Re: java.lang.IllegalStateException: CookieParser?
Re: java.lang.IllegalStateException: CookieParser?
- Subject: Re: java.lang.IllegalStateException: CookieParser?
- From: Anjo Krank <email@hidden>
- Date: Fri, 23 Oct 2009 20:18:11 +0200
there's a override for that: WOApp.handleMalformedCookieValue() or
whatever the name is....
Cheers, Anjo
Am 23.10.2009 um 20:03 schrieb Mike Nowak:
I went to check one of our apps and I got an Internal Server Error.
Thinking the site might be down, I checked the app log and saw this:
Caused by: java.lang.IllegalStateException: CookieParser: Expected a
";" or a "," instead of ""v":1,"rid":"1256313755420_838442","ru":"http://www2.med.umich.edu/healthcenters/healthcentermain.cfm?hc_id=BFP
","r":"www2.med.umich.edu","st":"","pv":2,"to":3,"c":"http://www.med.umich.edu/flu/tweetchats.htm
","lc":{"d0":{"v":2,"s":false}},"sd":0,"f":1256313992487};
__utma=7269686.1544166767.1252684854.1252684854.1252684854.1;
__utmz=7269686.1252684854.1.1.utmcsr=(direct)|utmccn=(direct)|utmcmd=
(none)"
at com.webobjects.appserver._CookieParser._parse(_CookieParser.java:
126)
at com.webobjects.appserver._CookieParser.parse(_CookieParser.java:
164)
at com.webobjects.appserver.WORequest._cookieDictionary
(WORequest.java:1029)
at com.webobjects.appserver.WORequest.cookieValues(WORequest.java:
1083)
at com.webobjects.appserver.WORequest.cookieValueForKey
(WORequest.java:1064)
at
com.webobjects.appserver.WORequest._getSessionIDFromValuesOrCookie
(WORequest.java:1581)
at
com.webobjects.appserver.WORequest._getSessionIDFromValuesOrCookie
(WORequest.java:1555)
at com.webobjects.appserver.WORequest.sessionID(WORequest.java:1529)
at com.webobjects.appserver.WOContext._synchronizeForDistribution
(WOContext.java:868)
at com.webobjects.appserver.WOContext._setRequest(WOContext.java:927)
at com.webobjects.appserver.WOContext.<init>(WOContext.java:169)
I fixed it by deleting the offending cookie but this doesn't seem
like it should crash the app. On the other hand, it looks to me like
its happening inside the WO framework. Is there something I should
fix in my app to prevent this or is this a WO bug that I should
report?
Thanks!
--
Mike Nowak
Center for Health Communications Research
The University of Michigan
http://chcr.umich.edu
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden