on 18c XE on windows we face the following:
SQL> select * from OPATCH_XML_INV ;
ERROR:
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04027: file name check failed: qopatch_log.log
Also in alert log we notice issues
2020-06-17T10:01:45.774350+03:00
QPI: opatch file present, opatch.bat
QPI: qopiprep.bat file present
Unable to obtain current patch information due to error: 20001, ORA-20001: Latest xml inventory is not loaded into table
ORA-06512: at "SYS.DBMS_QOPATCH", line 2333
ORA-06512: at "SYS.DBMS_QOPATCH", line 856
ORA-06512: at "SYS.DBMS_QOPATCH", line 939
ORA-06510: PL/SQL: unhandled user-defined exception
ORA-06512: at "SYS.DBMS_QOPATCH", line 934
ORA-29913: error in executing ODCIEXTTABLEOPEN callout
ORA-29400: data cartridge error
KUP-04027: file name check failed: qopatch_log.log
ORA-06512: at "SYS.DBMS_QOPATCH", line 921
ORA-06512: at "SYS.DBMS_QOPATCH", line 2292
ORA-06512: at "SYS.DBMS_QOPATCH", line 819
ORA-06512: at "SYS.DBMS_QOPATCH", line 2315
===========================================================
Dumping current patch information
===========================================================
Unable to obtain current patch information due to error: 20001
===========================================================
2020-06-17T10:01:46.680597+03:00
Errors in file C:\ORACLE\PRODUCT\18.0.0\diag\rdbms\xe\xe\trace\xe_m001_10620.trc:
ORA-27037: unable to obtain file status
OSD-04011: GetFileInformationByHandle() failure, unable to obtain file info
O/S-Error: (OS 5) Access is denied.
2020-06-17T10:01:46.758720+03:00
Errors in file C:\ORACLE\PRODUCT\18.0.0\diag\rdbms\xe\xe\trace\xe_m001_10620.trc:
ORA-27037: unable to obtain file status
OSD-04011: GetFileInformationByHandle() failure, unable to obtain file info
O/S-Error: (OS 5) Access is denied.