GRC Controls File Import Concurrent Program Fails with Error 'java.lang.IllegalArgumentException: File should not be null'

(Doc ID 1620546.1)

Last updated on AUGUST 26, 2016

Applies to:

Oracle Preventive Controls Governor - Version 7.3 to 7.3.1 [Release 7]
Information in this document applies to any platform.

Symptoms

On : PCG 7.3.1 version, Other Issues not covered by existing components

GRC Controls File Import concurrent program is erroring out

Import from File function is not importing the GRC Rule. GRC Control File Import Program is erroring out.

Also user is unable to migrate the rules within the instance.

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

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:467)
at oracle.apps.xxlaapps.importer.xmltablcols.generateDoc(xmltablcols.java:156)
at oracle.apps.xxlaapps.importer.GRCRuleLoader.runProgram(GRCRuleLoader.java:130)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
--------------- ERROR DURING MIGRATION --------------
Error : Unexpected exception encountered.
-----------------------------------------------------
java.sql.SQLRecoverableException: Closed Connection
at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3416)
at oracle.jdbc.driver.PhysicalConnection.prepareCall(PhysicalConnection.java:3377)
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.xmltablcols.generateDoc(xmltablcols.java:187)
at oracle.apps.xxlaapps.importer.GRCRuleLoader.runProgram(GRCRuleLoader.java:130)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
--------------------- EXCEPTION ---------------------
Message : java.lang.IllegalArgumentException: File should not be null.

oracle.apps.xxlaapps.importer.CustomException: java.lang.IllegalArgumentException: File should not be null.
at oracle.apps.xxlaapps.importer.xmltablcols.generateDoc(xmltablcols.java:188)
at oracle.apps.xxlaapps.importer.GRCRuleLoader.runProgram(GRCRuleLoader.java:130)
at oracle.apps.fnd.cp.request.Run.main(Run.java:157)
Caused by: 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:467)
at oracle.apps.xxlaapps.importer.xmltablcols.generateDoc(xmltablcols.java:156)
... 2 more


STEPS
-----------------------
The issue can be reproduced at will with the following steps:
1. Navigate to GRC Controls Responsibility > Form Rules.
2. Select a Form Rule to Copy.
3. In the Menu Go to GRC Controls Utilities > Migrate Rules.
4. Provide required parameters.
5. Copy the Rule.
6. Check the Concurrent Program.

BUSINESS IMPACT
-----------------------
The issue has the following business impact:
Due to this issue, users cannot copy or migrate or import rules.

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