Hi all,
I am getting this erro on a Datapump Schema export on 11.2.0.2:
ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12425,1,...)
ORA-06502: PL/SQL: numeric or value error: NULL index table key value
ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 7049
ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12424,1,...)
ORA-06502: PL/SQL: numeric or value error: NULL index table key value
ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 7049
ORA-39127: unexpected error from call to export_string := SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP(12423,1,...)
ORA-06502: PL/SQL: numeric or value error: NULL index table key value
ORA-06512: at "SYS.DBMS_RMGR_GROUP_EXPORT", line 154
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 7049
ORA-39127: unexpected error from call to export_string := SYS.DBMS_SCHED_JOB_EXPORT.GRANT_EXP(2003412,1,...)
ORA-01031: insufficient privileges
ORA-06512: at "SYS.DBMS_SCHED_MAIN_EXPORT", line 2296
ORA-06512: at "SYS.DBMS_SCHED_JOB_EXPORT", line 52
ORA-06512: at line 1
ORA-06512: at "SYS.DBMS_METADATA", line 7049
I believe it requires some specific privileges on DBMS_RMGR_GROUP_EXPORT.
I have found this below explanation Kevin's Blog: SYS.DBMS_RMGR_GROUP_EXPORT.GRANT_EXP but I am not a DBA, so I am not sure what grant needs to be modified.
It also complains of unsufficient privileges on DBMS_SCHED_JOB_EXPORT.GRANT_EXP, but I am not sure who needs what grant.
Could you please advise on how to resolve the issue?
Thanks