Skip to content

Invalid parameter value [constant_name] for "--%throws" annotation #1033

Description

@alshib

Hi!
When we modify and recompile test package sometimes we get warnings like this:
"Invalid parameter value "test_blablabla.c_1" for "--%throws" annotation. Parameter ignored."

Provide version info
Information about utPLSQL and Database version,
11.2.0.4.0
11.2.0.4.0

UT_VERSION

v3.1.9.3270
1 row selected.

BANNER

Oracle Database 11g Enterprise Edition Release 11.2.0.4.0 - 64bit Production
PL/SQL Release 11.2.0.4.0 - Production
CORE 11.2.0.4.0 Production
TNS for Linux: Version 11.2.0.4.0 - Production
NLSRTL Version 11.2.0.4.0 - Production

5 rows selected.

PARAMETER

VALUE

NLS_LANGUAGE
AMERICAN

NLS_TERRITORY
CIS

NLS_CURRENCY
р.

NLS_ISO_CURRENCY
CIS

NLS_NUMERIC_CHARACTERS
,

NLS_CALENDAR
GREGORIAN

NLS_DATE_FORMAT

PARAMETER

VALUE

DD.MM.RR

NLS_DATE_LANGUAGE
AMERICAN

NLS_SORT
BINARY

NLS_TIME_FORMAT
HH24:MI:SSXFF

NLS_TIMESTAMP_FORMAT
DD.MM.RR HH24:MI:SSXFF

NLS_TIME_TZ_FORMAT
HH24:MI:SSXFF TZR

NLS_TIMESTAMP_TZ_FORMAT
DD.MM.RR HH24:MI:SSXFF TZR

PARAMETER

VALUE

NLS_DUAL_CURRENCY
р.

NLS_COMP
BINARY

NLS_LENGTH_SEMANTICS
BYTE

NLS_NCHAR_CONV_EXCP
FALSE

17 rows selected.

PORT_STRING

x86_64/Linux 2.4.xx
1 row selected.

Information about client software
TOAD

To Reproduce
add new test in the package (an error does not always occur )
Expected behavior
Tests are working without warnings

Example code
example of package specification:
"create or replace package test_balablabla is
c_1 number := pkg_errors.get_exception_code('err_1_name');
c_2 number := pkg_errors.get_exception_code('err_2_name');
c_n number := pkg_errors.get_exception_code('err_n_name');

-- %suite(blabla)

-- %test
-- %throws(test_balablabla.c_1)
procedure precheck_something;

end;"

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions