We use cookies to give you the best experience on our website. If you continue to browse, then you agree to our privacy policy and cookie policy. Image for the cookie policy date

System.NullReferenceException: Object reference not set to an instance of an object. Location: Syncfusion.WinForms.Controls.SfForm.InvalidateFrame ()


************** Exception text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   Location: Syncfusion.WinForms.Controls.SfForm.InvalidateFrame ()
   Location: Syncfusion.WinForms.Controls.SfForm.WndProc (Message & m)
   Location: System.Windows.Forms.NativeWindow.Callback (IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded assembly **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
    Codebase: file: /// C: /Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
LawCountyDesktop
    Assembly Version: 1.0.0.0
    Win32 version: 1.0.0.0
    Codebase: file: /// C: / Program Files / LawCounty / LawCounty / LawCountyDesktop.exe
----------------------------------------
System.Windows.Forms
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3324.0 built by: NET472REL1LAST_C
    Codebase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3416.0 built by: NET472REL1LAST_B
    Codebase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll
----------------------------------------
System.Drawing
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    Codebase: file: /// C: /WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll
----------------------------------------
Syncfusion.Licensing
    Assembly Version: 17.1460.0.47
    Win32 version: 17.1460.0.47
    Codebase: file: /// C: / Program Files / LawCounty / LawCounty / Syncfusion.Licensing.DLL
----------------------------------------
LawCountyCommonLib
    Assembly Version: 1.0.0.0
    Win32 version: 1.0.0.0
    Codebase: file: /// C: / Program Files / LawCounty / LawCounty / LawCountyCommonLib.DLL

1 Reply

FP Farjana Parveen Ayubb Syncfusion Team June 26, 2019 12:18 PM UTC

Hi Smart, 
  
Thanks for using Syncfusion products. 
  
We have analyzed your reported query at our end. We have prepare the sample to replicate your scenario based on the given call stack. And it’s working fine at our end. Please refer to the attached sample. 
 
We need some more information about your customization to replicate your scenario. Are you using the MDIParent other than the SfForm? Did you have any border customization on the MDI child and parent forms, if yes, can you please send the customization details or modify the attached sample to replicate your scenario. It will be helpful for us to provide the solution at the earliest. 
  
  
Regards, 
Farjana Parveen A 


Loader.
Live Chat Icon For mobile
Up arrow icon