Skip to content

Coverage reporters failing with "operand value exceeds system limits" #368

@jolmopar

Description

@jolmopar

Hi,
I'm getting an error on the Coverage Reports when trying to run them without additional parameters.
If i run:

exec ut.run(ut_coverage_html_reporter());

I get:

ORA-22813: operand value exceeds system limits
ORA-06512: at "UT3.UT_RUNNER", line 87
ORA-06512: at "UT3.UT_RUNNER", line 111
ORA-06512: at "UT3.UT", line 292
ORA-06512: at "UT3.UT", line 267
ORA-06512: at line 1

And the following trace in DBMS_OUTPUT:

ORA-06512: at "UT3.UT_COVERAGE", line 167
ORA-06512: at "UT3.UT_COVERAGE_HTML_REPORTER", line 37
ORA-06512: at "UT3.UT_EVENT_LISTENER", line 64
ORA-06512: at "UT3.UT_EVENT_LISTENER", line 32
ORA-06512: at "UT3.UT_RUN", line 66
ORA-06512: at "UT3.UT_SUITE_ITEM", line 48
ORA-06512: at "UT3.UT_RUNNER", line 77ORA-22813: operand value exceeds system limits

Same with all the other coverage reporters (sonar, coveralls)

I can make the coverage reports work if I specify the source files mappings. So this works fine:

ut.run('mig',
      ut_coverage_html_reporter(),
      a_source_file_mappings => 
      ut_file_mappings(
        ut_file_mapping(
          file_name    => '\Temp\UTv3Samples\betwnstr.fnc',
          object_owner => 'MIG',
          object_name  => 'BETWNSTR',
          object_type  => 'FUNCTION'
        )
      )
   );

This works fine and generates the correct html file with coverage for the betwnstr function.
utPLSQL version: 3.0.1
Oracle version: 11.2.0.4.0

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions