Sorry all … In English … Hi Raymond, The stack is missing too many elements. From what we can see, it seems that your action is executing properly but returning result as an AjaxResponse, but the handler is expecting a WOComponent.
Could it be that fr.univlr.colloque.components.admin.ajax.ListeUtilisateursGroupe is returning an AjaxResponse but the handler expect a WOComponent? We need more stack frame to be able to identify where you are in the RRL and what could be the cause of this. jfv > On Apr 25, 2016, at 9:13 AM, Jean-François Veillette > <[email protected]> wrote: > > Bonjour Raymond, > > La stack manque plusieurs niveaux. > Selon le peu que l’on a comme information, on en comprend que la requête a > bien été exécuté, a retourné une AjaxResponse, mais que le « handler » > s’attendais à recevoir un WOComponent. > > fr.univlr.colloque.components.admin.ajax.ListeUtilisateursGroupe retourne une > AjaxResponse, mais le « handler » s’attend à un « WOComponent » ? > On a besoin de plus d’élément dans la stack pour voir ou ce passe l’exception > dans la RRL. > > jfv > >> On Apr 25, 2016, at 2:15 AM, Raymond NANEON <[email protected] >> <mailto:[email protected]>> wrote: >> >> Hi List, >> >> Nobody has had this kind of exception? I would like to fix it but I don't >> know where I can touch. >> >> Thanks to take a moment to look at it. >> >> Ray >> Envoyé depuis iCloud >> >> Le 21 mars 2016 à 11:30, Raymond NANEON <[email protected] >> <mailto:[email protected]>> a écrit : >> >>> Hi List, >>> >>> I am trying to call some specifics components using AjaxAction in >>> javascript. >>> It works sometimes and sometimes not and I don't understand why? >>> >>> Yes I know the exception tells me ajaxResponse ... but why it works >>> sometimes? >>> >>> here is stacktrace : >>> "CurrentComponent" = >>> "fr.univlr.colloque.components.admin.ajax.ListeUtilisateursGroupe"; >>> "PreviousPageList" = ( >>> "com.webobjects.appserver.WORedirect" >>> ); >>> }; >>> "URL" = >>> "/cgi-bin/WebObjects/Colloque.woa/1/wa/AjaxAction/listeUtilisateursGroupe?idGroupe=11"; >>> } >>> >>> IllegalArgumentException: >>> <com.webobjects.appserver._private.WOComponentDefinition> Class >>> 'er.ajax.AjaxResponse' exists but is not a subclass of WOComponent. >>> at >>> com.webobjects.appserver._private.WOComponentDefinition._componentClass(WOComponentDefinition.java:496) >>> ... skipped 17 stack elements >>> at fr.univlr.colloque.Application.dispatchRequest(Application.java:116) >>> ... skipped 3 stack elements >>> _ignoredPackages:: () >>> >>> How can I avoid this problem in the future? >>> >>> Thanks for help >>> Envoyé depuis iCloud >>> _______________________________________________ >>> Do not post admin requests to the list. They will be ignored. >>> Webobjects-dev mailing list ([email protected] >>> <mailto:[email protected]>) >>> Help/Unsubscribe/Update your Subscription: >>> https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com >>> <https://lists.apple.com/mailman/options/webobjects-dev/rnaneon%40me.com> >>> >>> This email sent to [email protected] <mailto:[email protected]> >> _______________________________________________ >> Do not post admin requests to the list. They will be ignored. >> Webobjects-dev mailing list ([email protected] >> <mailto:[email protected]>) >> Help/Unsubscribe/Update your Subscription: >> https://lists.apple.com/mailman/options/webobjects-dev/jean_francois_veillette%40yahoo.ca >> >> <https://lists.apple.com/mailman/options/webobjects-dev/jean_francois_veillette%40yahoo.ca> >> >> This email sent to [email protected] >> <mailto:[email protected]>
_______________________________________________ Do not post admin requests to the list. They will be ignored. Webobjects-dev mailing list ([email protected]) Help/Unsubscribe/Update your Subscription: https://lists.apple.com/mailman/options/webobjects-dev/archive%40mail-archive.com This email sent to [email protected]
