How to fix the error "Cannot read properties of null"

In this article we will talk about how you can fix the "Cannot read properties of null"

It's likely that some of you have encountered the bellow error from time to time:

This error can be quite frustrating as it might keep disrupting your work repeatedly. The good news is that we have a quick fix for it. 😁

While this article will guide you on how to resolve this error, we strongly recommend reaching out to Kognic's support team for a thorough solution.

We also advise you to only use this method if you have 1-2 Object present in your task that are triggering this issue.

If there are more Object affected please contact Technical Support as soon as possible. It will be our pleasure to help you! 😉

Tip: If you have any questions or issues feel free to raise a ticket with Technical Support through this link!


Here's how you  can apply a quick fix for this issue:

1. Find the affected Object:

This issue is usually caused by a couple of Objects in your task that have been affected by this old bug, it's important that you map all these Objects.

In order to find them you will have to scroll through the Objects table using tab, once you select an Object that is affected the above error should be displayed in the screen!

Caution: Make sure you know exactly what was this Object was representing in your task since you will have to re-annotate it.

2. Delete the Objects:

After carefully mapping all the Object you will notice that you can't actually select them, so in order to delete them, use your Right Mouse-click to open this small window:

Screenshot 2024-08-26 at 13.44.43

Make sure you select the option Delete object to successfully remove the Object from the task.

3. Re-annotate the deleted Object

Now all you have to do is re-annotate the Object that was deleted. Once you're done with this, the issue shouldn't bother you anymore!


 

Just a friendly reminder that, if this is happening in a large number of Object or if you have hundreds of frames already annotated, we strongly advise you to contact Technical Support to fix this issue, we will be waiting! 😊

If you  encounter any issues during this process, don't hesitate to contact our support team at support@kognic.com 🏆