Nagvis zoom error

  • Like another user, I am getting this error when zoomed in to level 9+ (varies depending on which map):


    Code
    1. Javascript error occured: Uncaught TypeError: Cannot read property 'addChild' of undefined http://192.168.1.1/nagvis/frontend/nagvis-js/js/NagVisCompressed.js (4309)
  • it is javascript error I think you have to inspect it with your internet browser manualy like this:

    press ctrl+shift+j on the page where the error ocures I have the problem something like this and I will show screenshot:

  • We have 1.9b8. I had already deleted NagVisCompressed.js, no change. The full debugger error is:

    Code
    1. stack:"TypeError: Cannot read property 'addChild' of undefined↵ at proto.constructor.renderObject (http://server/nagvis/frontend/nagvis-js/js/ViewMap.js:240:42)↵ at proto.constructor.initializeObjects (http://server/nagvis/frontend/nagvis-js/js/ViewMap.js:270:18)↵ at proto.constructor.handleMapInit (http://server/nagvis/frontend/nagvis-js/js/ViewMap.js:144:14)↵ at XMLHttpRequest.AJAX.onreadystatechange (http://server/nagvis/frontend/nagvis-js/js/ajax.js:95:30)"

    I tried newer ViewMap.js file, which has a small change, no help.

  • With latest ViewMap.js and nagvis/share/server/core/classes/ViewMapAddModify.php files, same error different lines:

    Code
    1. ViewMap.js:232 Uncaught TypeError: Cannot read property 'addChild' of undefined at proto.constructor.renderObject (ViewMap.js:232) at proto.constructor.initializeObjects (ViewMap.js:262) at proto.constructor.handleMapInit (ViewMap.js:136) at XMLHttpRequest.AJAX.onreadystatechange (ajax.js:95) renderObject @ ViewMap.js:232 initializeObjects @ ViewMap.js:262 handleMapInit @ ViewMap.js:136 AJAX.onreadystatechange @ ajax.js:95