Skip to content

ORA-22921: length of input buffer is smaller than amount requested #346

Description

@simasmos

When running ut.run() on a separate schema with lots of data, it eventually fails with the following error:

Error starting at line : 1 in command -
begin
ut.run();
end;
Error report -
ORA-22921: length of input buffer is smaller than amount requested
ORA-06512: на  "UT3.UT_RUNNER", line 87
ORA-06512: на  "UT3.UT_RUNNER", line 111
ORA-06512: на  "UT3.UT", line 292
ORA-06512: на  "UT3.UT", line 267
ORA-06512: на  line 2

There are no tests in the code. Trying ut.run() at the schema it's installed on works fine.
Here is dbms_output:

ORA-06512: на  "SYS.DBMS_LOB", line 1146
ORA-06512: на  "UT3.UT_UTILS", line 327
ORA-06512: на  "UT3.UT_METADATA", line 125
ORA-06512: на  "UT3.UT_ANNOTATIONS", line 348
ORA-06512: на  "UT3.UT_SUITE_MANAGER", line 77
ORA-06512: на  "UT3.UT_SUITE_MANAGER", line 288
ORA-06512: на  "UT3.UT_SUITE_MANAGER", line 342
ORA-06512: на  "UT3.UT_SUITE_MANAGER", line 503
ORA-06512: на  "UT3.UT_RUNNER", line 76

As far as I tested it, append_to_clob works alright and gets past some packages in the schema, then suddenly fails with a_src_clob size of 3212 and a_new_data of 75.
I'm not sure if it parses the packages alphabetically, but when I added a test package farther down the schema it failed at a different place.

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