Mace Failing With "Illegal Types For Sub-trees" Error (Doc ID 2178591.1)

Last updated on SEPTEMBER 01, 2016

Applies to:

Oracle Retail Predictive Application Server - Version 15.0 and later
Information in this document applies to any platform.

Goal

Why am I receiving an error when I run this expression via mace?

$ mace -d ldom01 -run -expression "LPWpLRegR = if(LpWpStsTx == "1", LPWpSlsRegR, ignore)"
Illegal types for sub-trees: LpWpStsTx and 1 long
Expression::restoreExpression() caught exception
Exception: 'IllegalParse: Failed to validate parse tree.
Expression: LPWpLRegR = if(LpWpStsTx == 1, LPWpSlsRegR, ignore)'
Expression: 'LPWpLRegR = if(LpWpStsTx == 1, LPWpSlsRegR, ignore)'

mace Got Rpas exception: rpas::IllegalParse
IllegalParse: Failed to validate parse tree.
Expression: LPWpLRegR = if(LpWpStsTx == 1, LPWpSlsRegR, ignore)
 

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms