Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Map component breaks on null value for parameter #933

Open
nielsdejong opened this issue Aug 1, 2024 · 0 comments
Open

Map component breaks on null value for parameter #933

nielsdejong opened this issue Aug 1, 2024 · 0 comments
Labels
bug Something isn't working

Comments

@nielsdejong
Copy link
Collaborator

nielsdejong commented Aug 1, 2024

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 nielsdejong added the bug Something isn't working label Aug 1, 2024
@nielsdejong nielsdejong changed the title Map error breaks on null value for parameter Map component breaks on null value for parameter Aug 1, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant