• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Bug in WOHTTPHeadersDictionary._objectForKey ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug in WOHTTPHeadersDictionary._objectForKey ?


  • Subject: Re: Bug in WOHTTPHeadersDictionary._objectForKey ?
  • From: Chuck Hill <email@hidden>
  • Date: Fri, 28 May 2010 12:10:07 -0700

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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden

-- 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@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


References: 
 >Bug in WOHTTPHeadersDictionary._objectForKey ? (From: Pascal Robert <email@hidden>)

  • Prev by Date: Bug in WOHTTPHeadersDictionary._objectForKey ?
  • Next by Date: Re: Recording the steps made by an user in an app
  • Previous by thread: Bug in WOHTTPHeadersDictionary._objectForKey ?
  • Next by thread: max value using wonder??
  • Index(es):
    • Date
    • Thread