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

Skip to content

Commit 576b8ea

Browse files
Fix crash due to null value.
1 parent f992193 commit 576b8ea

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

source/reporters/ut_documentation_reporter.tpb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@ create or replace type body ut_documentation_reporter is
3434
l_out_lines ut_varchar2_rows := ut_varchar2_rows();
3535
begin
3636
if a_clob is not null and dbms_lob.getlength(a_clob) > 0 then
37-
l_lines := ut_utils.clob_to_table(a_clob, ut_utils.gc_max_storage_varchar2_len - length(tab()));
37+
l_lines := ut_utils.clob_to_table(a_clob, ut_utils.gc_max_storage_varchar2_len - length(nvl(tab(),0)));
3838
for i in 1 .. l_lines.count loop
3939
if l_lines(i) is not null then
4040
ut_utils.append_to_list(l_out_lines, tab() || l_lines(i) );

0 commit comments

Comments
 (0)