Hi list,
i'm facing a similar problem, this time on a project using wo 5.3.3 with
maven and latest fake release of wonder
(5.0.0-r10779<http://wo-repository.moleque.com.br/nexus/content/groups/public/wonder/core/ERExtensions/5.0.0-r10779/>
)
At runtime on an Ajax response, i get the following exception :
[2010-05-10 18:30:19 CEST] <WorkerThread14> java.lang.NoSuchMethodError:
er.ajax.AjaxResponse.setHeaders(Ljava/util/Map;)V
at er.ajax.AjaxUtils.createResponse(AjaxUtils.java:76)
at
er.ajax.AjaxDynamicElement.invokeAction(AjaxDynamicElement.java:85)
I guess this wonder release was compiled against wo 5.4.3 even the wo53
classifier jar.
Anybody having this issue ?
I'll try to compile wonder with maven and see if i can make it work.
Thanks
Alex
2009/9/30 Alexis Tual <[email protected]>
> Problem solved, i upgraded to version 5.0.0-r9933 (22 sept. 2009) and it
> seems to work now... i guess version 5.0.0-9638 was bogus.
>
> Alex
>
> Le 29 sept. 09 à 18:07, Alexis Tual a écrit :
>
>
> 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 protected])
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com
This email sent to [email protected]