When minimized, you can't select SQL Plan Explorer from the task bar to see it

gbritton 2017-08-28 19:58:17

When SQL Plan Explorer is minized (see first screen shot), if I select one of the instances to view it (2nd screenshot), nothing happens. that is I'm returned to the state of the first screen shot.

Oops, I tried to submit the screen shots, but got an error!

Product ID: SQLSentryPlanViewer
Product Version: 11.0.116.0
Hardware Key: FREE
Exception Message:
An error has occurred:
Message: Object reference not set to an instance of an object.

System.NullReferenceException: Object reference not set to an instance of an object.
at Intercerve.SqlSentry.SqlPerfIntegration.UI.PostInformation.AddFileAttachment(String filePath)
at Intercerve.SqlSentry.SqlPerfIntegration.UI.PostInformation.btnAttachFile_ButtonClick(Object sender, ButtonPressedEventArgs e)
at DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit.RaiseButtonClick(ButtonPressedEventArgs e)
at DevExpress.XtraEditors.ButtonEdit.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraEditors.TextEdit.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
Exception StackTrace:
at Intercerve.SqlSentry.SqlPerfIntegration.UI.PostInformation.AddFileAttachment(String filePath)
at Intercerve.SqlSentry.SqlPerfIntegration.UI.PostInformation.btnAttachFile_ButtonClick(Object sender, ButtonPressedEventArgs e)
at DevExpress.XtraEditors.Repository.RepositoryItemButtonEdit.RaiseButtonClick(ButtonPressedEventArgs e)
at DevExpress.XtraEditors.ButtonEdit.OnMouseUp(MouseEventArgs e)
at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
at System.Windows.Forms.Control.WndProc(Message& m)
at DevExpress.Utils.Controls.ControlBase.WndProc(Message& m)
at DevExpress.XtraEditors.TextEdit.WndProc(Message& msg)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

Additional Information:
MachineName: TDD00681689
OSVersion: Microsoft Windows NT 6.1.7601 Service Pack 1
CLRVersion: 4.0.30319.42000
IsUserAnAdmin: False
SystemDataVersion: 4.6.1099.0

Aaron Bertrand 2017-08-28 22:48:50
We're aware of this defect, and investigating it is on our backlog (we suspect it's Windows' fault, but hopefully if that is the case we'll be able to address it).

In the meantime, see:

https://blogs.sentryone.com/aaronbertrand/workarounds-maximize/