Cannot read property 'ganttProperties' of null

Hi,

For the past couple of months I've been seeing the these random errors (attached image, indicating "Cannot read property "ganttProperties" of null) which I'm finding very difficult to debug and find it's cause due to its random nature. They crash the app and won't allow any modifications.

These seem to have started after the 19.2 release, but I can't really got back to the 19.1 as I do need some of the bug fixes released on 19.2.

I can't share my code here. It's got thousands of lines at this point. I know it's a long shot but could I please get some guidance on what to look for here, and what could be a possible cause?



Attachment: Untitled_picture_7ee0f946.zip


3 Replies

MS Monisha Sivanthilingam Syncfusion Team August 26, 2021 02:15 AM UTC

Hi Christian, 
 
Greetings from Syncfusion support. 
 
We have analyzed your issue, however, we were unable to replicate the issue you reported. Please share more details about the issue you reported, such as: 
 
  1. The use cases in which the issue is replicated or the steps taken to replicate the issue.
  2. The version of Gantt you are currently using.
  3. A video replicating the issue.
  4. If possible, please modify the sample we have attached below to replicate your issue or share an issue reproducible sample of your own.
 
 
Any information you can share with us will be useful to us in providing a solution to you. 
 
Regards, 
Monisha. 



CD Christian DAquino September 22, 2021 04:07 AM UTC

Hi,

It looks like the error happens when dynamically changing the datasource. From the video you can see that upon the render of the datasource the taskbars can be edited. After dynamically changing the datasource, the error happens when trying to edit the taskbar.


Attachment: 20210922_120157_e61affa9.zip


MS Monisha Sivanthilingam Syncfusion Team September 24, 2021 12:43 PM UTC

Hi Christian, 
  
Thank you for sharing the video replicating the issue. However, we were still unable to replicate the issue you reported. We changed the data source dynamically and performed taskbar editing actions. However, we were still unable to replicate the issue you reported. Please find the sample we used to replicate the issue you reported below. 
  
  
If possible, please modify the sample to replicate the issue or share an issue reproducible sample of your own. 
  
Regards, 
Monisha. 


Loader.
Up arrow icon