SUPPORT / SAMPLES & SAS NOTES
 

Support

Problem Note 17377: Async execution fails when you update counts in SAS® Campaign Studio

DetailsHotfixAboutRate It

You might receive the following exception when you update counts on a node within a SAS Campaign Studio diagram:

   com.sas.analytics.crm.flow.ejb.FlowPostProcessor -
     Async execution failure
   com.sas.analytics.crm.error.client.ApplicationException:
     In MAIQService:getDataSelection:null
       at
   com.sas.analytics.crm.custdata.datapattern.MAIQService.execute
     (MAIQService.java:2125)
   ...
   Caused by: com.sas.analytics.crm.error.client.ApplicationException:
   In MAIQService:getDataSelection:null
         at
   com.sas.analytics.crm.custdata.datapattern.MAIQService.
   getDataSelection (MAIQService.java:1579)
   ...
   Caused by: java.lang.ClassCastException
   at com.sas.iquery.util.FilterOptimizer.optimizeFilters(Unknown
   Source)
   at com.sas.analytics.crm.custdata.datapattern.MAIQFilter.
   createDataSelection(MAIQFilter.java:1695)

This problem might be caused by your information map attributes for a data item that is a "key field." (You can tell that a data item is a key field if the item is used as a subject and has the extended attribute Level=ID.) Identify the data item causing the error by reviewing the error message that you receive. Information Map Studio might incorrectly change the expression type from a column-based item to a ResourceAwareStringExpression for the subject item. This problem occurs when you define the field in the map using these steps:

  1. Bring up the property window for the subject data item.
  2. Click the Edit button to bring up Expression Editor window.
  3. Click OK button to close Expression Editor window.

These ResourceAwareStrExpr do not cause a problem in data items that are not key fields.

To correct this problem, open your information map XML file for editting. Find the problematic data item in the XML. Look in the information map for the following tags associated with this data item.:

   <Expr>
      <ResourceAwareStrExpr exprType="3" scope="2">
        <QualifiedColumnUse prid="XR13"/>
      </ResourceAwareStrExpr>
   </Expr>

Modify the attributes to remove the ResourceAwareStrExpr tags. Here is an example of the XML with the ResourceAwareStrExpr tags removed:

   <Expr>
      <QualifiedColumnUse prid="XR13"/>
   </Expr>


Operating System and Release Information

Product FamilyProductSystemProduct ReleaseSAS Release
ReportedFixed*ReportedFixed*
SAS SystemSAS Campaign StudioMicrosoft Windows Server 2003 Standard Edition4.34.49.1 TS1M3 SP39.1 TS1M3 SP4
Microsoft Windows XP Professional4.34.49.1 TS1M3 SP39.1 TS1M3 SP4
Microsoft Windows Server 2003 Enterprise Edition4.34.49.1 TS1M3 SP39.1 TS1M3 SP4
Microsoft Windows Server 2003 Datacenter Edition4.34.49.1 TS1M3 SP39.1 TS1M3 SP4
Microsoft Windows 2000 Server4.34.49.1 TS1M3 SP39.1 TS1M3 SP4
Microsoft Windows 2000 Advanced Server4.34.49.1 TS1M3 SP39.1 TS1M3 SP4
Microsoft Windows 2000 Datacenter Server4.34.49.1 TS1M3 SP39.1 TS1M3 SP4
Microsoft Windows 2000 Professional4.34.49.1 TS1M3 SP39.1 TS1M3 SP4
* 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.