Completed
Last Updated: 26 Oct 2020 05:53 by ADMIN
n/a
Created on: 20 Mar 2019 08:49
Category: UI for WinForms
Type: Bug Report
0
A bug concerning themes

Hallo,

 

I was using "Controldefault" theme and I got such an error message on laptops and desctops with smaller resolution when pointing to the gridview control:

See the end of this message for details on invoking 
just-in-time (JIT) debugging instead of this dialog box.

************** Exception Text **************
System.NullReferenceException: Object reference not set to an instance of an object.
   at Telerik.WinControls.UI.GridHeaderRowBehavior.FindCellToResize(Point pt)
   at Telerik.WinControls.UI.GridHeaderRowBehavior.OnMouseMove(MouseEventArgs e)
   at Telerik.WinControls.UI.BaseGridBehavior.OnMouseMove(MouseEventArgs e)
   at Telerik.WinControls.UI.RadGridView.OnMouseMove(MouseEventArgs e)
   at System.Windows.Forms.Control.WmMouseMove(Message& m)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at Telerik.WinControls.RadControl.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)


************** Loaded Assemblies **************
mscorlib
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/Windows/Microsoft.NET/Framework64/v4.0.30319/mscorlib.dll
----------------------------------------
EMPLOYEES
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/EMPLOYEES.exe
----------------------------------------
System.Windows.Forms
    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.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll
----------------------------------------
System
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    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
----------------------------------------
Telerik.WinControls.UI
    Assembly Version: 2019.1.219.40
    Win32 Version: 2019.1.219.40
    CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.UI.DLL
----------------------------------------
Telerik.WinControls
    Assembly Version: 2019.1.219.40
    Win32 Version: 2019.1.219.40
    CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.DLL
----------------------------------------
System.Configuration
    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.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll
----------------------------------------
System.Core
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3190.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Core/v4.0_4.0.0.0__b77a5c561934e089/System.Core.dll
----------------------------------------
System.Xml
    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.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
TelerikCommon
    Assembly Version: 2019.1.219.40
    Win32 Version: 2019.1.219.40
    CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/TelerikCommon.DLL
----------------------------------------
Microsoft.GeneratedCode
    Assembly Version: 1.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll
----------------------------------------
Telerik.WinControls.Themes.TelerikMetro
    Assembly Version: 2019.1.219.40
    Win32 Version: 2019.1.219.40
    CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.Themes.TelerikMetro.DLL
----------------------------------------
Telerik.WinControls.Themes.Windows7
    Assembly Version: 2019.1.219.40
    Win32 Version: 2019.1.219.40
    CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.Themes.Windows7.DLL
----------------------------------------
System.Data
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3160.0 built by: NET472REL1LAST_C
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Data/v4.0_4.0.0.0__b77a5c561934e089/System.Data.dll
----------------------------------------
VariablesKsiop
    Assembly Version: 1.0.0.0
    Win32 Version: 1.0.0.0
    CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/VariablesKsiop.DLL
----------------------------------------
System.Transactions
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.Transactions/v4.0_4.0.0.0__b77a5c561934e089/System.Transactions.dll
----------------------------------------
System.EnterpriseServices
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_64/System.EnterpriseServices/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.EnterpriseServices.dll
----------------------------------------
Telerik.WinControls.RadDock
    Assembly Version: 2019.1.219.40
    Win32 Version: 2019.1.219.40
    CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.RadDock.DLL
----------------------------------------
System.Numerics
    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.Numerics/v4.0_4.0.0.0__b77a5c561934e089/System.Numerics.dll
----------------------------------------
Telerik.WinControls.GridView
    Assembly Version: 2019.1.219.40
    Win32 Version: 2019.1.219.40
    CodeBase: file:///C:/Users/automation/AppData/Local/Apps/2.0/2L3Z29TM.MTW/YG48T3R8.OO2/empl..tion_d68bad146e85ae13_0001.0000_04e89f0b8ab6582c/Telerik.WinControls.GridView.DLL
----------------------------------------
Accessibility
    Assembly Version: 4.0.0.0
    Win32 Version: 4.7.3056.0 built by: NET472REL1
    CodeBase: file:///C:/WINDOWS/Microsoft.Net/assembly/GAC_MSIL/Accessibility/v4.0_4.0.0.0__b03f5f7f11d50a3a/Accessibility.dll
----------------------------------------

************** JIT Debugging **************
To enable just-in-time (JIT) debugging, the .config file for this
application or computer (machine.config) must have the
jitDebugging value set in the system.windows.forms section.
The application must also be compiled with debugging
enabled.

For example:

<configuration>
    <system.windows.forms jitDebugging="true" />
</configuration>

When JIT debugging is enabled, any unhandled exception
will be sent to the JIT debugger registered on the computer
rather than be handled by this dialog box.

At the same time on desctops with full HD everything was OK. I solved my problem selecting "Windows7" theme but I don't think it is a normal situation so I decided to inform You.

I use Visual Studio 2019 but I was unable to choose it from the list to finish the ticket.

4 comments
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 26 Oct 2020 05:53

Hello, Jeff,

As the status of this feedback item indicates ("Completed"), it seems that the problem is not expected to be reproducible in the latest version of the Telerik UI for WinForms suite. However, if you are still experiencing any further difficulties, it would be greatly appreciated if you can submit a support ticket from your Telerik account and provide a sample runnable project demonstrating the problem you are facing. Thus, we would be able to investigate the precise case and think about a suitable solution. In case you have connection to a local database, you can use dummy data instead and eliminate the server's factor since I believe the exact data is not the main reason for the error message.

You shouldn't be worried about your project and providing it in a support ticket. You can be certain that it will be used only for investigation purposes of this case and your privacy will be respected. Confidentiality is also described in our product EULA - See Section 11 of the WinForms EULA and Article V Section 11 of the DevCraft Complete and DevCraft Ultimate EULAs.

Looking forward to your reply.

Regards,
Dess | Tech Support Engineer, Sr.
Progress Telerik

Virtual Classroom, the free self-paced technical training that gets you up to speed with Telerik and Kendo UI products quickly just got a fresh new look + new and improved content including a brand new Blazor course! Check it out at https://learn.telerik.com/.

Jeff
Posted on: 23 Oct 2020 14:12

We have a relatively complicated code-base which makes it hard for us to provide a sample of the code without providing the entire solution.  Can you give any suggestions for how we might troubleshoot?  It happens periodically on some computers.  What might possibly cause this error?

 

Thanks

Jeff
Posted on: 23 Oct 2020 14:10
Any resolutions to this issue?  We are experiencing the very same exception.
ADMIN
Dess | Tech Support Engineer, Principal
Posted on: 26 Mar 2019 14:03
Hello, Petar,  

Indeed, the obtained error is not correct. However, RadGridView is expected to behave in the same when using different themes. It is not theme dependent. What is the resolution with which you are obtaining the exception?

Since the provided information is not sufficient to replicate the issue locally, would it be possible to provide a sample project demonstrating the undesired behavior that you are facing. Thus, we would be able to make an adequate analysis of the precise case and assist you further? Thank you in advance for the cooperation.

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.