OPM 12.2.7+JDK8 Not Able To Run The RuleScript Project Imported From OPM 12.2.4+JDK7 (Doc ID 2274678.1)

Last updated on JULY 25, 2017

Applies to:

Oracle Policy Automation - Version 12.2.6 and later
Information in this document applies to any platform.

Symptoms

On : 12.2.7 version, Oracle Policy Automation

OPM 12.2.7+JDK8 not able to run the RuleScript project imported from OPM 12.2.4+JDK7

Customer developed a project in OPM 12.2.4, JDK 7 & RuleScript. All the test cases in the excel sheet passed.

Customer migrated the project to OPM 12.2.7 and JDK 8. On running the test cases from same excel spreadsheet, OPM throws error:

ERROR
-----------------------
java.lang.ClassNotFoundException: com.oracle.truffle.js.runtime.JSException

STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. On opening the 12.2.4 project in OPM 12.2.7 for the first time, OPM asked if to migrate the project to 12.2.7 and OPM successfully migrated the project. Opened every rule document and validated the rules, and all validations passed. 
2. Run test cases from from excel spreadsheet.
3. Error is thrown.


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