How to debug: Uncaught TypeError: dmxRouting.js:7 Cannot read property '0' of null

Hi all,

Getting this error:

Uncaught TypeError: dmxRouting.js:7
Cannot read property '0' of null
    at n.update (dmxRouting.js:7)
    at n.$update (dmxAppConnect.js:7)
    at dmxAppConnect.js:7
    at Array.forEach (<anonymous>)
    at n.$update (dmxAppConnect.js:7)
    at dmxAppConnect.js:7
    at Array.forEach (<anonymous>)
    at n.$update (dmxAppConnect.js:7)
    at dmxAppConnect.js:7
    at dmxAppConnect.js:7

This is happening in a few pages - and I believe is the root cause of some data not displaying unless I scroll - then it renders.

Can anyone point me towards how I would debug something like this, so I can find and fix the issue?

This could mean the error is coming from a repeat.
Are you able to see a file name and line number on the extreme left of the console error message (Other than dmxRouting.js:7)? That might give you more insight on AppConnect code where the error message is originating from.
Also, this is NodeJS I assume?

Hey @sid thanks for helping.

I’m not sure where I would see a file name and line number, this is a screen of the error:

Screen Shot 2020-11-05 at 5.44.17 pm

Is there another area of dev tools I can look at to find such?

Yep, NodeJS :slight_smile:

Sorry, I mean right extreme. In you case, its dmxRounting.js:7. Sometimes, it points to anoth VM file. Forgot what its called.
You could try removing parts on the page to at least identify which code block is giving out this error.

ah ok , got it - unfortunately not, nothing relating to a page / column :frowning:

I’ll see if I can find the cultprit doing what you suggest. Thank you