I'm running following block in Oracle (what does it do is not so important)
BEGIN
SDO_RDF_INFERENCE.CREATE_RULES_INDEX(
'my_index',
SDO_RDF_Models('my_model'),
SDO_RDF_Rulebases('RDFS'));
END;
and getting following error:
ORA-29532: Java call terminated by uncaught Java exception: java.lang.NullPointerException
ORA-06512: at "MDSYS.RDF_APIS_USER", line 7
ORA-06512: at "MDSYS.RDF_APIS_USER", line 9
ORA-06512: at "MDSYS.RDF_APIS", line 477
ORA-06512: at line 2
29532. 00000 - "Java call terminated by uncaught Java exception: %s"
*Cause: A Java exception or error was signaled and could not be
resolved by the Java code.
*Action: Modify Java code, if this behavior is not intended.
Question: how can I access Oracle error log or something to get full stack trace or any other information about exception.
Usually only DBA's have essential rights to view Oracle logs. But,If you have enough rights:
select value from v$parameter t
where t.NAME='background_dump_dest'
This query will return the file path of the Oracle alert log and trace\dump files at Oracle Server machine. Alert log (Alert_"databasename".log) chronologically records messages and errors and containes pointers to trace\dump file assosiated whith them.
Also you can view alert_.log using Oracle Enterprise Managment Console following the "Alert Log Contents" link in the target database.