I’m getting an error: Cannot read property ‘substr’ of null.
And then it just stalls at “Analyzing data…”.
It looks like it happens then I have more then 4 rows in a multilevel hierarchy.
The whole error message:
Uncaught TypeError: Cannot read property ‘substr’ of null
at b.spa (<anonymous>:31867:616186)
at b.lc (<anonymous>:31867:611899)
at b.lc (<anonymous>:31867:630545)
at b.insertData (<anonymous>:31867:670086)
at b.gu (<anonymous>:31867:669170)
at Object.jo (<anonymous>:31867:667290)
at Function.rea (<anonymous>:31867:135013)
at oEa (<anonymous>:31867:134928)
Thank you for writing to us and for providing the JSFiddle example, error message, and the screenshot of the pop-up. It greatly helped us to investigate the issue.
Testing your example, we have found that the problem occurs due to the fact that the values of
FourthLevel fields are
Our team will provide the fix for this issue in the minor release with the ETA Feb 8. We will notify you as soon as the new version is released.
As a temporary workaround, we suggest changing the
null values to
"" (empty strings).
Do not hesitate to contact us in case any questions arise.
We are happy to let you know that the exception when loading JSON data with
null values on hierarchy levels was fixed.
This is provided in the 2.8.26 version of Flexmonster: https://www.flexmonster.com/release-notes/.
You are welcome to update the component.
Here is our updating to the latest version guide for assistance: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
Please contact us in case any questions arise.
Our team is wondering whether the recent fix helped.
Please let us know if everything works fine.
Looking forward to hearing from you.
Yes it’s working.
Sry i spoke to early.
I’m getteing the following error now when having more then 2 rows:
Uncaught TypeError: Cannot read property ‘vb’ of undefined
at c.ic (<anonymous>:31536:534331)
at c.H8 (<anonymous>:31536:615213)
at c.ic (<anonymous>:31536:614094)
at c.Cpa (<anonymous>:31536:619164)
at c.ic (<anonymous>:31536:614177)
at c.ic (<anonymous>:31536:632775)
at c.insertData (<anonymous>:31536:672505)
at c.mu (<anonymous>:31536:671589)
at Object.ro (<anonymous>:31536:669709)
at Function.Aea (<anonymous>:31536:134848)
Thank you for notifying us about the issue.
Our team would like to inform you that we have not managed to reproduce it – there is no error on our end.
Could you please provide us with an example where the issue is reproducible?
This will greatly help us in our further investigation.
Waiting for your answer.
Thank you for providing us with the example.
Our development team will take a look at this issue – the fix will be available with our upcoming release ETA 22 March.
Do not hesitate to contact us if any further questions arise.
We will be glad to help you.
We are glad to announce that the exception when a multilevel hierarchy is specified with empty levels was fixed.
This is included in the 2.8.29 version of Flexmonster: https://www.flexmonster.com/release-notes/.
You are welcome to update the component: https://www.flexmonster.com/doc/updating-to-the-latest-version/.
Please let us know if any questions arise.
We would like to kindly take an interest in whether the recent fix helped.
Please let us know if everything works as expected.
Our team will be glad to hear your feedback.
Yes this is working.