My Oracle Support Banner

Error: Fetching array element 1: index is not in range 1 to 0. (180,252) Thrown on Clicking the Tree Icon in Catalog Search While Creating eProcurement Requisition (Doc ID 1598970.1)

Last updated on MARCH 06, 2023

Applies to:

PeopleSoft Enterprise SCM eProcurement - Version 9.2 and later
Information in this document applies to any platform.

Symptoms

PeopleCode error thrown on clicking the tree icon in catalog search while creating eProcurement Requisition. The issue does not replicate if FS_18 is set to SHARE setid.


Error Message:

Fetching array element 1: index is not in range 1 to 0. (180,252) PV_SR_CATLU_WRK.PV_CATTREE_BROWSE.FieldFormula  Name:InitSRCatTree  PCPC:2520  Statement:34
Called from:PV_SR_CATEG_WRK.PV_FIND_IN_TREE_PB.FieldChange  Statement:10

While fetching the value of an array element, the index was not within the  length of the array.



Steps to reproduce the issue:



1. Navigate to eProcurement > Administer Procurement > Maintain Business Units > TableSet Control

2. Take any BU say USxxx and change the set ID of the Record Group ID "FS_18" to USxxx. Ensure Set ID is not XXXX.

3. Create an eProcurement requisition under  BU USxxx and add adhoc item. Navigate to eProcurement > Requisition > Special Request Tab for adding an adhoc item

4. Enter the Item Description and click on Category Look up to search for Category

5. Click Find. System throws a warning message

Message:

No assigned catalog or catalog security enabled. (18036,11515)

Contact Administrator to enable access to required catalogs.

6. Click on OK

7. Click on the Tree Icon under heading Find in Tree

8. The Fetching array element error is thrown


Cause

To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!


In this Document
Symptoms
Cause
Solution
References

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.