declare vstartDateList dbmssql.datetable; vendDateList dbmssql.datetable;…
- User
declare v_startDateList dbms_sql.date_table; v_endDateList dbms_sql.date_table; v_changeDateList dbms_sql.date_table; begin OAPI_BIS_BACKEND_RTPL_PG.get_subs_rateplans_hist( subscriberId => :subscriberId ,filterRatePlanOrderStatusIds=> '0' ,isFullHistoryAndStorno => :isFullHistoryAndStorno ,ratePlanOrderId => :ratePlanOrderId ,languageId => :languageId ,sortBy => NULL -- out ,ratePlanOrderIdList => :ratePlanOrderIdList ,ratePlanIdList => :ratePlanIdList ,ratePlanNameList => :ratePlanNameList ,startDateList => v_startDateList ,endDateList => v_endDateList ,changeDateList => v_changeDateList ,changeUserList => :changeUserList ,subscriberCommentList => :subscriberCommentList ,ratePlanOrderStatusIdList => :ratePlanOrderStatusIdList ,ratePlanOrderStatusNameList => :ratePlanOrderStatusNameList ); :startDateList := OAPI_BIS_API_BACKEND_UTILS_PG.dateTab2varcharTab(v_startDateList); :endDateList := OAPI_BIS_API_BACKEND_UTILS_PG.dateTab2varcharTab(v_endDateList); :changeDateList := OAPI_BIS_API_BACKEND_UTILS_PG.dateTab2varcharTab(v_changeDateList); end; Caused by: java.sql.SQLException: ORA-06513: PL/SQL: index for PL/SQL table out of range for host language array ORA-06512: at line 8
- Assistant
The error is indicating that there is an issue with the PL/SQL table index being out of range for the host language array. This could be due to a variety of reasons, such as the size of the array being too small compared to the size of the table.
To resolve this issue, you can try increasing the size of the host language array or updating the PL/SQL table index to match the correct range. You can also check if there are any other errors in the code that could be causing this issue. It may be helpful to consult with a developer or DBA for further assistance.
- User
ошибка указывает на строчку ,filterRatePlanOrderStatusIds=> ‘0’
- Assistant
The error message is pointing to the line with the parameter
filterRatePlanOrderStatusIds=> ‘0’. It's possible that the error is caused by an incorrect value being passed for this parameter.Make sure that the value being passed for
filterRatePlanOrderStatusIdsis valid for the procedureget_subs_rateplans_hist. Verify that you are passing an appropriate value for this parameter. IffilterRatePlanOrderStatusIdsis intended to be a PL/SQL table, make sure the table is initialized properly and that there are no empty or null values.You can also check if there are any other errors in the code that could be causing the issue. If the problem persists, it may be helpful to consult with a developer or DBA who can debug the code and identify the root cause of the error.