Completed
Last Updated: 16 May 2019 06:08 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.

1 comment
ADMIN
Dess | Tech Support Engineer, Sr.
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.