Problem Note 50392: SAS® Promotion Optimization displays "Illegal group reference ..." after running On-demand
When using SAS Promotion Optimization, the following error message might be displayed after running On-demand:
SAS Merchandise Intelligence
An error occurred in SAS Merchandise Intelligence.
Restart or Exit the application.
The detailed error message shows the following:
!ENTRY sas.solutions.di.studio.jars 2 2 2013-07-10 10:19:36.791
!MESSAGE Illegal group reference
!STACK 0
java.lang.IllegalArgumentException: Illegal group reference
at java.util.regex.Matcher.appendReplacement(Matcher.java:725)
at java.util.regex.Matcher.replaceFirst(Matcher.java:872)
at java.lang.String.replaceFirst(String.java:2158)
After this message is generated, you cannot access the promotion.
This error occurs when the On-demand action generates a message that includes a dollar sign ($) or backslash (\).
The workaround is to modify the On-demand action so that the updates to the WORK.MESSAGE table MESSAGE column include a backslash (\) before the special characters.
Examples:
- The MESSAGE Turkey $ off promotion should be
Turkey \$ off promotion.
- The MESSAGE Turkey\Chicken promotion should be
Turkey\\Chicken promotion.
In the user interface, the MESSAGE does not display the backslash (\).
Contact SAS Technical Support if an update to data in the PROCESS_MESSGAGE_DETAIL table is required.
Operating System and Release Information
SAS System | SAS Promotion Optimization | Microsoft® Windows® for x64 | 5.2_M2 | 5.2_M3 | 9.3 TS1M2 | 9.3 TS1M2 |
Linux for x64 | 5.2_M2 | 5.2_M3 | 9.3 TS1M2 | 9.3 TS1M2 |
*
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.
Type: | Problem Note |
Priority: | high |
Date Modified: | 2013-07-15 12:53:44 |
Date Created: | 2013-07-12 13:47:04 |