Try logging out context().request().headers()

On May 28, 2010, at 10:48 AM, Pascal Robert wrote:

I'm getting some exceptions and I can't track down which request :

java.lang.IllegalArgumentException: Attempt to insert null into an com.webobjects.foundation.NSMutableArray. at com .webobjects .foundation.NSMutableArray.replaceObjectAtIndex(NSMutableArray.java: 432) at com .webobjects .appserver ._private .WOHTTPHeadersDictionary._objectForKey(WOHTTPHeadersDictionary.java: 171) at com .webobjects .appserver ._private .WOHTTPHeadersDictionary._objectForKey(WOHTTPHeadersDictionary.java: 141) at com .webobjects .appserver ._private .WOCaseInsensitiveDictionary .objectForKey(WOCaseInsensitiveDictionary.java:58) at com.webobjects.appserver.WOMessage.headersForKey(WOMessage.java: 417) at com.webobjects.appserver.WOMessage.headerForKey(WOMessage.java: 433) at er.extensions.appserver.ERXRequest.isRequestSecure(ERXRequest.java: 233) at er .extensions .appserver .ERXResourceManager._cachedURLForResource(ERXResourceManager.java:129) at er .extensions .appserver .ERXResourceManager.urlForResourceNamed(ERXResourceManager.java:144)
        at com.acaiq.depot.component.CSS.imageFondContinue(CSS.java:32)

imageFondContinue is a method that simply return the URL to a image in our CSS component :

 public String imageFondContinue() {
return application ().resourceManager().urlForResourceNamed("bckgrnd_magasin.png", "app", session().languages(), context().request());
  }

The app have an average of 250 sessions per day, and we get this exception. I looked at Apache logs to see if the resource was requested at the same time period as the exception was throw, but it wasn't. Wonder from two months ago, WO 5.3.3. Anyone seen this?

_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/chill%40global-village.net

This email sent to [email protected]

--
Chuck Hill             Senior Consultant / VP Development

Practical WebObjects - for developers who want to increase their overall knowledge of WebObjects or who are trying to solve specific problems.
http://www.global-village.net/products/practical_webobjects







_______________________________________________
Do not post admin requests to the list. They will be ignored.
Webobjects-dev mailing list      ([email protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com

This email sent to [email protected]

Reply via email to