SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 66232: Using a join view in a CAS action with a computed column produces both a "cas.CASException" error and an access violation error

DetailsHotfixAboutRate It

When you use a join view in a SAS® Cloud Analytic Services (CAS) action, the following error messages might be produced:

An error occurred. com.sas.cas.CASException: An access violation prevents progress of the analysis. (severity=2 reason=0 statusCode=2680228)
        3 NOTE: The data access technique requires that computed columns are evaluated on-demand.
        5 ERROR: An access violation prevents progress of the analysis.
        5 ERROR: The action stopped due to errors.

The problem occurs when the CAS action references a computed column in the GROUPBY or ORDERBY list.

You can also see this problem in a report object, such as a list table object, in SAS® Visual Analytics. The related error message in SAS Visual Analytics looks similar to the following:

Access violation error in SAS Visual Analytics

To circumvent the problem, copy the view into a table by using the PARTITION action. Here is an example. In the syntax here, substitute your specific values for caslib-name, view-name, and table-name:

proc cas;
   partition / table={caslib="caslib-name", name='view-name'} casout={caslib="caslib-name", 
   name='table-name', promote=true};
quit;

Click the Hot Fix tab in this note for a link to instructions about accessing and applying the software update.



Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS ViyaMicrosoft Windows 8 Enterprise 32-bit3.5Viya
Microsoft Windows 8 Pro 32-bit3.5Viya
Microsoft Windows 8.1 Enterprise 32-bit3.5Viya
Microsoft Windows 8.1 Pro 32-bit3.5Viya
Microsoft Windows 95/983.5Viya
Microsoft Windows 2000 Advanced Server3.5Viya
Microsoft Windows 2000 Datacenter Server3.5Viya
Microsoft Windows 2000 Server3.5Viya
Microsoft Windows 2000 Professional3.5Viya
Microsoft Windows NT Workstation3.5Viya
Microsoft Windows Server 2003 Datacenter Edition3.5Viya
Microsoft Windows Server 2003 Enterprise Edition3.5Viya
Microsoft Windows Server 2003 Standard Edition3.5Viya
Microsoft Windows Server 20083.5Viya
Microsoft Windows Server 20193.5Viya
Microsoft Windows XP Professional3.5Viya
Windows 7 Enterprise 32 bit3.5Viya
Windows 7 Home Premium 32 bit3.5Viya
Windows 7 Professional 32 bit3.5Viya
Windows 7 Ultimate 32 bit3.5Viya
Windows Millennium Edition (Me)3.5Viya
Windows Vista3.5Viya
Linux for x643.5Viya
Windows Vista for x643.5Viya
Windows 7 Ultimate x643.5Viya
Windows 7 Professional x643.5Viya
Windows 7 Home Premium x643.5Viya
Windows 7 Enterprise x643.5Viya
Microsoft Windows Server 20163.5Viya
Microsoft Windows Server 2012 Std3.5Viya
Microsoft Windows Server 2012 R2 Std3.5Viya
Microsoft Windows Server 2012 R2 Datacenter3.5Viya
Microsoft Windows Server 2012 Datacenter3.5Viya
Microsoft Windows Server 2008 for x643.5Viya
Microsoft Windows Server 2008 R23.5Viya
Microsoft Windows Server 2003 for x643.5Viya
Microsoft Windows 103.5Viya
Microsoft Windows 8.1 Pro x643.5Viya
Microsoft Windows 8.1 Enterprise x643.5Viya
Microsoft Windows 8 Pro x643.5Viya
Microsoft Windows 8 Enterprise x643.5Viya
Microsoft® Windows® for x643.5Viya
* 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.