Completed
Last Updated: 01 Jul 2019 14:38 by ADMIN
Release R3 2019 (LIB 2019.2.708)
Kenneth
Created on: 21 Jun 2019 13:50
Category: GanttView
Type: Bug Report
1
Latest version of WinForms causes fatal exception when adding an item to a BindingList that is used in a RadGridView and a RadGanttView.

The latest release of WinForms causes a fatal exception when adding an item to a BindingList that is used in a RadGridView and a RadGanttView.

The first time an item is added there is not issue.

The second time an item is added, the following exception occurs.

System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.GanttViewBindingProvider.GanttTaskList.IndexOf(Object key)
   at Telerik.WinControls.UI.GanttViewBindingProvider.GanttTaskList.get_Item(Object key)
   at Telerik.WinControls.UI.GanttViewBindingProvider.AddTaskByCM(CurrencyManager cm, Int32 index)
   at System.ComponentModel.ListChangedEventHandler.Invoke(Object sender, ListChangedEventArgs e)
   at System.Windows.Forms.CurrencyManager.OnListChanged(ListChangedEventArgs e)
   at System.Windows.Forms.CurrencyManager.List_ListChanged(Object sender, ListChangedEventArgs e)
   at System.ComponentModel.BindingList`1.OnListChanged(ListChangedEventArgs e)
   at System.ComponentModel.BindingList`1.FireListChanged(ListChangedType type, Int32 index)
   at MissileWarningThreatPlanner.EventWindow.EventList.GenMissileEventWorker_RunWorkerCompleted(Object sender, RunWorkerCompletedEventArgs e) in C:\Shape Source\VS\MissileWarningThreatPlanner - VS2010\MissileWarningThreatPlanner\EventWindow\EventList.cs:line 5329
   at System.ComponentModel.BackgroundWorker.OnRunWorkerCompleted(RunWorkerCompletedEventArgs e)

This is code that has not been modified for quite some time.  There has been no issue until the latest release.

I do not have time to try to create a simple example to try to reproduce the error at this time.  I will if possible.

For now, we are forced to revert to a previous version.

 

Ken...

5 comments
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 01 Jul 2019 08:03
Hello, Kenneth,  

Make sure that you follow this item by clicking the "Follow" button.



Thus, you will get notified whenever a change in the feedback item occur, e.g. the status is updated.

Should you have further questions please let me know.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Kenneth
Posted on: 25 Jun 2019 13:42

How will I be able to find out when this issue is addressed?

I will not be able to update our WinForms version until this issue is addressed because we have several applications that depend upon this customized GanttView.

 

Ken...

ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 25 Jun 2019 06:05
Hello, Kenneth,  
 
The provided sample project is greatly appreciated. I confirm that it is not correct behavior. 

I have logged it in our feedback portal by making this thread public. You can track its progress, subscribe for status changes and add your comments on the following link - feedback item.

I have also updated your Telerik points.

Unfortunately, the issue is at a location that is too deep in the RadGanttView functionality for any customization to have effect on it. We will do our best to address the issue as soon as possible and introduce the fix in one of the upcoming LIBs.


Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.
Kenneth
Posted on: 24 Jun 2019 15:54

Dess,

Thank you for the response.  Based on your example, I have updated the project that will reproduce the issue.

I believe the issue is because I am using a CustomGanttView that your support helped me implement several years ago.  I am including that code.  If you can help me with the modifications that are needed to the CustomGanttView that will eliminate the error, I would greatly appreciate it.

I am not able to understand what is causing the issue.  This CustomGanttView has been working for quite some time with my updating to the latest WinForms release until this latest one.

 

Ken...

ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 24 Jun 2019 06:47
Hello, Kenneth, 

The provided stack trace is greatly appreciated. We have reviewed the source code and found the place where the error occurs on your end. However, in a normal situation it is not expected the GanttTaskList and its internal collection for storing the tasks to be null. That is why according to the provided information I have prepared a sample project for your reference. Could you please specify the exact steps how to reproduce the problem?

Please refer to the attached gif file illustrating the behavior on my end with the specified version. I have attached my sample project. Feel free to modify it in a way to reproduce the experienced issue and get back to me with it so I can investigate the precise case. Thank you in advance. 

I am looking forward to your reply.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik
Get quickly onboarded and successful with your Telerik and/or Kendo UI products with the Virtual Classroom free technical training, available to all active customers. Learn More.