neodash icon indicating copy to clipboard operation
neodash copied to clipboard

Map component breaks on null value for parameter

Open nielsdejong opened this issue 7 months ago • 0 comments

The following error appears on a Map component, it works sometimes but in most cases I get this error: An unexpected error occurred. Try refreshing the component.

TypeError: Cannot read properties of null (reading 'toString')
    at https://neodash.graphapp.io/bundle.js:2:749002
    at Array.map (<anonymous>)
    at https://neodash.graphapp.io/bundle.js:2:748902
    at Array.map (<anonymous>)
    at https://neodash.graphapp.io/bundle.js:2:747409
    at B (https://neodash.graphapp.io/bundle.js:2:750172)
    at ti (https://neodash.graphapp.io/bundle.js:152:1747545)
    at Zi (https://neodash.graphapp.io/bundle.js:152:1757063)
    at Hl (https://neodash.graphapp.io/bundle.js:152:1800612)
    at Ec (https://neodash.graphapp.io/bundle.js:152:1786917)
    at _c (https://neodash.graphapp.io/bundle.js:152:1786845)
    at wc (https://neodash.graphapp.io/bundle.js:152:1786708)
    at hc (https://neodash.graphapp.io/bundle.js:152:1783695)
    at https://neodash.graphapp.io/bundle.js:152:1733467
    at n.unstable_runWithPriority (https://neodash.graphapp.io/bundle.js:152:1904603)
    at Ho (https://neodash.graphapp.io/bundle.js:152:1733244)
    at Wo (https://neodash.graphapp.io/bundle.js:152:1733412)
    at $o (https://neodash.graphapp.io/bundle.js:152:1733347)
    at Lc (https://neodash.graphapp.io/bundle.js:152:1792795)
    at n.unstable_runWithPriority (https://neodash.graphapp.io/bundle.js:152:1904603)
    at Ho (https://neodash.graphapp.io/bundle.js:152:1733244)
    at Pc (https://neodash.graphapp.io/bundle.js:152:1792072)
    at https://neodash.graphapp.io/bundle.js:152:1791983
    at D (https://neodash.graphapp.io/bundle.js:152:1903663)
    at k.port1.onmessage (https://neodash.graphapp.io/bundle.js:152:1902386)
    

If I switch to another component type then it works. How to debug this? It is a query with virtual nodes and relationships… If I use the heatmap layer then it works also.

nielsdejong avatar Aug 01 '24 10:08 nielsdejong