Hi,

Do you have idea how many target.appendJS/prependJS calls do you have for
this Ajax request ?
The error says that you have a lot of those in the <ajax-response>.

If you look closely at
https://github.com/apache/wicket/blob/master/wicket-core/src/main/java/org/apache/wicket/ajax/res/js/wicket-ajax-jquery.js#L118
you'll
see that this method works with recursion until its 1000th call, then it
uses setTimeout(callMySelf) to restart the recursion in a new stack frame.

Few months ago I did some testing:
https://issues.apache.org/jira/browse/WICKET-4675?focusedCommentId=13426609&page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#comment-13426609
and
Firefox 14 was able to do ~5200 recursive calls before filling the stack.
Which version of Firefox do you use ?



On Fri, Nov 16, 2012 at 8:51 PM, saty <satya...@gmail.com> wrote:

> I have this additional info on wicket debug panel.
>
> ERROR: Wicket.Ajax.Call.processEvaluation: Exception evaluating javascript:
> InternalError: too much recursion, text:
>
> Wicket.Ajax.ajax({"f":"forma","u":"./?1-3.IBehaviorListener.1-homePageTabs-panel-pricingPropertyTabs-panel-fitlerGridPanel-snapshotGridForm-snapshotGrid-form-bodyContainer-body-row-147","e":"click","c":"id147682","pre":[function(attrs){return
>
> InMethod.XTable.canSelectRow(attrs.event);}],"ad":true,"m":"POST","dep":[function(attrs){return
> {'column': Wicket.$(attrs.c).imxtClickedColumn}}]});
> ERROR: FunctionsExecuter.processNext: InternalError: too much recursion
> ERROR: FunctionsExecuter.processNext: [Exception... "Component returned
> failure code: 0x80004002 (NS_NOINTERFACE) [nsIObserverService.addObserver]"
> nsresult: "0x80004002 (NS_NOINTERFACE)"  location: "JS frame ::
> resource:///components/ConsoleAPI.js :: CA_init :: line 57"  data: no]
>
>
> I dont know why its complaining about too much recursion, if there is a way
> to increase the limit, any help would be appreciated, thanks
>
>
>
> --
> View this message in context:
> http://apache-wicket.1842946.n4.nabble.com/how-to-fix-this-error-in-wicket-app-tp4653954p4653956.html
> Sent from the Users forum mailing list archive at Nabble.com.
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: users-unsubscr...@wicket.apache.org
> For additional commands, e-mail: users-h...@wicket.apache.org
>
>


-- 
Martin Grigorov
jWeekend
Training, Consulting, Development
http://jWeekend.com <http://jweekend.com/>

Reply via email to