Page Index Toggle Pages: 1 [2]  Send TopicPrint
Hot Topic (More than 10 Replies) Crash in EndInit() (Read 14611 times)
Achim
Junior Member
**
Offline


MindFusion rocks!

Posts: 70
Location: Bayreuth, Germany
Joined: Jun 28th, 2012
Re: Crash in EndInit()
Reply #15 - Mar 25th, 2014 at 7:59am
Print Post  
Hi again,

i've stepped through a not obfuscated build and I'm pretty sure the method where the null ref exception happens is "UpdateItemLanes" of MindFusion.Scheduling.WinForms.Cell. When I look at the code

Code (C++)
Select All
public virtual void UpdateItemLanes(DateTime? start, DateTime? end)
{
_firstVisibleDateTemp = GetFirstVisibleDate();
_lastVisibleDateTemp = GetLastVisibleDate();
foreach (ICell cell in Children)
cell.UpdateItemLanes(start, end);
} 



I see that it is possible that a cell can be null. You wrote you have build in a null check. Was this the method you did or another?

Best regards
Achim
  
Back to top
WWW  
IP Logged
 
Meppy
God Member
*****
Offline


MindFusion support

Posts: 1783
Joined: Jul 20th, 2005
Re: Crash in EndInit()
Reply #16 - Mar 25th, 2014 at 8:20am
Print Post  
Hi,

We think we managed to locate the problem. This method is indeed related to it, though, according to our investigation, the exception happens in the child cell's UpdateItemLanes method. Check your personal messages for a link to a new version of the control, which contains the potential fix.

Thank you for your feedback regarding this issue.

Regards,
Meppy
  
Back to top
 
IP Logged
 
Achim
Junior Member
**
Offline


MindFusion rocks!

Posts: 70
Location: Bayreuth, Germany
Joined: Jun 28th, 2012
Re: Crash in EndInit()
Reply #17 - Apr 4th, 2014 at 7:20am
Print Post  
Hi Meppy,

I just wanted to leave my feedback about the new version here. The bug seems to be fixed in the latest release, we had a whole week of testing at the customers site and no exception occurred Smiley

Best regards and thanks for your support
Achim
  
Back to top
WWW  
IP Logged
 
Page Index Toggle Pages: 1 [2] 
Send TopicPrint