Build/Test Issues

Unable to cast object of type

Started by lassesjorup on 1,716 views

Using version 5.10.0.7 in Rider. Experiencing consistent crashing when trying to change "Exclude from metric aggregation" and "Include in metric aggregation". Seems like just opening the rightclick menu causes the crash after a second or so.
Other rightclick menus seems to work.


************** Exception Text **************
System.InvalidCastException: Unable to cast object of type 'System.Windows.Forms.ToolStripSeparator' to type 'System.Windows.Forms.ToolStripMenuItem'.
at nCrunch.Client.UI.ContextualCommands.ContextualCommandController..(Object , EventArgs )
at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, WM msg, IntPtr wparam, IntPtr lparam)

Thanks for sharing this issue. I've reproduced it as described. It looks like we're not handling the separators properly.

This should be a simple fix. I'll ensure it's included in the next build published.
Excellent. Thank you, looking forward to it.
And thank you for a indispensable tool that I have been relying on for more than a decade :-)
I can confirm that the issue is fixed in version 5.11.0.1. Thank you :)

Post a reply

Log in to reply.