CMDBuild Forum

Maximum call stack size exceeded in 2-D Maps

Dear CMDBuild team,
we are using openMAINT 1.1-2.4.2 and we face the following error.
When in Locations (particularly in Buildings) and click "Maps", the map is actually loaded correctly but we get an Error which only appears in the Console of the browser developer tools. Why is that and how could we overcome it?
Thanks, Dimitris

Uncaught RangeError: Maximum call stack size exceeded              ./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:16
    at i.getNavigableFromNode (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:16)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:78)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)

OK,

I think we found what the problem was. The problem is related to the other problem described in http://www.cmdbuild.org/forum/forum-in-english/831252844

Specifically, too many assets were selected in the GIS navigation, causing maximum call stack size exceed. We turned again on the default GIS navigation in the administration module. However, our other question in the forum remains in this thread: http://www.cmdbuild.org/forum/forum-in-english/831252844

 

Thanks, Dimitris

 

Previously Dimitris wrote:

Dear CMDBuild team,
we are using openMAINT 1.1-2.4.2 and we face the following error.
When in Locations (particularly in Buildings) and click "Maps", the map is actually loaded correctly but we get an Error which only appears in the Console of the browser developer tools. Why is that and how could we overcome it?
Thanks, Dimitris

Uncaught RangeError: Maximum call stack size exceeded              ./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:16
    at i.getNavigableFromNode (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:16)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:78)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)

 

Previously Dimitris wrote:

OK,

I think we found what the problem was. The problem is related to the other problem described in http://www.cmdbuild.org/forum/forum-in-english/831252844

Specifically, too many assets were selected in the GIS navigation, causing maximum call stack size exceed. We turned again on the default GIS navigation in the administration module. However, our other question in the forum remains in this thread: http://www.cmdbuild.org/forum/forum-in-english/831252844

 

Thanks, Dimitris

 

Previously Dimitris wrote:

Dear CMDBuild team,
we are using openMAINT 1.1-2.4.2 and we face the following error.
When in Locations (particularly in Buildings) and click "Maps", the map is actually loaded correctly but we get an Error which only appears in the Console of the browser developer tools. Why is that and how could we overcome it?
Thanks, Dimitris

Uncaught RangeError: Maximum call stack size exceeded              ./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:16
    at i.getNavigableFromNode (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:16)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:78)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)
    at i.checkParentNodes (./javascripts/cmdbuild/view/management/classes/map/geoextension/Navigable.js:92)

 

The problem is on the assets number. We have solved it and the solution will be present on the 2.5 CMDBuild's version.
 
CMDBuild Team