User opens a large .xpn file via File | Open File menu in Toad or he double clicks on the file outside of Toad which is then is opened with Toad. Toad opens the Explain Plan model in a new tab. He places his cursor anywhere on top of the Explain Plan model and right-clicks mouse to see the Explain Plan right-click menu options, such as Save, Print, View Plan, etc. The following error occurs:
Object reference not set to an instance of an object.
at Quest.Toad.ExplainPlan.ExplainPlanControl.popupMenu1_BeforePopup(Object sender, EventArgs e)
at DevExpress.XtraBars.PopupMenu.CreateSubControl(BarManager manager)
at DevExpress.XtraBars.PopupMenu.ShowPopup(BarManager manager, Point p)
at DevExpress.XtraBars.PopupMenu.ShowPopup(Point p)
at DevExpress.XtraBars.MessageFilter.BarManagerHook.CheckShowPopupMenu(BarManager manager, Control control, Boolean fromKeyboard)
at DevExpress.XtraBars.MessageFilter.BarManagerHook.InternalPreFilterMessage(BarManager manager, Int32 Msg, Control wnd, IntPtr HWnd, IntPtr WParam, IntPtr LParam)
Connect to a database prior to opening the .xpn file.
Waiting for fix to be released in a future version of Toad for DB2.