Page 1 of 1
Uncaught Type Error: Cannot read properties of null (reading 'editor tools')
Posted: April 8th, 2023, 2:01 pm
by Joe.Wells
When going from Desktop View to Canvas, I periodically get this message -
Uncaught Type Error: Cannot read properties of null (reading 'editor tools')
How can I determine what is causing this?
Thanks,
Joe
Re: Uncaught Type Error: Cannot read properties of null (reading 'editor tools')
Posted: April 8th, 2023, 6:12 pm
by SumanPrasad
Joe,
These are generally JS error that is the result of not checking an object state before accessing it. They are generally harmless and once we know what is causing it, we fix JS code. I am going to duplicate this and add a task for it.
Thanks,
Suman
Re: Uncaught Type Error: Cannot read properties of null (reading 'editor tools')
Posted: April 8th, 2023, 6:17 pm
by SumanPrasad
Task 11325 is created to fix this.
Re: Uncaught Type Error: Cannot read properties of null (reading 'editor tools')
Posted: April 8th, 2023, 6:29 pm
by Joe.Wells
Suman,
Thank you. When I see this, should I report it?
For example, on canvas for the same page, when I move from one element to another I get a similar message that says "TypeError: Cannot read properties of null (reading 'ParentElement')".
Joe
Re: Uncaught Type Error: Cannot read properties of null (reading 'editor tools')
Posted: April 10th, 2023, 7:24 am
by SumanPrasad
You should report it. I was not able to duplicate it but I will ask Ben to help using your example.