• 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
java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders


  • Subject: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
  • From: Alexis Tual <email@hidden>
  • Date: Tue, 29 Sep 2009 18:07:47 +0200

Hi list,
i'm using wonder 5.0.0-9638 (5.4 classifier, yes i'm mavenized), webobjects 5.4.3 and get the following error when clicking an AjaxSubmitButton :


java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders(Lcom/ webobjects/foundation/NSDictionary;)V
at er.ajax.AjaxUtils.createResponse(AjaxUtils.java:71)
at er.ajax.AjaxSubmitButton.handleRequest(AjaxSubmitButton.java:320)
at er.ajax.AjaxSubmitButton.invokeAction(AjaxSubmitButton.java:309)
...
The strange thing is at compile time (and decompile time i must say) i can do this kind of thing without problems it doesn't even fail at runtime :
AjaxResponse ajaxResp = AjaxUtils.createResponse(request, context);
WOResponse response = new WOResponse();
ajaxResp.setHeaders(response.headers());


Indeed AjaxResponse.class.getMethods() give me somewhere this method public void com.webobjects.appserver.WOMessage.setHeaders(java.util.Map)

I've seen the NSDictionary class is "patched" by wonder but both this one and the "standard" wo NSDictionary class implements Map so... i'm a bit lost.

Any ideas ?

Thanks

Alex
_______________________________________________
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


  • Follow-Ups:
    • Re: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
      • From: Alexis Tual <email@hidden>
  • Prev by Date: Re: Can't run the app from within 3.5
  • Next by Date: Error when extending from ERXAjaxApplication
  • Previous by thread: Re: Can't run the app from within 3.5
  • Next by thread: Re: java.lang.NoSuchMethodError: er.ajax.AjaxResponse.setHeaders
  • Index(es):
    • Date
    • Thread