SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 45695: Using an analysis variable with all missing values prevents the summary statistics task from running

DetailsHotfixAboutRate It

Using an analysis variable with all missing values prevents the summary statistics task from running in SAS® Enterprise Guide® and the SAS® Add-In for Microsoft Office.

In SAS Enterprise Guide, you see the following error:

SAS Enterprise Guide has encountered a problem and needs to close.  We are sorry
for the inconvenience.
-------------------------------------------------------------------------------
System.OverflowException
Value was either too large or too small for a Decimal.
-------------------- Technical Information Follows----------------------------
System.OverflowException: Value was either too large or too small for a Decimal.
   at System.Decimal..ctor(Double value)
   at
SAS.EG.Tasks.SummaryStatistics.SummaryStatisticsModel.CalculateDefaultMidpoints(
Role rVar)
   at
SAS.EG.Tasks.SummaryStatistics.SummaryStatisticsModel.VarRoleChanged(Object
sender, StateChangedEventArgs e)
   at SAS.EG.Tasks.TaskSDK.StateChangedEventHandler.Invoke(Object sender,
StateChangedEventArgs e)
   at SAS.EG.Tasks.TaskSDK.TaskStateObject.OnStateChanged(StateChangedEventArgs
rea)
   at
SAS.EG.Tasks.TaskSDK.TaskStateObject.RaiseStateChanged(StateChangedEventArgs ea)
   at SAS.EG.Tasks.TaskSDK.ColumnsPanel.variableSelector_VariableAssigned(Object
sender, VariableAssignedEventArgs ea)
   at SAS.EG.Controls.SASVariableSelector.AssignVar(SASVariable varItem, SASRole
roleItem, Int32 insertAt)
   at SAS.EG.Controls.SASVariableSelector.treeRoles_DragDrop(Object sender,
DragEventArgs e)
--------------------- End of Technical Information---------------------------- 

In the SAS Add-In, you see the following error:

System.NullReferenceException: Object reference not set to an instance of an
object.
   at SAS.OfficeAddin.SasDataSource.GenerateStatistics()
   at SAS.OfficeAddin.SASDataAccessor.GenerateStatistic()
   at SAS.EG.Tasks.TaskSDK.Dataset.GenerateStatistics()
   at
SAS.EG.Tasks.SummaryStatistics.SummaryStatisticsModel.ActiveDataHasChanged(Filte
rSettings filterSettings)
   at SAS.EG.Tasks.TaskSDK.TaskModel.ActiveDataChanged()
   at SAS.Shared.AddIns.Management.AddInProxy.ActiveDataChanged()
   at SAS.OfficeAddin.Task.PrepareEGTask(EGTaskInfo taskInfo, Boolean
showDialog, Boolean delayProxyCleanup)
   at SAS.OfficeAddin.Task.PrepareTask(Boolean showDialog, Boolean
delayProxyCleanup)
   at SAS.OfficeAddin.Task.BeforeExecute(BeforeExecuteEventArgs e)
   at SAS.OfficeAddin.OfficeAddinBase.LaunchRunnable(IRunnable job, Boolean
showDialog, JobResultLocation location)
   at SAS.OfficeAddin.OfficeAddinBase.LaunchFromRunnableInfo(IRunnableInfo
jobInfo)
   at SAS.OfficeAddin.OfficeAddinBase.OnTaskInvoked(Object sender,
TaskInvokedEventArgs e)
   at SAS.OfficeAddin.UIManager.OnTaskInvoked(String classId)
   at SAS.OfficeAddin.RibbonManager.OnButtonClick(IRibbonControl control) 

Select 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 Add-in for Microsoft OfficeMicrosoft® Windows® for x644.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Datacenter Edition4.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Enterprise Edition4.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Standard Edition4.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 for x644.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 20084.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2008 for x644.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows XP Professional4.3055.19.2 TS2M39.3 TS1M1
Windows 7 Enterprise 32 bit4.3055.19.2 TS2M39.3 TS1M1
Windows 7 Enterprise x644.3055.19.2 TS2M39.3 TS1M1
Windows 7 Home Premium 32 bit4.3055.19.2 TS2M39.3 TS1M1
Windows 7 Home Premium x644.3055.19.2 TS2M39.3 TS1M1
Windows 7 Professional 32 bit4.3055.19.2 TS2M39.3 TS1M1
Windows 7 Professional x644.3055.19.2 TS2M39.3 TS1M1
Windows 7 Ultimate 32 bit4.3055.19.2 TS2M39.3 TS1M1
Windows 7 Ultimate x644.3055.19.2 TS2M39.3 TS1M1
Windows Vista4.3055.19.2 TS2M39.3 TS1M1
Windows Vista for x644.3055.19.2 TS2M39.3 TS1M1
SAS SystemSAS Enterprise GuideMicrosoft® Windows® for x644.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Datacenter Edition4.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Enterprise Edition4.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 Standard Edition4.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2003 for x644.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 20084.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows Server 2008 for x644.3055.19.2 TS2M39.3 TS1M1
Microsoft Windows XP Professional4.3055.19.2 TS2M39.3 TS1M1
Windows 7 Enterprise 32 bit4.3055.19.2 TS2M39.3 TS1M1
Windows 7 Enterprise x644.3055.19.2 TS2M39.3 TS1M1
Windows 7 Home Premium 32 bit4.3055.19.2 TS2M39.3 TS1M1
Windows 7 Home Premium x644.3055.19.2 TS2M39.3 TS1M1
Windows 7 Professional 32 bit4.3055.19.2 TS2M39.3 TS1M1
Windows 7 Professional x644.3055.19.2 TS2M39.3 TS1M1
Windows 7 Ultimate 32 bit4.3055.19.2 TS2M39.3 TS1M1
Windows 7 Ultimate x644.3055.19.2 TS2M39.3 TS1M1
Windows Vista4.3055.19.2 TS2M39.3 TS1M1
Windows Vista for x644.3055.19.2 TS2M39.3 TS1M1
* 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.