Exception In New Rate Engine When Running In Native Mode (Doc ID 2200751.1)

Last updated on NOVEMBER 08, 2016

Applies to:

Oracle Utilities Customer Care and Billing - Version 2.4.0.3.0 and later
Information in this document applies to any platform.

Symptoms

On CC&B v2.4.0.3.0, the Production env has been cloned to have dev and test instances. As part of the development, the solution is extended to Non-Domestic customers and for these customers the "New" Rating Engine is used.

When running SIT environment in "Embedded" mode, it works fine.
When running in "Native" mode, (run initialSetup.sh to create EAR files and deploy to the WLS cluster), when running a Rate Check, the following error occurs.

ERROR
-----------------------
SYSUSER - 235920-449-1 2016-04-20 00:21:27,426 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (api.service.ServiceDispatcher) Start 'CILRRTAP change
SYSUSER - 235920-449-1 2016-04-20 00:21:27,579 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (api.service.ServiceDispatcher) Start 'CILZDTWP read
SYSUSER - 235920-449-1 2016-04-20 00:21:27,587 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] DEBUG (api.service.ServiceDispatcher) End 'CILZDTWP read, time 7.792 ms
SYSUSER - 235920-449-1 2016-04-20 00:21:27,630 [[ACTIVE] ExecuteThread: '0' for queue: 'weblogic.kernel.Default (self-tuning)'] ERROR (rate.service.RateApplicationProcessorService) Invalid class or can't make instance, com.splwg.base.support.expression.nodes.VariableNode
java.lang.IllegalArgumentException: Invalid class or can't make instance, com.splwg.base.support.expression.nodes.VariableNode
at antlr.ASTFactory.createUsingCtor(ASTFactory.java:251)
at antlr.ASTFactory.create(ASTFactory.java:210)
at com.splwg.base.support.expression.grammar.ExpressionParser.variable(ExpressionParser.java:590)
at com.splwg.base.support.expression.grammar.ExpressionParser.value(ExpressionParser.java:501)
at com.splwg.base.support.expression.grammar.ExpressionParser.atom(ExpressionParser.java:448)
at com.splwg.base.support.expression.grammar.ExpressionParser.power(ExpressionParser.java:374)
at com.splwg.base.support.expression.grammar.ExpressionParser.term(ExpressionParser.java:317)
at com.splwg.base.support.expression.grammar.ExpressionParser.sum(ExpressionParser.java:268)
at com.splwg.base.support.expression.grammar.ExpressionParser.relational(ExpressionParser.java:179)
at com.splwg.base.support.expression.grammar.ExpressionParser.notExpression(ExpressionParser.java:167)
at com.splwg.base.support.expression.grammar.ExpressionParser.logicalAndExpr(ExpressionParser.java:112)
at com.splwg.base.support.expression.grammar.ExpressionParser.expression(ExpressionParser.java:83)
at com.splwg.base.support.expression.grammar.ExpressionParser.fullExpression(ExpressionParser.java:70)
at com.splwg.base.api.expression.ExpressionParser.parse(ExpressionParser.java:143)
at com.splwg.ccb.domain.rate.common.FormulaCache.getCachedExpression(FormulaCache.java:45)
at com.splwg.ccb.domain.rate.common.FormulaCache.getExpression(FormulaCache.java:30)
at com.splwg.ccb.domain.rate.common.ApplyFormula_Impl.evaluateFinalFormula(ApplyFormula_Impl.java:713)
at com.splwg.ccb.domain.rate.common.ApplyFormula_Impl.evaluateConditionalFormula(ApplyFormula_Impl.java:777)
at com.splwg.ccb.domain.rate.common.ApplyFormula_Impl.applyFormula(ApplyFormula_Impl.java:134)
at com.splwg.ccb.domain.rate.common.ApplyFormula_Impl__.CGLIB$applyFormula$0()
at com.splwg.ccb.domain.rate.common.ApplyFormula_Impl__$$FastClassByCGLIB$$fa2e6af0.invoke()
at net.sf.cglib.proxy.MethodProxy.invokeSuper(MethodProxy.java:215)
at com.splwg.base.support.interception.BusinessMethodInterceptor.intercept(BusinessMethodInterceptor.java:84)
at com.splwg.ccb.domain.rate.common.ApplyFormula_Impl__.applyFormula()


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Run Rate Check in Native mode env

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Unable to run New Rate Engine in Native mode as a business requirement.

Cause

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