I am trying to modify a query in SAS Enterprise Guide. While doing that, when I try to delete a column I get an error message that states SAS Enterprise Guide encountered a problem and the details has the following exception :
Illegal object passed in for base object
Parameter name: obj
-------------------------- Technical Information Follows --------------------------
Exception Details:
----------------------------------------
Exception type: System.ArgumentException
Message: Illegal object passed in for base object
Parameter name: obj
Source: QueryModel
Target Site: SetBase
Stack Trace:
at SAS.EG.QueryModel.GroupItem.SetBase(Object obj)
at SAS.EG.QueryModel.GroupByCollection.DeleteResultItem(ResultItem ri)
at SAS.EG.QueryModel.EGQueryModel.DeleteResultItem(ResultItem ri)
at SAS.EG.ProjectElements.Forms.QueryBuilder.DeleteResultItem(ListViewItem lvi)
at SAS.EG.ProjectElements.Forms.QueryBuilder.OnKeyUpResultList(Object sender, KeyEventArgs e)
at System.Windows.Forms.Control.OnKeyUp(KeyEventArgs e)
at System.Windows.Forms.Control.ProcessKeyEventArgs(Message& m)
at System.Windows.Forms.Control.WmKeyChar(Message& m)
at System.Windows.Forms.Control.WndProc(Message& m)
at System.Windows.Forms.ListView.WndProc(Message& m)
at SAS.SharedUI.ListViewEx.WndProc(Message& message)
at SAS.SharedUI.ListViewExMsg.WndProc(Message& m)
at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)
That's definitely a bug, so I'd recommend tracking with SAS Tech Support. Was this from a project that was converted from an earlier version?
SAS Tech Support (or colleagues in R&D on the dev team) might be able to help with a workaround, but a detailed tech support case will be needed.
Chris
Are you ready for the spotlight? We're accepting content ideas for SAS Innovate 2025 to be held May 6-9 in Orlando, FL. The call is open until September 25. Read more here about why you should contribute and what is in it for you!
What’s the difference between SAS Enterprise Guide and SAS Studio? How are they similar? Just ask SAS’ Danny Modlin.
Find more tutorials on the SAS Users YouTube channel.