User Provision Job Fails For An Existing User With Conflicts With Errors 'Error occurred while deleting directory' 'Cannot persist the error: null' (Doc ID 2324403.1)

Last updated on NOVEMBER 02, 2017

Applies to:

Oracle Application Access Controls Governor - Version 8.6.5 and later
Information in this document applies to any platform.

Symptoms

8.6.6.5020 and 8.6.6.6063: User provisioning job fails with error.

2017-09-14 05:41:46,165 DEBUG [Thread-5] QuartzScheduler:892 New Version : GRC-all-8.6.6.6063


2017-09-25 09:36:05,831 DEBUG [Thread-588] OdinWorkManager:149 OdinSchedulerWorkManager has work completed: oracle.apps.odin.scheduler.job.JobMonitoring$1@762e77ae
2017-09-25 09:36:05,916 ERROR [Thread-586] FileUtil:157 Error occurred while deleting directory: /seapg/app01/app/seapg/aacg/tcg_etl/temp.repository/8636/8650
java.io.IOException: Unable to delete directory /seapg/app01/app/seapg/aacg/tcg_etl/temp.repository/8636/8650/1076.
at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:981)
at org.apache.commons.io.FileUtils.forceDelete(FileUtils.java:1381)
at org.apache.commons.io.FileUtils.cleanDirectory(FileUtils.java:1044)
at org.apache.commons.io.FileUtils.deleteDirectory(FileUtils.java:977)
at oracle.apps.odin.utils.sysutil.FileUtil.deleteDirs(FileUtil.java:154)
at oracle.apps.odin.scheduler.job.env.FileStorage.destroy(FileStorage.java:113)
at oracle.apps.odin.scheduler.job.env.StorageManager.destroyStorage(StorageManager.java:99)
at oracle.apps.odin.scheduler.job.JobExecutionMaster.removeJob(JobExecutionMaster.java:249)
at oracle.apps.odin.scheduler.job.JobExecutionMaster.observeStatusChange(JobExecutionMaster.java:441)
at oracle.apps.odin.scheduler.job.executor.local.JobTerminationMonitor$1.removeLocalJob(JobTerminationMonitor.java:59)
at oracle.apps.odin.scheduler.job.executor.local.JobTerminationMonitor$1.run(JobTerminationMonitor.java:52)
at oracle.apps.odin.domain.executor.OdinWorkManager$OdinWork.run(OdinWorkManager.java:62)
at de.myfoo.commonj.work.FooWorkItem.run(FooWorkItem.java:100)
at java.lang.Thread.run(Thread.java:745)
2017-09-25 09:36:05,916 DEBUG [Thread-586] JobExecutionMaster:250 SCHDR Job (id=8650) storage is removed: true
2017-09-25 09:36:05,916 DEBUG [Thread-586] SemaphoreResourceGuardian:103 SCHDR releasing resource
2017-09-25 09:36:05,916 DEBUG [Thread-586] InterruptableSemaphore:207 SCHDR permit released
2017-09-25 09:36:05,916 DEBUG [Thread-586] InterruptableSemaphore:210 SCHDR waiting threads signaled
2017-09-25 09:36:05,916 DEBUG [Thread-12] InterruptableSemaphore:146 SCHDR permit acquired
2017-09-25 09:36:05,916 DEBUG [Thread-12] SemaphoreResourceGuardian:85 SCHDR permit acquired job subjob [jobName=GrccModelReasoningJob_1078, jobId=8651, jobRunId=5184, jobStatus=QUEUED, jobType=MODEL_REASONING_JOB]
2017-09-25 09:36:05,917 DEBUG [Thread-586] SemaphoreResourceGuardian:109 SCHDR permit released for job subjob [jobName=GrccModelReasoningJob_1076, jobId=8650, jobRunId=5184, jobStatus=ERRORED, jobType=MODEL_REASONING_JOB]
2017-09-25 09:36:05,917 DEBUG [Thread-586] OdinWorkManager:149 OdinSchedulerWorkManager has work completed: oracle.apps.odin.scheduler.job.executor.local.JobTerminationMonitor$1@3721ceea
2017-09-25 09:36:05,918 DEBUG [Thread-12] JobExecutionGuardian:75 SCHDR The job detail for job subjob [jobName=GrccModelReasoningJob_1078, jobId=8651, jobRunId=5184, jobStatus=QUEUED, jobType=MODEL_REASONING_JOB] was not deleted from the JobScheduler.
2017-09-25 09:36:05,918 DEBUG [Thread-12] JobDequeuer:149 SCHDR Executing job subjob [jobName=GrccModelReasoningJob_1078, jobId=8651, jobRunId=5184, jobStatus=IN_PROGRESS, jobType=MODEL_REASONING_JOB]
2017-09-25 09:36:05,918 ERROR [Thread-12] JobDequeuer:178 NullPointerException for job subjob [jobName=GrccModelReasoningJob_1078, jobId=8651, jobRunId=5184, jobStatus=IN_PROGRESS, jobType=MODEL_REASONING_JOB]
2017-09-25 09:36:05,918 ERROR [Thread-12] JobExecutionMaster:490 SCHDR Job is removed. Cannot persist the error: null
2017-09-25 09:36:05,918 ERROR [Thread-12] JobDequeuer:181
java.lang.NullPointerException

1. Request User Provisioning for an existing user.
2. User Provisioning job errors.

Business Impact: This is production and customer cannot continue Auditing.

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