When converting from Forms 11 to 12, we have a problem creating the parameter list.The ORA-6502 error occurs at ADD_PARAMETER. The error did not occur in the running application under Forms 11.
Code example:
PA := GET_PARAMETER_LIST('default');
IF not ID_NULL(PA) THEN
destroy_PARAMETER_List(PA);
END IF;
PA := CREATE_PARAMETER_LIST('default');
ADD_PARAMETER(PA, 'VER_ID_NB', TEXT_PARAMETER, '1');
call_form(lower(:global.form), Hide, DO_Replace, NO_QUERY_ONLY, PA);
Does anyone have any ideas?