jQWidgets Forums

jQuery UI Widgets Forums Getting Started Uncaught InternalError: to much recursion

This topic contains 3 replies, has 3 voices, and was last updated by  Live Barbar 1 year, 10 months ago.

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • Uncaught InternalError: to much recursion #132529

    internaut19
    Participant

    Hello!

    I am getting the above error out of the blue. I can’t find a trigger, sometimes I find the page non responsive without even using it.

    In the console I see that is reporting the problem in jqxcore.js, starting with the line 5670:17

    
    var g = typeof(e) == Array || e.length > 0 ? e[0] : e;
    

    The code surrounding the above line is :

    
    b.jqx.hasFunction = function(f, e) {
            if (e.length == 0) {
                return false
            }
            if (f == undefined) {
                return false
            }
            var g = typeof(e) == Array || e.length > 0 ? e[0] : e;
            var d = typeof(e) == Array || e.length > 1 ? Array.prototype.slice.call(e, 1) : {};
            while (f[g] == undefined && f.base != null) {
                if (f[g] && b.isFunction(f[g])) {
                    return true
                }
                if (typeof g == "string") {
                    var c = g.toLowerCase();
                    if (f[c] && b.isFunction(f[c])) {
                        return true
                    }
                }
                f = f.base
            }
            if (f[g] && b.isFunction(f[g])) {
                return true
            }
            if (typeof g == "string") {
                var c = g.toLowerCase();
                if (f[c] && b.isFunction(f[c])) {
                    return true
                }
            }
            return false
        };

    Any idea how to approach this?

    Thanks,
    Chris

    Uncaught InternalError: to much recursion #132531

    admin
    Keymaster

    Hi internaut19,

    Please, provide a code which reproduces such an error so we will be able to try it. I suppose there is incorrect usage of a component in order to call a recursion – for example you call a function which calls something that calls that function again.

    Regards,
    Peter

    Uncaught InternalError: to much recursion #132550

    internaut19
    Participant

    True, I found my problem, it was obvious.

    Thanks for your help.

    Chris


    Live Barbar
    Participant

    yes

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.