SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 38061: An application error might occur after modifying the Logistic Regression task in SAS® Enterprise Guide®

DetailsHotfixAboutRate It

When you use the Logistic Regression task, an application error similar to the following might occur:

SAS Enterprise Guide has encountered a problem.  We recommend that you save your work and restart SAS Enterprise Guide.

--------------------------------------------------------

System.ArgumentOutOfRangeException

Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index

------------------------------ Technical Information Follows ------------------------------

System.ArgumentOutOfRangeException: Index was out of range. Must be non-negative and less than the size of the collection.
Parameter name: index
   at System.Collections.CollectionBase.System.Collections.IList.get_Item(Int32 index)
   at SAS.EG.Tasks.TaskSDK.PropertyGLMEffects.EffectsCollection.get_Item(Int32 index)
   at SAS.EG.Tasks.TaskSDK.XmlHelper.GetObjectFromPath(String path, TaskModel model)
   at SAS.EG.Tasks.TaskSDK.RelatedObjectInformation.get_Object()
   at SAS.EG.Tasks.TaskSDK.RelatedObjectInformation.GetElementState(String name)
   at SAS.EG.Tasks.TaskSDK.TaskStateObject.GetElementState()
   at SAS.EG.Tasks.TaskSDK.Option.GetElementState()
   at SAS.EG.Tasks.TaskSDK.OptionsCollection.GetElementState()
   at SAS.EG.Tasks.TaskSDK.PropertyOptionList.GetElementState()
   at SAS.EG.Tasks.TaskSDK.TaskStateObjectCollection.GetElementState()
   at SAS.EG.Tasks.TaskSDK.TaskState.GetElementState()
   at SAS.EG.Tasks.TaskSDK.TaskModel.WriteXml(Boolean verbose)
   at SAS.EG.Tasks.TaskSDK.TaskModel.get_XmlState()
   at SAS.Shared.AddIns.Management.AddInProxy.get_XmlState()
   at SAS.EG.ProjectElements.EGTask.MarshaledReadXmlState()
   at SAS.EG.ProjectElements.EGTask.ReadXmlState()
   at SAS.EG.ProjectElements.EGTask.Show(IWin32Window Owner)
   at SAS.EG.SEGuide.MainForm.OpenTaskView(Element e, Boolean promptToReplace, Boolean showDialog)
   at SAS.EG.SEGuide.MainForm.ShowDialogForElement(Element el)
   at SAS.EG.SEGuide.MainForm.ModifyElement(Element element)
   at SAS.EG.SEGuide.MainForm.OnModifyResults(Object sender, EventArgs e)
   at System.Windows.Forms.ToolStripItem.RaiseEvent(Object key, EventArgs e)
   at System.Windows.Forms.ToolStripButton.OnClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleClick(EventArgs e)
   at System.Windows.Forms.ToolStripItem.HandleMouseUp(MouseEventArgs e)
   at System.Windows.Forms.ToolStripItem.FireEventInteractive(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStripItem.FireEvent(EventArgs e, ToolStripItemEventType met)
   at System.Windows.Forms.ToolStrip.OnMouseUp(MouseEventArgs mea)
   at System.Windows.Forms.Control.WmMouseUp(Message& m, MouseButtons button, Int32 clicks)
   at System.Windows.Forms.Control.WndProc(Message& m)
   at System.Windows.Forms.ScrollableControl.WndProc(Message& m)
   at System.Windows.Forms.ToolStrip.WndProc(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.OnMessage(Message& m)
   at System.Windows.Forms.Control.ControlNativeWindow.WndProc(Message& m)
   at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam)

------------------------------ End of Technical Information ------------------------------

This error will mostly likely occur after you modify the Logistic Regression task and then remove or adjust Model Effects or Column Roles.

There is no circumvention for the problem other than building a new task instead of modifying the original task.

Click the Hot Fix tab in this note to access the hot fix for this issue.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Enterprise GuideWindows Vista4.24.229.2 TS2M09.2 TS2M0
Microsoft® Windows® for x644.24.229.2 TS2M09.2 TS2M0
Microsoft Windows Server 2003 Datacenter Edition4.24.229.2 TS2M09.2 TS2M0
Microsoft Windows Server 2003 Enterprise Edition4.24.229.2 TS2M09.2 TS2M0
Microsoft Windows Server 2003 Standard Edition4.24.229.2 TS2M09.2 TS2M0
Microsoft Windows XP Professional4.24.229.2 TS2M09.2 TS2M0
* For software releases that are not yet generally available, the Fixed Release is the software release in which the problem is planned to be fixed.