Troubleshooting
Problem
If you are using rule engine classes and passing object of this type as argument to XOM methods you might be seeing the following type of exception during the rule execution. [
]
Caused by: ilog.rules.bres.session.IlrRuleSessionException:
Nested Message is argument type mismatch . Look at the XU files.
at ilog.rules.bres.session.java.
IlrStatelessRuleSessionSimple. executeRules(Unknown Source)
at .jrules.ExecutionEngine.
executeRulesUsingVendorApi(ExecutionEngine.java:197)
... 70 more
Caused by:
ilog.rules.engine.IlrUserRuntimeException: argument type mismatch
at ilog.rules.engine.IlrContext.executeRuleSelector(Unknown Source)[]
Symptom
If a function in the BOM is using a method of the XOM that has one argument of type IlrRrule, you are getting a "invalid argument exception" during execution.
The method in the XOM is expecting an IlrRule object, but the engine is passing something different apparently.
This can also happen with instances of IlrRuleInstance or IlrContext for example
[{"Product":{"code":"SS6MTS","label":"WebSphere ILOG JRules"},"Business Unit":{"code":"BU053","label":"Cloud \u0026 Data Platform"},"Component":"General","Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"7.1;7.0","Edition":"","Line of Business":{"code":"LOB45","label":"Automation"}},{"Product":{"code":"SSQP76","label":"IBM Operational Decision Manager"},"Business Unit":{"code":"BU048","label":"IBM Software"},"Component":null,"Platform":[{"code":"PF025","label":"Platform Independent"}],"Version":"8.5;8.0;7.5","Edition":"Enterprise","Line of Business":{"code":"LOB76","label":"Data Platform"}}]
Log InLog in to view more of this document
This document has the abstract of a technical article that is available to authorized users once you have logged on. Please use Log in button above to access the full document. After log in, if you do not have the right authorization for this document, there will be instructions on what to do next.
Was this topic helpful?
Document Information
Modified date:
15 June 2018
UID
swg21437519