Thanks to visit codestin.com
Credit goes to github.com

Skip to content

UT Coverage HTML Reporter throws SYS.DBMS_PROFILER Error #716

@GMehrl

Description

@GMehrl

Hi everyone,
I have a package 'p_menu' and a related ut package 'p_menu_ut'.
When I execute the p_menu_ut normally, everything works fine.

begin
  ut.run('p_menu_ut');
end;
/

output:

menu
  menu
    check that record is correctly created [,435 sec]
    check that record is correctly read [,073 sec]
    check that record is correctly updated [,163 sec]
    check that record is correctly deleted [,07 sec]
    check that MENU ID is correctly checked [,026 sec]
    check that descriptor is correctly returned [,043 sec]
 
Finished in 1,876193 seconds
6 tests, 0 failed, 0 errored, 0 disabled, 0 warning(s)

When I try to execute the same ut package with the html coverage reporter, I receive a Error Message (incl. sys.dbms_profiler)

begin
  ut.run('p_menu_ut', ut_coverage_html_reporter());
end;
/

output:

Error starting at line : 1 in command -
begin
  ut.run('p_menu_ut', ut_coverage_html_reporter());
end;
Error report -
ORA-06528: Error executing PL/SQL profiler
ORA-06512: at "UT3.UT_RUNNER", line 133
ORA-06512: at "SYS.DBMS_PROFILER", line 173
ORA-06512: at "UT3.UT_COVERAGE_HELPER_PROFILER", line 53
ORA-06512: at "UT3.UT_COVERAGE", line 200
ORA-06512: at "UT3.UT_COVERAGE_HTML_REPORTER", line 35
ORA-06512: at "UT3.UT_REPORTER_BASE", line 190
ORA-06512: at "UT3.UT_EVENT_MANAGER", line 39
ORA-06512: at "UT3.UT_RUN", line 71
ORA-06512: at "UT3.UT_SUITE_ITEM", line 53
ORA-06512: at "UT3.UT_RUNNER", line 123
ORA-06512: at "UT3.UT", line 115
ORA-06512: at "UT3.UT", line 306
ORA-06512: at "UT3.UT", line 364
ORA-06512: at line 2
06528. 00000 -  "Error executing PL/SQL profiler"
*Cause:    An error occurred in during execution of a PL/SQL profiler
           procedure.
ORA-06512: at "SYS.DBMS_PROFILER", line 173
ORA-06512: at "UT3.UT_COVERAGE_HELPER_PROFILER", line 53
ORA-06512: at "UT3.UT_COVERAGE", line 200
ORA-06512: at "UT3.UT_COVERAGE_HTML_REPORTER", line 35
ORA-06512: at "UT3.UT_REPORTER_BASE", line 190
ORA-06512: at "UT3.UT_EVENT_MANAGER", line 39
ORA-06512: at "UT3.UT_RUN", line 71
ORA-06512: at "UT3.UT_SUITE_ITEM", line 53
ORA-06512: at "UT3.UT_RUNNER", line 123

ORA-06528: Error executing PL/SQL profiler
ORA-06512: at "SYS.DBMS_PROFILER", line 173
ORA-06512: at "UT3.UT_COVERAGE_HELPER_PROFILER", line 53
ORA-06512: at "UT3.UT_COVERAGE", line 200
ORA-06512: at "UT3.UT_COVERAGE_HTML_REPORTER", line 35
ORA-06512: at "UT3.UT_REPORTER_BASE", line 190
ORA-06512: at "UT3.UT_EVENT_MANAGER", line 39
ORA-06512: at "UT3.UT_RUN", line 71
ORA-06512: at "UT3.UT_SUITE_ITEM", line 53

Is there anybody who has an idea to solve this issue?
Thanks,
Guido

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions