GRC Controls Migration Utility Unable to Import : Message : File should not be null. (Doc ID 1476358.1)

Last updated on MARCH 08, 2017

Applies to:

Oracle Preventive Controls Governor - Version 7.3 and later
Information in this document applies to any platform.

Symptoms

-- Problem Statement:
On Preventative Controls Governor (PCG) version 7.3.3 in Production:
Migration Utility is a sub component of the AppsRules module and the AppsRules module is a component of the PCG application. AppsForm rules are created to apply various form rules on OEBS forms like Sales Order form. When attempting to import AppsForm rules from a XML file the File Import program fails with the following errors:

ERROR
-------------------------

Error : Errors encountered while parsing the XML.Start of root element expected.
-----------------------------------------------------
java.lang.NullPointerException
at oracle.apps.xxlaapps.importer.Logg.fndMessage(Logg.java:100)
at oracle.apps.xxlaapps.importer.Logg.mlsLog(Logg.java:164)
at oracle.apps.xxlaapps.importer.Insert.Driver(Insert.java:461)
at oracle.apps.xxlaapps.importer.Insert.importer(Insert.java:608)
at oracle.apps.xxlaapps.importer.GRCRuleImporter.runProgram(GRCRuleImporter.java:64)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)

--------------------- EXCEPTION ---------------------
Message : File should not be null.

java.lang.IllegalArgumentException: File should not be null.
at oracle.apps.xxlaapps.importer.Logg.writeMlsLog(Logg.java:142)
at oracle.apps.xxlaapps.importer.Logg.mlsLog(Logg.java:164)
at oracle.apps.xxlaapps.importer.Insert.Driver(Insert.java:461)
at oracle.apps.xxlaapps.importer.Insert.importer(Insert.java:608)
at oracle.apps.xxlaapps.importer.GRCRuleImporter.runProgram(GRCRuleImporter.java:64)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
-----------------------------------------------------
java.lang.NullPointerException
at oracle.apps.xxlaapps.importer.Logg.fndMessage(Logg.java:100)
at oracle.apps.xxlaapps.importer.Logg.mlsLog(Logg.java:164)
at oracle.apps.xxlaapps.importer.Insert.importer(Insert.java:631)
at oracle.apps.xxlaapps.importer.GRCRuleImporter.runProgram(GRCRuleImporter.java:64)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)

Currently all other components of AppsRules is working in the source instance

-- Steps To Reproduce:
The issue can be reproduced at will with the following steps:
Navigation: OEBS > GRC Controls Responsibility (PCG) > AppsRules
1. Export Rules to a file
2. Import the rules using the File Import Program
4. Verify the log file to make sure the rules have been uploaded to the targeted instance

-- Business Impact:
The issue has the following business impact:
Due to this issue, users cannot backup FormRules created and the issue is impacting CRP2 milestone. All other components of the PCG application is working as expected.

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