My Oracle Support Banner

RPAS Server: mace Failing With "Illegal Types For Sub-trees" Error (Doc ID 2178591.1)

Last updated on FEBRUARY 13, 2018

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

To view full details, sign in with your My Oracle Support account.

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


In this Document
Goal
Solution


My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.