Bug Report T467915
Visible to All Users

An application crashes on clicking the ThumbnailButton

created 8 years ago

Hello,

i have attached a sample Application with a TaskBarAssistent and two ThumbnailButtons (Screenshot).
If you click on thumbnarilButton1 or 2 the application crashes.

C#
System.InvalidCastException wurde nicht behandelt. HResult=-2147467262 Message=Das Objekt des Typs "System.EventHandler`1[DevExpress.Utils.Taskbar.ThumbButtonClickEventArgs]" kann nicht in Typ "System.EventHandler" umgewandelt werden. Source=DevExpress.Utils.v16.2 StackTrace: bei DevExpress.Utils.Taskbar.ThumbnailButton.RaiseThumbButtonClick(IntPtr handle) bei DevExpress.Utils.Taskbar.Core.FilterWindow.DispatchThumbnailButtonMessage(Message& m, ThumbnailButtonCollection collection, IntPtr handle) bei DevExpress.Utils.Taskbar.Core.FilterWindow.WndProc(Message& m) bei System.Windows.Forms.NativeWindow.DebuggableCallback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) bei System.Windows.Forms.UnsafeNativeMethods.DispatchMessageW(MSG& msg) bei System.Windows.Forms.Application.ComponentManager.System.Windows.Forms.UnsafeNativeMethods.IMsoComponentManager.FPushMessageLoop(IntPtr dwComponentID, Int32 reason, Int32 pvLoopData) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context) bei System.Windows.Forms.Application.Run(Form mainForm) bei DXApplication1.Program.Main() in C:\Users\dro\Documents\Visual Studio 2015\Projects\DXApplication1\DXApplication1\Program.cs:Zeile 23. bei System.AppDomain._nExecuteAssembly(RuntimeAssembly assembly, String[] args) bei System.AppDomain.ExecuteAssembly(String assemblyFile, Evidence assemblySecurity, String[] args) bei Microsoft.VisualStudio.HostingProcess.HostProc.RunUsersAssembly() bei System.Threading.ThreadHelper.ThreadStart_Context(Object state) bei System.Threading.ExecutionContext.RunInternal(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state, Boolean preserveSyncCtx) bei System.Threading.ExecutionContext.Run(ExecutionContext executionContext, ContextCallback callback, Object state) bei System.Threading.ThreadHelper.ThreadStart() InnerException:

Please provide a quick solution because we shipped a version with DevExpress 16.2.3 to your customers.

Regards
Daniel

Comments (1)
Alisher (DevExpress Support) 8 years ago

    Hi Daniel,

    I have reproduced the issue and passed this ticket to our developers. We will inform you of our progress once we make any. Please bear with us.

    Answers approved by DevExpress Support

    created 8 years ago

    We have fixed the issue described in this ticket and will include the fix in our next maintenance update. To apply this solution before the official update, request a hotfix by clicking the corresponding link for product versions you require.

    Note: Hotfixes may be unavailable for beta versions and updates that are about to be released.

      Disclaimer: The information provided on DevExpress.com and affiliated web properties (including the DevExpress Support Center) is provided "as is" without warranty of any kind. Developer Express Inc disclaims all warranties, either express or implied, including the warranties of merchantability and fitness for a particular purpose. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.

      Confidential Information: Developer Express Inc does not wish to receive, will not act to procure, nor will it solicit, confidential or proprietary materials and information from you through the DevExpress Support Center or its web properties. Any and all materials or information divulged during chats, email communications, online discussions, Support Center tickets, or made available to Developer Express Inc in any manner will be deemed NOT to be confidential by Developer Express Inc. Please refer to the DevExpress.com Website Terms of Use for more information in this regard.